Opened 15 years ago

Closed 15 years ago

#20944 closed defect (invalid)

mesa build failure on Snow Leopard

Reported by: mf2k (Frank Schima) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: anddam (Andrea D'Amore)
Port: mesa

Description

Mac OS X 10.6.0. Xcode 3.2.

--->  Building mesa
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_mports_trunk_dports_x11_mesa/work/Mesa-7.4.3/../AppleSGLX-57 && /usr/bin/make builds/libGL.1.2.dylib INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 LDFLAGS='-L/opt/local/lib' CFLAGS='-I/opt/local/include -O2' INSTALL_DIR='/opt/local'" returned error 2
Command output: tclsh8.5 gen_code.tcl
TYPES
DEFS
FUNCS
HEADER
C API
EXPORTS
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_glx.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c pixel.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c compsize.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_visual.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_cgl.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c glxreply.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c glcontextmodes.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_xgl_api.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_glx_drawable.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c xfont.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_glx_pbuffer.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_glx_pixmap.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_xgl_api_read.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c glx_empty.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c glx_error.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_xgl_api_viewport.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_glx_surface.c
/usr/bin/gcc-4.2 -I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -I/opt/local/include -I/opt/local/include -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -c apple_xgl_api_stereo.c
if ! test -d builds; then mkdir builds; fi
/usr/bin/gcc-4.2 -Wall -ggdb3 -Os -DPTHREADS -D_REENTRANT -DPUBLIC=""  -I/opt/local/include -O2 -o builds/libGL.1.2.dylib -dynamiclib -install_name /opt/local/lib/libGL.1.dylib -compatibility_version 1.2 -current_version 1.2 -lXplugin -framework ApplicationServices -framework CoreFoundation -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -Wl,-single_module -lXext -lX11 -Wl,-exported_symbols_list,exports.list glxext.o glxcmds.o glx_pbuffer.o glx_query.o glxcurrent.o glxextensions.o appledri.o apple_glx_context.o apple_glx.o pixel.o compsize.o apple_visual.o apple_cgl.o glxreply.o glcontextmodes.o apple_xgl_api.o apple_glx_drawable.o xfont.o apple_glx_pbuffer.o apple_glx_pixmap.o apple_xgl_api_read.o glx_empty.o glx_error.o apple_xgl_api_viewport.o apple_glx_surface.o apple_xgl_api_stereo.o
ld: library not found for -lXplugin
collect2: ld returned 1 exit status
make: *** [builds/libGL.1.2.dylib] Error 1

Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

You de-selected X11 when installing SnowLeopard. Your bad. Install it off your DVD to get libXplugin.dylib

Note: See TracTickets for help on using tickets.