Re: Error in java/eclipse 4.33 build
- In reply to: Ronald Klop : "Re: Error in java/eclipse 4.33 build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 11:54:30 UTC
No - for my local run I installed from packages not from ports - just eclipse as port for testing... I installed following binary packages: # pkg install openjdk17 maven39 gmake git py311-setuptools pkgconf libsecret bsddialog webkit2-gtk3 bison :-) On 10/24/24 11:51, Ronald Klop wrote: > Do you have this installed locally? > > /usr/ports/graphics/libGLU > > Regards, > Ronald. > > *Van:* Norbert Grundmann <ngrundmann@gmx.de> > *Datum:* donderdag, 24 oktober 2024 13:47 > *Aan:* FreeBSD Mailing List <freebsd-ports@freebsd.org> > *Onderwerp:* Error in java/eclipse 4.33 build > > Hello, > > today I got a freebsd package failure in the build of eclipse 4.33 > on amd64 for relases 13.3 and 14.1... the error is this: > > ... > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx.c > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx_structs.c > [INFO] [exec] cc -O -Wall -fPIC -DSWT_VERSION=4966r5 -DGTK -I/usr/local/openjdk17/include -DFREEBSD -Wno-deprecated-non-prototype -I`pkg-config --variable=prefix gtk+-3.0`/include -I/usr/local/openjdk17/include/freebsd -Werror -c glx_stats.c > [INFO] [exec] cc -shared -fPIC -L`pkg-config --variable=prefix gtk+-3.0`/lib -s -o libswt-glx-gtk-4966r5.so swt.o glx.o glx_structs.o glx_stats.o -lGL*-lGLU* -lm > [INFO] [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-build-temp' > [INFO] [exec] *** GTK3 Build failed, aborting further actions.. > *[INFO] [exec] ld: error: unable to find library -lGLU* > [INFO] [exec] cc: error: linker command failed with exit code 1 (use -v to see invocation) > [INFO] [exec] gmake[1]: *** [make_unix.mak:245: libswt-glx-gtk-4966r5.so] Error 1 > ... > > The bold line is the error - it cannot find -lGLU. What does it > mean? in Makefile I use: > > BUILD_DEPENDS= git:devel/git \ > mvn:devel/maven39 \ > zip:archivers/zip > LIB_DEPENDS= libsecret-1.so:security/libsecret \ > libwebkit2gtk-4.0.so:www/webkit2-gtk3 > USES= compiler:c++17-lang gmake pkgconfig gnome > USE_GNOME= gtk30 > USE_JAVA= 17+ > > do I have to change settings? > > by the way: I run a manual make succesfully on 14.1-RELEASE-p5 in > /usr/port/java/eclipse on my PC :-) > > many thanks and have a nice day :-) Norbert > > -- > Norbert Grundmann > > I love penguins at the south pole, > windows in my house and apples on my tree, > but not in my computer > > -- Norbert Grundmann I love penguins at the south pole, windows in my house and apples on my tree, but not in my computer