[squeak-dev] Squeak in FreeBSD
Tobias Pape
Das.Linux at gmx.de
Wed Apr 22 08:04:54 UTC 2020
Hi Edwin, all
> On 09.04.2020, at 16:23, Edwin Ancaer <eancaer at gmail.com> wrote:
>
> Tobias,
> Sorry it took this long to reply, but this mail got sent to a wrong address. I'm used to using Outlook to send mails, and make stupid mistakes with GMAIL from time to time.
>
> Compiling the Cog VM with the correct branch. I have an issue in the B3DAcceleratorPlugin. In the display below, you see I have the file GL/gl.h in /usr/local/include, and it looks as of the Makefile for the plugin did not take
> /usr/local/include as an include library.
>
> clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0 -Wall -pthread -DLSB_FIRST=1 -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -DHAVE_CONFIG_H -DSQUEAK_BUILTIN_PLUGIN -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/spur64src/vm -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/Cross/plugins/FilePlugin -I/usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin -m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label -Wno-unused-function -Wno-unused-variable -c -o sqUnixMain.o /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c
> In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:134:
> In file included from /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/vm/SqDisplay.h:16:
> /usr/home/edwin/Smalltalk5/opensmalltalk-vm/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:13: fatal error: 'GL/gl.h' file not found
> # include <GL/gl.h>
> ^~~~~~~~~
> 1 error generated.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/vm
> *** Error code 1
>
> Stop.
> make: stopped in /usr/home/edwin/Smalltalk5/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
> $ locate GL/gl.h
> /usr/local/include/GL/gl.h
> /usr/local/poudriere/data/.m/1
>
> Thanks again,
So I have had time to look into it.
This commit: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/481/commits/57aad88504923635796e2a17c4b028b1eecf9434
should fix it. (I had hardcoded such a think previously, but this should work…)
If noone opposes, I'll merge this soon.
Best
-tobias
>
> Edwin
>
> Op di 7 apr. 2020 om 22:15 schreef Tobias Pape <Das.Linux at gmx.de>:
>
> > On 06.04.2020, at 19:38, Edwin Ancaer <eancaer at gmail.com> wrote:
> >
> > Tobias,
> >
> > The updates you made solved the script isue. Nice.
> >
> > perl was installed, but in /usr/local/bin. That seems the standard in Freebsd.
> > Looking at it now, I should have found this myself. I was close, but jou beat me to it by a few hours....
> >
> > Now the next hurdle, a linker error. The library libiconv is not linked. I suppose this is because the script is not finding all plug-ins, en libiconv is linker by ons of this. I will now try to bind all plug-ins, and see if the libiconv issue gets solved.
>
> No, the issue is different. I'm onto it :)
>
> Best regards
> -Tobias
>
> >
> > Otherwise, I might need your help again. (I' m afraid this is the more realistic scenario).
> >
> > Thanks Alain towqb9ĺ
> >
> >
> >
> >
> >
> > 9IS/ lot,
> >
> > Edwin,
> >
> >
> >
> >
> > On Mon, 6 Apr 2020, 13:17 Tobias Pape, <Das.Linux at gmx.de> wrote:
> > Dear Edwin
> >
> > > On 06.04.2020, at 09:10, Tobias Pape <Das.Linux at gmx.de> wrote:
> > >
> > > Dear Edwin
> > >
> > >> On 06.04.2020, at 08:40, Edwin Ancaer <eancaer at gmail.com> wrote:
> > >>
> > >>
> > >> It might be useful tho have the FreeBSD version:
> > >> $ uname -a
> > >> FreeBSD ottopedi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
> > >>
> > >> The git version is:
> > >> $ git --version
> > >> git version 2.25.2
> > >>
> > >> As I read some posts about git and the smudge filter, indicating there have been problems with the filter and git-lfs (for downloading large files from git-repository?),
> > >> I installed that too, It did not help anyway.
> > >> $ git-lfs --version
> > >> git-lfs/2.10.0 (GitHub; freebsd amd64; go 1.14.1)
> > >
> > > Firs things first, I can reproduce on a FreeBSD 11.2-RELEASE-p4.
> > > Let me investigate.
> > >
> >
> > Do you have Perl installed?
> > When I try to run the filters manually, I get a different error message:
> >
> > $ .git_filters/RevDateURL.clean
> > zsh: .git_filters/RevDateURL.clean: bad interpreter: /usr/bin/perl: no such file or directory
> > zsh: exit 127 .git_filters/RevDateURL.clean
> > $ which perl
> > /usr/local/bin/perl
> >
> >
> > So, I think, since /usr/bin/env is nearly everywhere, can you try with commit e8d286f96 (just pushed).
> >
> > HTH
> >
> > Best regards
> >
> >
> > -Tobias
> >
> >
> >
> >
>
>
>
>
More information about the Squeak-dev
mailing list
|