I re-installed XCode with 4.0 version. It could work now.
But I still need to figure out how to build it under XCode 4.2.
Thank you so much~~
On Tue, Dec 13, 2011 at 10:19 AM, Alexander Hansen <
alexanderk.han...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/8/11 12:23 AM, Yu Wu (吴俣) wrote:
> > Hi, all: I tried to use fink to install libimobiledevice, but
> > failed since it was failed to install the dependency
> > "gettext-tools". My commands were: $ fink selfupdate $ fink install
> > libimobiledevice
> >
> > The error message is: gcc -std=gnu99 -g -O2 -o .libs/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 ./.libs/libgettextsrc.dylib
> >
> /sw/src/fink.build/gettext-tools-0.17-18/gettext-0.17/gettext-tools/gnulib-lib/.libs/libgettextlib.dylib
> >
> >
> - -lncurses
> >
> /sw/src/fink.build/gettext-tools-0.17-18/gettext-0.17/gettext-tools/intl/.libs/libintl.dylib
> >
> >
> /sw/lib/libiconv.dylib -lc /sw/lib/libexpat.dylib
> > ld: in xgettext-xgettext.o, could not parse object file
> > xgettext-xgettext.o: Malformed metadata record for architecture
> > i386 collect2: ld returned 1 exit status make[3]: *** [xgettext]
> > Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive]
> > Error 1 make: *** [all] Error 2 ### execution of cd failed, exit
> > code 2 Removing runtime build-lock... Removing build-lock
> > package... /sw/bin/dpkg-lockwait -r
> > fink-buildlock-gettext-tools-0.17-18 (Reading database ... 6440
> > files and directories currently installed.) Removing
> > fink-buildlock-gettext-tools-0.17-18 ... Failed: phase compiling:
> > gettext-tools-0.17-18 failed
> >
> > Before reporting any errors, please run "fink selfupdate" and try
> > again. If you continue to have issues, please check to see if the
> > FAQ on Fink's website solves the problem. If not, ask on one of
> > these mailing lists:
> >
> > The Fink Users List <fink-users@lists.sourceforge.net
> > <mailto:fink-users@lists.sourceforge.net>> The Fink Beginners List
> > <fink-beginn...@lists.sourceforge.net
> > <mailto:fink-beginn...@lists.sourceforge.net>>.
> >
> > Please try to include the complete error message in your report.
> > This generally consists of a compiler line starting with e.g. "gcc"
> > or "g++" followed by the actual error output from the compiler.
> >
> > Also include the following system information: Package manager
> > version: 0.31.5 Distribution version: selfupdate-rsync Thu Dec 8
> > 12:58:17 2011, 10.6, i386 Trees: local/main stable/main Xcode: 4.2
> >
> > The whole output is in the attachement.
> >
>
> It looks like the gettext-tools package doesn't build using
> llvm-gcc--I get the same thing on 10.7/Xcode 4.2 when building with
> llvm instead of clang.
>
>
> I'll forward this message on to the Fink Core Team. I don't have
> access to 10.6/Xcode 4.2, so I can't test out a fix.
>
> - --
> 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/
>
> iEYEARECAAYFAk7mthcACgkQB8UpO3rKjQ+o9wCfQWmthkp8i+1z9CMXbRhZiQu8
> /YYAn20NMr4mZfu+JwT5Jqe12gcPPKef
> =q9zC
> -----END PGP SIGNATURE-----
>
--
Best wishes.
Yu Wu (吴俣)
This email may be confidential or privileged. If you received this
communication by mistake, please don't forward it to anyone else, please
erase all copies and attachments, and please let me know that it went to
the wrong person. Thanks.
此邮件可能含有机密信息并受法律保护。 如果您错误地收到此邮件,
请不要转发给任何人,请立即将此邮件所有的副本、包括其全部附件彻底删除,并请告知发件人此邮件被发至错误的收件人。谢谢。
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users