I am trying to build the unix sources for this project, exactly following the
Is it me or is the documentation of the build process not up to date? Looking forward to your help! — |
The instructions in HowToBuildFromSources are for the old squeakvm. For Cog, use the mvm script under the various build directories based on platform/wordsize/ISA and then product/interpreter/object-memory. Here you will find the plugins.int and plugins.ext files. Now choose the build directory for your build variant (production, assert, debug etc.). Example, $ cd build.linux64x64/squeak.cog.spur/build — |
In reply to this post by David T Lewis
Thank you very much for your help, Subbu. So now I ran exactly your two commands, but first, the build failed because it was missing sudo apt-get -y install clang However, after installing clang and trying again, the build still fails. The output contains the following errors:
Could you tell me where I can get the — |
In reply to this post by David T Lewis
On 12/06/20 8:35 pm, Christoph Thiede wrote: > Thank you very much for your help, Subbu. So now I ran exactly your two > commands, but first, the build failed because it was missing |clang|. Do > I assume correctly that the following dependency should be mentioned > anywhere in the repository? > > sudo apt-get -y install clang I haven't used clang. I use the gcc toolchain. Sorry > > * > > |error: unknown warning option '-Wno-unused-but-set-variable'; did > you mean '-Wno-unused-const-variable'? > [-Werror,-Wunknown-warning-option] | gcc has the unused-but-set-variable warning that gets suppressed with that flag. See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html If you use clang, you will have to find the equivalent. > fatal error: 'GL/gl.h' file not found # include <GL/gl.h> ^~~~~~~~~ This is found in mesa-common-dev package which gets install automatically as a dependency for libgl1-mesa-dev. > > * Additionally, I am getting a large number of 177 warnings, which are > probably not so important? If I were you, I would scan through the warnings on 64b compile just to make sure I am not missing anything important. Both int and pointer were 32b on 32b compile so one could force a pointer into int. But a pointer is 64b on 64bit compiles. Storing a pointer into a int is problematic. Regards .. Subbu — |
In reply to this post by David T Lewis
Hi Subbu, thank you again! After installing My questions are resolved so far, but I believe that further people could benefit from the exact documentation of the necessary dependencies:
Which exact packages do I have to install? The I just read the — |
In reply to this post by David T Lewis
Am Fr., 12. Juni 2020 um 18:24 Uhr schrieb kksubbu <[hidden email]>: On 12/06/20 8:35 pm, Christoph Thiede wrote: Does the configure script not check for the presence of the OpenGL headers? |
In reply to this post by David T Lewis
Am I just talking to an intelligent bot? :-) No, at least I did not found an error referring to this particular problem. — |
In reply to this post by David T Lewis
That was me, replying to the mailing list. ;-) — |
In reply to this post by David T Lewis
Ah, the bot should mention this :-) — |
In reply to this post by David T Lewis
On 12/06/20 11:21 pm, Christoph Thiede wrote: > Which exact packages do I have to install? I just installed the packages listed in the apt-get line in the HowToBuild document. > |platforms/unix/config/configure| script requires |clang| to be > installed as noted above. At the moment I have installed |gcc (Ubuntu > 7.5.0-3ubuntu1~18.04) 7.5.0| and |clang version 6.0.0-1ubuntu2 > (tags/RELEASE_600/final)|, but that clang version does not understand > the |no-unused-but-set-variable| flag. Could you maybe refer to a > specific package? :-) I did not run the configure script (too lazy ;-). I used the script in $ cd build.linux64x64/squeak.cog.spur/build && ./mvm I haven't faced this problem with the W flag. gcc's description of the warning suppression flags are in: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html If this flag is not there in clang, perhaps you could try compiling without using it in CFLAGS. HTH .. Subbu |
In reply to this post by David T Lewis
Can we close this issue now? — |
In reply to this post by David T Lewis
@eliotmiranda My concrete problem was resolved, but it might be helpful for others to add some exact documentation of the dependencies needed for the build without using cygwin. Feel free to close if you think this is not important. :-) — |
Free forum by Nabble | Edit this page |