-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/15/12 2:35 AM, Shih-Kai Chou wrote:
> Hello, The following is the problem I encounter:
> 
> 
> sudo fink install mesa

(you don't need "sudo" before "fink")

> 
> The following package will be installed or updated: mesa The
> following additional package will be installed: mesa-shlibs Do you
> want to continue? [Y/n] y Setting runtime build-lock... dpkg-deb -b
> /sw/src/fink.build/root-fink-buildlock-mesa-7.0.2-2 
> /sw/src/fink.build dpkg-deb: building package
> `fink-buildlock-mesa-7.0.2-2' in 
> `/sw/src/fink.build/fink-buildlock-mesa-7.0.2-2_2012.01.15-14.25.55_darwin-x86_64.deb'.
>
> 
Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-mesa-7.0.2-2_2012.01.15-14.25.55_darwin-x86_64.deb
>
> 
Selecting previously deselected package fink-buildlock-mesa-7.0.2-2.
> (Reading database ... 141876 files and directories currently
> installed.) Unpacking fink-buildlock-mesa-7.0.2-2 (from 
> .../fink-buildlock-mesa-7.0.2-2_2012.01.15-14.25.55_darwin-x86_64.deb)
> ... Setting up fink-buildlock-mesa-7.0.2-2 (2012.01.15-14.25.55)
> ...
> 
> bzip2 -dc /sw/src/MesaLib-7.0.2.tar.bz2 | /sw/bin/tar -xf - 
> --no-same-owner --no-same-permissions bzip2 -dc
> /sw/src/MesaGLUT-7.0.2.tar.bz2 | /sw/bin/tar -xf - --no-same-owner
> --no-same-permissions [ -r
> /sw/fink/dists/stable/main/finkinfo/graphics/mesa.patch ] sed
> 's,@PREFIX@,/sw,g' < 
> /sw/fink/dists/stable/main/finkinfo/graphics/mesa.patch | patch
> -p1 patching file Makefile patching file bin/mklib make darwin (cd
> configs && rm -f current && ln -s darwin current) make default 
> mkdir ../lib Making sources for darwin
> 
> These are the last two lines: (all of them are like these: compile
> with "cc" and the next line is -no-cpp-...) cc -c -I../../include
> -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi
> -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader
> -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang
> -I../../src/mesa/swrast -I../../src/mesa/swrast_setup
> -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math
> -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic
> -Ddarwin -fno-strict-aliasing drivers/osmesa/osmesa.c -o
> drivers/osmesa/osmesa.o
> 
> 
> mklib: Making Darwin shared library:  libOSMesa.6.5.dylib cc
> -dynamiclib -multiply_defined suppress
> -headerpad_max_install_names -current_version 6.5.0
> -compatibility_version 6.5.0 -install_name 
> /sw/lib/mesa/libOSMesa.6.dylib  -o libOSMesa.6.5.dylib 
> drivers/osmesa/osmesa.o  -L../../lib -lGL ld: library not found for
> -lGL collect2: ld returned 1 exit status mklib: Installing
> libOSMesa.6.5.dylib libOSMesa.6.dylib libOSMesa.dylib in ../../lib 
> mv: rename libOSMesa.6.5.dylib to ../../lib/libOSMesa.6.5.dylib: No
> such file or directory make[4]: *** [../../lib/libOSMesa.dylib]
> Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: ***
> [default] Error 2 make[2]: *** [subdirs] Error 1 make[1]: ***
> [default] Error 1 make: *** [darwin] Error 2 ### execution of make
> failed, exit code 2 Removing runtime build-lock... Removing
> build-lock package... /sw/bin/dpkg-lockwait -r
> fink-buildlock-mesa-7.0.2-2 (Reading database ... 141877 files and
> directories currently installed.) Removing
> fink-buildlock-mesa-7.0.2-2 ... Failed: phase compiling:
> mesa-7.0.2-2 failed
> 
> 
> Package manager version: 0.31.99.cvs

I recommend _not_ using a CVS checkout for "fink" because you don't
get updates automatically when you do that (and we no longer even use
CVS for the fink tool, so you are actually _behind_ the current release):

fink install fink-0.31.6-51
sudo rm -rf /sw/fink/debs/fink-0.31.99*
sudo rm -rf /sw/fink/10.4/local/injected/fink-0.31.99*

> Distribution version: selfupdate-rsync Sat Jan  7 01:14:27 2012,
> 10.6, x86_64 Trees: local/main stable/main stable/crypto Xcode:
> 3.2.6
> 
> 
> Thinks
> 
> 

Try using "fink configure" to set your maximum number of build
processors to 1.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8S0nAACgkQB8UpO3rKjQ/U3ACgjjaLM8kxtRb9xMR6l7WIDF6U
DCUAn2ofn7z54F38WmuOqHNbXgxRb7GH
=GGTJ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to