develooper Front page | perl.macosx | Postings from August 2003

Re: Installing Encode in Mac OS (Panther)

Thread Next
From:
Dan Kogai
Date:
August 6, 2003 11:57
Subject:
Re: Installing Encode in Mac OS (Panther)
Message ID:
B7456A33-C83F-11D7-B8C9-000393AE4244@dan.co.jp
On Thursday, Aug 7, 2003, at 03:47 Asia/Tokyo, John Delacour wrote:
> Hello Dan,
>
> I'm having difficulty installing Encode ion the Mac.  Perl -V = 5.8.1
>
> Can you advise me what to do?
>
> [snip]
>
> -bash-2.05b$ make
> /usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp 
> -nolinenumbers -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap 
> Byte.xs > Byte.xsc && mv Byte.xsc Byte.c
> cc -c  -I../Encode -g -pipe -pipe -fno-common -no-cpp-precomp 
> -fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"1.23\" 
> -DXS_VERSION=\"1.23\" 
> "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Byte.c
> cc -c  -I../Encode -g -pipe -pipe -fno-common -no-cpp-precomp 
> -fno-strict-aliasing -I/usr/local/include -Os   -DVERSION=\"1.23\" 
> -DXS_VERSION=\"1.23\" 
> "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" > byte_t.c
> Running Mkbootstrap for Encode::Byte ()
> chmod 644 Byte.bs
> rm -f ../blib/arch/auto/Encode/Byte/Byte.bundle
> LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined 
> dynamic_lookup -L/usr/local/lib Byte.o byte_t.o  -o 
> ../blib/arch/auto/Encode/Byte/Byte.bundle
> ld: -undefined: unknown argument: dynamic_lookup
> make[1]: *** [../blib/arch/auto/Encode/Byte/Byte.bundle] Error 1
> make: *** [subdirs] Error 2

It appears that you are running old cc on Panther (which does not know 
-undefined dynamic_lookup).  Make sure you install/upgrade Developer 
Tools that matches Panther.  FYI Encode builds hairlessly on my Panther.

Dan the Encode Maintainer


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About