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

On 4/27/11 4:16 PM, J Helffrich wrote:
> Hi, I have fink installed on an Intel Macbook Pro running OSX 10.6.7. 
> Last week, while trying to update my python install I found update-all
> wasn't working.  Now that I have some time to check it out, it seems to
> be stuck on perl5 updating, or maybe it is gcc4.0?:

It's perl588, as can be seen at the end of the output you've posted.

> 
> ---snip `sh  cflags "optimize='-O3'" globals.o`  globals.c
>         CCCMD =  gcc-4.0 -DPERL_CORE -c -I/sw/include -fno-common
>         -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe
>         -Wdeclaration-after-statement -I/usr/local/include
>         -I/opt/local/include -O3  -Wall `sh  cflags "optimize='-O3'"
>         perlio.o`  perlio.c CCCMD =  gcc-4.0 -DPERL_CORE -c -I/sw/include
>         -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
>         -pipe -Wdeclaration-after-statement -I/usr/local/include
>         -I/opt/local/include -O3  -Wall perlio.c: In function
>         'PerlIO_clone': perlio.c:649: warning: ignoring return value of
>         'Perl_fp_dup', declared with attribute warn_unused_result `sh 
>         cflags "optimize='-O3'" perlapi.o`  perlapi.c CCCMD =  gcc-4.0
>         -DPERL_CORE -c -I/sw/include -fno-common -DPERL_DARWIN
>         -no-cpp-precomp -fno-strict-aliasing -pipe
>         -Wdeclaration-after-statement -I/usr/local/include
>         -I/opt/local/include -O3  -Wall `sh  cflags "optimize='-O3'"
>         numeric.o`  numeric.c CCCMD =  gcc-4.0 -DPERL_CORE -c
>         -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp
>         -fno-strict-aliasing -pipe -Wdeclaration-after-statement
>         -I/usr/local/include -I/opt/local/include -O3  -Wall `sh  cflags
>         "optimize='-O3'" locale.o`  locale.c CCCMD =  gcc-4.0 -DPERL_CORE
>         -c -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp
>         -fno-strict-aliasing -pipe -Wdeclaration-after-statement
>         -I/usr/local/include -I/opt/local/include -O3  -Wall `sh  cflags
>         "optimize='-O3'" pp_pack.o`  pp_pack.c CCCMD =  gcc-4.0
>         -DPERL_CORE -c -I/sw/include -fno-common -DPERL_DARWIN
>         -no-cpp-precomp -fno-strict-aliasing -pipe
>         -Wdeclaration-after-statement -I/usr/local/include
>         -I/opt/local/include -O3  -Wall `sh  cflags "optimize='-O3'"
>         pp_sort.o`  pp_sort.c CCCMD =  gcc-4.0 -DPERL_CORE -c
>         -I/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp
>         -fno-strict-aliasing -pipe -Wdeclaration-after-statement
>         -I/usr/local/include -I/opt/local/include -O3  -Wall rm -f
>         libperl.a /usr/bin/ar rcu libperl.a perl.o  gv.o toke.o perly.o
>         op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o
>         pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o
>         regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o
>         perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o `sh 
>         cflags "optimize='-O3'" opmini.o`  -DPERL_EXTERNAL_GLOB opmini.c
>         CCCMD =  gcc-4.0 -DPERL_CORE -c -I/sw/include -fno-common
>         -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe
>         -Wdeclaration-after-statement -I/usr/local/include
>         -I/opt/local/include -O3  -Wall gcc-4.0 -L/sw/lib -L/usr/local/lib
>         -L/opt/local/lib -force_flat_namespace -o miniperl \
>         miniperlmain.o opmini.o libperl.a -ldl -lm -lutil -lc ld: in
>         /usr/local/lib/libstdc++.6.dylib, file was built for unsupported
>         file format which is not the architecture being linked (i386)
>         collect2: ld returned 1 exit status
> make: *** [miniperl] Error 1
> ### execution of /var/tmp/tmp.1.GBl6qK failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-perl588-5.8.8-10
> (Reading database ... 135760 files and directories currently installed.)
> Removing fink-buildlock-perl588-5.8.8-10 ...
> Failed: phase compiling: perl588-5.8.8-10 failed
> 
> I've tried selfupdate followed by update-all twice and it isn't changing.
> 
> Thanks
> 

You've got all kinds of third-party potential for interference here.

1) Macports.
2) Junk in /usr/local.

It looks like #2 is what is causing interference in this case.  You're
doing a 32-bit Fink build but linking to a
/usr/local/lib/libstdc++.6.dylib which is not just 32-bit.

This is in the FAQ;

http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs

- -- 
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/

iEYEARECAAYFAk24sfgACgkQB8UpO3rKjQ9M8ACeKqHTpx4BzhNtdbxch17M77Se
4UEAnihJNc3jTqAyOox4K58QHyLG5kJg
=Tzp9
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Fink-beginners mailing list
[email protected]
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