I get an error compiling dpkg, seems to be an architecture (x86_64) problem.
Any help appreciated.

Thomas

gcc 
-DLOCALEDIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/share/locale\"
 
-DBISON_LOCALEDIR=\"/usr/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/share/locale\"
 
-DUSEJAVA=1 -DUSEJEXE=0 
-DGETTEXTJEXEDIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/lib/gettext\"
 
-DGETTEXTJAR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/share/gettext/gettext.jar\"
 
-DLIBDIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/lib\" 
-DGETTEXTDATADIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/share/gettext\"
 
-DPROJECTSDIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/share/gettext/projects\"
 
-DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib 
-I../gnulib-lib -I../intl -I../../gettext-runtime/intl 
-DINSTALLDIR=\"/sw/src/fink.build/dpkg-1.10.21-1239/dpkg-1.10.21/../_inst/sw/bin\"
 
-I/sw/include  -I/sw/include -c -o xgettext-x-vala.o `test -f 'x-vala.c' 
|| echo './'`x-vala.c
/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 xgettext-x-lua.o xgettext-x-javascript.o 
xgettext-x-vala.o libgettextsrc.la -Wl,-framework -Wl,CoreFoundation 
-lexpat -L/sw/lib -liconv
libtool: link: 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 
xgettext-x-lua.o xgettext-x-javascript.o xgettext-x-vala.o 
-Wl,-framework -Wl,CoreFoundation  -L/sw/lib ./.libs/libgettextsrc.a 
/sw/src/fink.build/dpkg-1.10.21-1239/gettext-0.18.3.1/gettext-tools/gnulib-lib/.libs/libgettextlib.a
 
-lncurses 
/sw/src/fink.build/dpkg-1.10.21-1239/gettext-0.18.3.1/gettext-tools/intl/.libs/libintl.a
 
-lc /usr/local/lib/libexpat.dylib /sw/lib/libiconv.dylib
ld: warning: ignoring file /usr/local/lib/libexpat.dylib, file was built 
for i386 which is not the architecture being linked (x86_64): 
/usr/local/lib/libexpat.dylib
Undefined symbols for architecture x86_64:
   "_XML_ErrorString", referenced from:
       _do_extract_glade in xgettext-x-glade.o
   "_XML_GetCurrentColumnNumber", referenced from:
       _p_XML_GetCurrentColumnNumber in xgettext-x-glade.o
   "_XML_GetCurrentLineNumber", referenced from:
       _p_XML_GetCurrentLineNumber in xgettext-x-glade.o
   "_XML_GetErrorCode", referenced from:
       _do_extract_glade in xgettext-x-glade.o
   "_XML_GetFeatureList", referenced from:
       _is_XML_LARGE_SIZE_ABI in xgettext-x-glade.o
   "_XML_Parse", referenced from:
       _do_extract_glade in xgettext-x-glade.o
   "_XML_ParserCreate", referenced from:
       _do_extract_glade in xgettext-x-glade.o
   "_XML_ParserFree", 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_SetElementHandler", 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[3]: *** [xgettext] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.6w1yQ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-dpkg-1.10.21-1239
(Reading database ... 4549 files and directories currently installed.)
Removing fink-buildlock-dpkg-1.10.21-1239 ...
Failed: phase compiling: dpkg-1.10.21-1239 failed

...

Also include the following system information:
Package manager version: 0.36.3.1
Distribution version: selfupdate-rsync Sat Feb  8 13:15:13 2014, 10.9, 
x86_64
Trees: local/main stable/main
Xcode.app: 5.0.2
Xcode command-line tools: 5.0.1.0.1.1382131676
dpkg-1.10.21-1239 is set to build with only one job.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to