From: Brent A. <br...@co...> - 2010-01-07 17:04:29
|
Well, I re-ran config then gmake and it's not the same output as before but here's what I get: brent-austins-mac-pro:~ brent1a$ cd /Mesa-7.7 brent-austins-mac-pro:Mesa-7.7 brent1a$ sudo ./configure Password: checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gmake... gmake checking for makedepend... /opt/local/bin/makedepend checking for sed... /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to enable assembly... no, platform not supported checking for gcc option to produce PIC... -fno-common checking for dlopen... yes checking for posix_memalign... yes checking pkg-config files for X11 are available... yes checking for XLIBGL... yes checking for EGL... yes checking for GLW... yes configure: creating ./config.status config.status: creating configs/autoconf config.status: executing configs commands prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include Driver: xlib OSMesa: libOSMesa Use XCB: no Gallium: yes Gallium dirs: auxiliary drivers state_trackers Winsys dirs: xlib Winsys drm dirs: Auxiliary dirs: rbug draw translate cso_cache pipebuffer tgsi sct rtasm util indices vl Driver dirs: softpipe failover trace identity svga i915 Trackers dirs: glx Shared libs: yes Static libs: no EGL: yes GLU: yes GLw: yes (Motif: no) glut: no Demos: no CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-common Macros: -DHAVE_POSIX_MEMALIGN -DUSE_XSHM Run 'gmake' to build Mesa brent-austins-mac-pro:Mesa-7.7 brent1a$ gmake gmake[1]: Entering directory `/Mesa-7.7/src' Making sources for autoconf gmake[2]: Entering directory `/Mesa-7.7/src/mesa' gmake[3]: Entering directory `/Mesa-7.7/src/mesa/drivers' gmake[4]: Entering directory `/Mesa-7.7/src/mesa/drivers/x11' gmake[4]: Nothing to be done for `default'. gmake[4]: Leaving directory `/Mesa-7.7/src/mesa/drivers/x11' gmake[4]: Entering directory `/Mesa-7.7/src/mesa/drivers/osmesa' gmake[4]: Nothing to be done for `default'. gmake[4]: Leaving directory `/Mesa-7.7/src/mesa/drivers/osmesa' gmake[3]: Leaving directory `/Mesa-7.7/src/mesa/drivers' gmake[2]: Leaving directory `/Mesa-7.7/src/mesa' gmake[2]: Entering directory `/Mesa-7.7/src/egl' gmake[3]: Entering directory `/Mesa-7.7/src/egl/main' /bin/sh ../../../bin/mklib -o EGL -linker 'gcc' -ldflags '' \ -major 1 -minor 0 \ -install ../../../lib \ -L/opt/local/lib -lX11 -lXau -lXdmcp eglapi.o eglconfig.o eglconfigutil.o eglcontext.o eglcurrent.o egldisplay.o egldriver.o eglglobals.o egllog.o eglmisc.o eglmode.o eglscreen.o eglstring.o eglsurface.o mklib: Making Darwin shared library: libEGL.1.0.dylib mklib: Installing libEGL.1.0.dylib libEGL.1.dylib libEGL.dylib in ../../../lib override rwxr-xr-x root/staff for ../../../lib/libEGL.1.0.dylib? (y/n [n]) y mv: rename libEGL.1.0.dylib to ../../../lib/libEGL.1.0.dylib: Permission denied override rwxr-xr-x root/staff for ../../../lib/libEGL.1.dylib? (y/n [n]) y mv: rename libEGL.1.dylib to ../../../lib/libEGL.1.dylib: Permission denied override rwxr-xr-x root/staff for ../../../lib/libEGL.dylib? (y/n [n]) y mv: rename libEGL.dylib to ../../../lib/libEGL.dylib: Permission denied gmake[3]: *** [../../../lib/libEGL.so] Error 1 gmake[3]: Leaving directory `/Mesa-7.7/src/egl/main' gmake[2]: *** [subdirs] Error 1 gmake[2]: Leaving directory `/Mesa-7.7/src/egl' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/Mesa-7.7/src' gmake: *** [default] Error 1 END On Jan 7, 2010, at 9:44 AM, Brian Paul wrote: > Brent Austin wrote: >> I'm attempting to build mesa 7.6.1 then 7.7 on OS X 10.6.2 and it fails both builds with the same errors: >> …….SNIP……… >> collect2: ld returned 1 exit status >> mklib: Installing libdemodriver.so.1.0.dylib libdemodriver.so.1.dylib libdemodriver.so.dylib in ../../../../lib >> mv: rename libdemodriver.so.1.0.dylib to ../../../../lib/libdemodriver.so.1.0.dylib: No such file or directory >> gmake[4]: *** [../../../../lib/demodriver.so] Error 1 >> gmake[4]: Leaving directory `/Mesa-7.6-1.1/src/egl/drivers/demo' >> gmake[3]: *** [subdirs] Error 1 >> gmake[3]: Leaving directory `/Mesa-7.6-1.1/src/egl/drivers' >> gmake[2]: *** [subdirs] Error 1 >> gmake[2]: Leaving directory `/Mesa-7.6-1.1/src/egl' >> gmake[1]: *** [subdirs] Error 1 >> gmake[1]: Leaving directory `/Mesa-7.6-1.1/src' >> gmake: *** [default] Error 1 >> …….SNIP……… >> collect2: ld returned 1 exit status >> mklib: Installing libdemodriver.so.1.0.dylib libdemodriver.so.1.dylib libdemodriver.so.dylib in ../../../../lib >> mv: rename libdemodriver.so.1.0.dylib to ../../../../lib/libdemodriver.so.1.0.dylib: No such file or directory >> gmake[4]: *** [../../../../lib/demodriver.so] Error 1 >> gmake[4]: Leaving directory `/Mesa-7.7/src/egl/drivers/demo' >> gmake[3]: *** [subdirs] Error 1 >> gmake[3]: Leaving directory `/Mesa-7.7/src/egl/drivers' >> gmake[2]: *** [subdirs] Error 1 >> gmake[2]: Leaving directory `/Mesa-7.7/src/egl' >> gmake[1]: *** [subdirs] Error 1 >> gmake[1]: Leaving directory `/Mesa-7.7/src' >> gmake: *** [default] Error 1 > > I'd like to see the commands leading up to the "collect2: ld returned 1 exit status" line. > > -Brian |