On 6/27/12 12:20 PM, Eduard Karel de Jong wrote:
> 
> After neglecting the fink installation I decided to reinstall fink  on my 
> laptop with OS X 10.7.4 
> 
> I have removed the /sw and /fink directories and downloaded the fink 0.33.1 
> zip file. 
> Running ./bootstrap after cd into the expanded zip file fails  in phase 2, 
> with details below.
> 
> How can I get this going again?
> 
> 
> make  install-am
> /bin/sh ../libtool --tag=CC --mode=link gcc  -I/sw/include  -L/sw/lib -o 
> xgettext  xgettext-xgettext.o xgettext-x-c.o xgettext-x-po.o xgettext-x-sh.o 
> xgettext-x-python.o xgettext-x-lisp.o xgettext-x-elisp.o xgettext-x-librep.o 
> xgettext-x-scheme.o xgettext-x-smalltalk.o xgettext-x-java.o 
> xgettext-x-csharp.o xgettext-x-awk.o xgettext-x-ycp.o xgettext-x-tcl.o 
> xgettext-x-perl.o xgettext-x-php.o xgettext-x-rst.o xgettext-x-glade.o 
> ../libuniname/libuniname.a libgettextsrc.la -Wl,-framework -Wl,CoreFoundation 
> -lexpat 
> libtool: link: warning: library `/lib/libexpat.la' was moved.
> libtool: link: warning: library `/lib/libexpat.la' was moved.
> gcc -I/sw/include -o xgettext xgettext-xgettext.o xgettext-x-c.o 
> xgettext-x-po.o xgettext-x-sh.o xgettext-x-python.o xgettext-x-lisp.o 
> xgettext-x-elisp.o xgettext-x-librep.o xgettext-x-scheme.o 
> xgettext-x-smalltalk.o xgettext-x-java.o xgettext-x-csharp.o xgettext-x-awk.o 
> xgettext-x-ycp.o xgettext-x-tcl.o xgettext-x-perl.o xgettext-x-php.o 
> xgettext-x-rst.o xgettext-x-glade.o -Wl,-framework -Wl,CoreFoundation  
> -L/sw/lib ../libuniname/libuniname.a ./.libs/libgettextsrc.a 
> /sw/src/fink.build/dpkg-1.10.21-1229/gettext-0.14.5/gettext-tools/lib/.libs/libgettextlib.a
>  
> /sw/src/fink.build/dpkg-1.10.21-1229/gettext-0.14.5/gettext-tools/intl/.libs/libintl.a
>  /sw/lib/libiconv.dylib -lc /lib/libexpat.dylib
> ld: warning: ignoring file /lib/libexpat.dylib, file was built for 
> unsupported file format which is not the architecture being linked (x86_64)
> Undefined symbols for architecture x86_64:
>   "_XML_ParserCreate", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_SetElementHandler", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_SetCharacterDataHandler", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_SetCommentHandler", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_Parse", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_GetCurrentLineNumber", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>       _start_element_handler in xgettext-x-glade.o
>   "_XML_GetCurrentColumnNumber", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_GetErrorCode", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_ErrorString", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
>   "_XML_ParserFree", referenced from:
>       _do_extract_glade in xgettext-x-glade.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [xgettext] Error 1
> make[1]: *** [install] Error 2
> make: *** [install-recursive] Error 1
> ### execution of cd failed, exit code 2
> phase compiling: dpkg-1.10.21-1229 failed
> 
> Package manager version: 0.33.1
> Distribution version: selfupdate-point (bootstrap), 10.7, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.3.2
> Xcode command-line tools: 4.3.0.0.1
> Max. Fink build jobs:  1
> 

Get rid of, or at least temporarily rename, the third party 32-bit expat
library in /lib.  It's being picked up by the build process.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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