[MacPorts] #18731: glw: missing dependency on libGL
MacPorts
noreply at macports.org
Mon Mar 2 18:10:39 PST 2009
#18731: glw: missing dependency on libGL
------------------------------+---------------------------------------------
Reporter: css@… | Owner: css@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: glw
------------------------------+---------------------------------------------
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?
--
Ticket URL: <http://trac.macports.org/ticket/18731>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list