I am trying to update wip/golly to the latest version, and it seems it needs to be updated to use x11/wxGTK32. I fixed 2 build errors I encountered in wxGTK32 (see below). But I still see a problem with golly where symbols from (I think) MesaLib are not found. Since these are reported for wx libraries, I think the problem is in there somehow. But adding graphics/MesaLib/buildlink3.mk like for the other cases doesn't seem to help. Anybody has an idea? I am using PREFER.glu=pkgsrc, which may explain the need for glu/buildlink3.mk, but not the other things, I expect. ========================================= About x11/wxGTK32: ========================================= Add multimedia/gst-plugins1-base/buildlink3.mk to fix this error: [ 81%] Building CXX object libs/media/CMakeFiles/wxmedia.dir/__/__/src/unix/mediactrl_gstplayer.cpp.o /tmp/pkgsrc/x11/wxGTK32/default/wxWidgets-3.2.0/src/unix/mediactrl_gstplayer.cpp:34:10: fatal error: gst/player/player.h: No such file or directory #include <gst/player/player.h> // main gstreamer player header ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. --- libs/media/CMakeFiles/wxmedia.dir/__/__/src/unix/mediactrl_gstplayer.cpp.o --- *** [libs/media/CMakeFiles/wxmedia.dir/__/__/src/unix/mediactrl_gstplayer.cpp.o] Error code 1 make[2]: stopped in /tmp/pkgsrc/x11/wxGTK32/default/wxWidgets-3.2.0 1 error Add graphics/glu/buildlink3.mk to fix this error: [ 86%] Linking CXX shared library ../../lib/libwx_gtk3u_gl-3.2.so /usr/bin/ld: cannot find -lGLU /usr/bin/ld: cannot find -lGLU collect2: error: ld returned 1 exit status --- lib/libwx_gtk3u_gl-3.2.so.0.0.0 --- *** [lib/libwx_gtk3u_gl-3.2.so.0.0.0] Error code 1 make[2]: stopped in /tmp/pkgsrc/x11/wxGTK32/default/wxWidgets-3.2.0 1 error ========================================= About wip/golly: ========================================= g++ -DVERSION=4.2 -DGOLLYDIR="/usr/pkg/share/golly" -D_FILE_OFFSET_BITS=64 -D_LA RGE_FILES -I../gollybase -O3 -Wall -Wno-non-virtual-dtor -fno-strict-aliasing -O 2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include /python3.9 -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/pkg/include/libdr m -I/usr/pkg/include/wx-3.2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-u nix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/ include/harfbuzz -DENABLE_SOUND -o ../golly ObjGTK/bigint.o ObjGTK/lifealgo.o Ob jGTK/hlifealgo.o ObjGTK/hlifedraw.o ObjGTK/qlifealgo.o ObjGTK/qlifedraw.o ObjGTK /ltlalgo.o ObjGTK/ltldraw.o ObjGTK/jvnalgo.o ObjGTK/ruletreealgo.o ObjGTK/ruletable_algo.o ObjGTK/ruleloaderalgo.o ObjGTK/ghashbase.o ObjGTK/ghashdraw.o ObjGTK/readpattern.o ObjGTK/writepattern.o ObjGTK/liferules.o ObjGTK/util.o ObjGTK/liferender.o ObjGTK/viewport.o ObjGTK/lifepoll.o ObjGTK/generationsalgo.o ObjGTK/superalgo.o ObjGTK/wxutils.o ObjGTK/wxprefs.o ObjGTK/wxalgos.o ObjGTK/wxrule.o ObjGTK/wxinfo.o ObjGTK/wxhelp.o ObjGTK/wxstatus.o ObjGTK/wxview.o ObjGTK/wxoverlay.o ObjGTK/wxrender.o ObjGTK/wxscript.o ObjGTK/wxlua.o ObjGTK/wxperl.o ObjGTK/wxpython.o ObjGTK/wxfile.o ObjGTK/wxedit.o ObjGTK/wxcontrol.o ObjGTK/wxtimeline.o ObjGTK/wxundo.o ObjGTK/wxselect.o ObjGTK/wxlayer.o ObjGTK/wxmain.o ObjGTK/wxgolly.o ../lua/liblua.a \ -Wl,--as-needed -Wl,-rpath,'$ORIGIN/.local/lib' -L/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.4.0 -Wl,-R/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.4.0 -Wl,-zrelro -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lz `wx-config-3.2 --libs gl` -lGL -lGLU `wx-config-3.2 --libs` -lSDL2 /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglChooseConfig' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglSwapBuffers' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglGetCurrentContext' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglQueryString' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglCreateContext' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglGetDisplay' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglMakeCurrent' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglDestroyContext' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglCreatePlatformWindowSurface' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_core-3.2.so: undefined reference to `_oss_ioctl' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglGetPlatformDisplay' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglDestroySurface' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglBindAPI' /usr/bin/ld: /tmp/pkgsrc/wip/golly/default/.buildlink/lib/libwx_gtk3u_gl-3.2.so: undefined reference to `eglInitialize' collect2: error: ld returned 1 exit status -Olaf. -- ___ "Buying carbon credits is a bit like a serial killer paying someone else to \X/ have kids to make his activity cost neutral." -The BOFH falu.nl@rhialto
Attachment:
signature.asc
Description: PGP signature