Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18731 closed defect (fixed)

glw: missing dependency on libGL

Reported by: cssdev Owned by: cssdev
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 (3)

comment:1 Changed 15 years ago by cssdev

Status: newassigned

r47653 adds mesa as a dependecy.

comment:2 Changed 15 years ago by cssdev

Resolution: fixed
Status: assignedclosed

Closing this ticket, since the fix seems to work!

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.