Ticket #18731 (closed defect: fixed)
glw: missing dependency on libGL
| Reported by: | css@… | Owned by: | css@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | glw |
Description
The glw port does not declare a build dependency on libGL. On MacOS X 10.5.6 Intel, I encountered the following error:
---> Building glw /bin/sh ../../bin/mklib -o GLw -linker '/usr/bin/gcc-4.0' -ldflags '-L/opt/local/lib' \ -major 1 -minor 0 -patch 0 \ -install ../../lib \ -id /opt/local/lib/libGLw.1.dylib \ -L../../lib -lGL -lXm -L/opt/local/lib -lXt -lX11 -lSM -lXau -lXdmcp -lICE GLwDrawA.o GLwMDrawA.o mklib: Making Darwin shared library: libGLw.1.0.dylib ld: library not found for -lGL collect2: ld returned 1 exit status mklib: Installing libGLw.1.0.dylib libGLw.1.dylib libGLw.dylib in ../../lib mv: rename libGLw.1.0.dylib to ../../lib/libGLw.1.0.dylib: No such file or directory make: *** [../../lib/libGLw.dylib] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_Shared_macports_dports_x11_glw/work/Mesa-7.2/src/glw" && make " returned error 2 Command output: /bin/sh ../../bin/mklib -o GLw -linker '/usr/bin/gcc-4.0' -ldflags '-L/opt/local/lib' \ -major 1 -minor 0 -patch 0 \ -install ../../lib \ -id /opt/local/lib/libGLw.1.dylib \ -L../../lib -lGL -lXm -L/opt/local/lib -lXt -lX11 -lSM -lXau -lXdmcp -lICE GLwDrawA.o GLwMDrawA.o mklib: Making Darwin shared library: libGLw.1.0.dylib ld: library not found for -lGL collect2: ld returned 1 exit status mklib: Installing libGLw.1.0.dylib libGLw.1.dylib libGLw.dylib in ../../lib mv: rename libGLw.1.0.dylib to ../../lib/libGLw.1.0.dylib: No such file or directory make: *** [../../lib/libGLw.dylib] Error 1
This worked prior to the change to rely on the MacPorts xorg port, so I think it's just a matter of declaring that we need to install Mesa if not using Apple X11?
Change History
Note: See
TracTickets for help on using
tickets.


r47653 adds mesa as a dependecy.