mesa universal

Payam Minoofar payam.minoofar at meissner.com
Mon Dec 7 09:10:08 PST 2009


When I tried upgrading win-devel this morning, port said that I need to build libGL.dylib as universal in order to upgrade wine-devel. 

libGL.dylib is pat of mesa. So, I executed

sudo port install mesa +universal

and I got this error during the build process. I hope the solution is easy.

Thanks.
__________________
Payam Minoofar, Ph.D.
Scientist
Meissner Filtration Products
4181 Calle Tesoro
Camarillo, CA 93012
+1 805 388 9911 ext. 159
+1 805 388 5948 fax
payam.minoofar at meissner.com

--->  Building mesa
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.6" && /usr/bin/make -j2 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 RC_CFLAGS="-arch x86_64 -arch i386" " returned error 2
Command output: /usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_swap.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_swidth.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_tablet.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_teapot.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_tr10.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_tr24.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_util.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_vidresize.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_warp.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_win.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  glut_winmisc.c
/usr/bin/gcc-4.2 -c -I../../../include  -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC -arch x86_64 -arch i386  -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING  layerutil.c
/bin/sh ../../../bin/mklib -o glut -linker '/usr/bin/gcc-4.2' -ldflags '' \
		-major 3 -minor 7 -patch 1 \
		 -install ../../../lib \
		-id /opt/local/lib/libglut.3.dylib \
		-L../../../lib -lGLU -lGL  -L/opt/local/lib -L/opt/local/lib -lX11 -lXmu -lXi -lXext glut_8x13.o glut_9x15.o glut_bitmap.o glut_bwidth.o glut_cindex.o glut_cmap.o glut_cursor.o glut_dials.o glut_dstr.o glut_event.o glut_ext.o glut_fcb.o glut_fullscrn.o glut_gamemode.o glut_get.o glut_glxext.o glut_hel10.o glut_hel12.o glut_hel18.o glut_init.o glut_input.o glut_joy.o glut_key.o glut_keyctrl.o glut_keyup.o glut_menu.o glut_menu2.o glut_mesa.o glut_modifier.o glut_mroman.o glut_overlay.o glut_ppm.o glut_roman.o glut_shapes.o glut_space.o glut_stroke.o glut_swap.o glut_swidth.o glut_tablet.o glut_teapot.o glut_tr10.o glut_tr24.o glut_util.o glut_vidresize.o glut_warp.o glut_win.o glut_winmisc.o layerutil.o
mklib: Making Darwin shared library:  libglut.3.7.dylib
ld: warning: in /opt/local/lib/libXmu.dylib, file is not of required architecture
Undefined symbols:
  "_XmuLookupStandardColormap", referenced from:
      ___glutSetupColormap in glut_cmap.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cchYny2l.out (No such file or directory)
mklib: Installing libglut.3.7.dylib libglut.3.dylib libglut.dylib in ../../../lib
mv: rename libglut.3.7.dylib to ../../../lib/libglut.3.7.dylib: No such file or directory
make[2]: *** [../../../lib/libglut.dylib] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

Error: Status 1 encountered during processing.



More information about the macports-users mailing list