直々にレスが
http://d.hatena.ne.jp/fuba/20060616/1150413378#c
ということで謹製Perlバインディングをインストールしてみるかー。Perlが5.8.6なので微妙だなーと思いつつとりあえずmake。
[tigris:~/temp/hyperestraier-1.2.9/perlnative] ec% gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5250) [tigris:~/temp/hyperestraier-1.2.9/perlnative] ec% MACOSX_DEPLOYMENT_TARGET='10.4' && make ( cd src && if ! [ -f Makefile ] ; \ then LD_LIBRARY_PATH=.:..:/lib:/usr/lib:/Users/ec/lib:/usr/local/lib::/usr/local/lib /usr/bin/perl Makefile.PL CC="gcc" INC="-I. -I../.. -I/Users/ec/include -I/usr/local/include" OPTIMIZE="-O2" \ LD="ld" LIBS="-L../.. -I/Users/ec/lib -L/usr/local/lib -lestraier -lqdbm -lbz2 -llzo2 -lz -liconv -lm -lc " PREFIX="/" ; fi ) Checking if your kit is complete... Looks good Warning: -L../.. changed to -L/Users/ec/temp/hyperestraier-1.2.9/perlnative/src/../.. Unrecognized argument in LIBS ignored: '-I/Users/ec/lib' Writing Makefile for Estraier ( cd src && make ) cp Estraier.pm blib/lib/Estraier.pm /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.6/ExtUtils/typemap Estraier.xs > Estraier.xsc && mv Estraier.xsc Estraier.c gcc -c -I. -I../.. -I/Users/ec/include -I/usr/local/include -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" Estraier.c Estraier.xs: In function 'avtocblist': Estraier.xs:62: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type Estraier.xs: In function 'hvtocbmap': Estraier.xs:95: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type Running Mkbootstrap for Estraier () chmod 644 Estraier.bs rm -f blib/arch/auto/Estraier/Estraier.bundle LD_RUN_PATH="/Users/ec/temp/hyperestraier-1.2.9/perlnative/src/../..:/usr/local/lib:/usr/lib" ld -bundle -undefined dynamic_lookup -L/usr/local/lib Estraier.o -o blib/arch/auto/Estraier/Estraier.bundle \ -L/Users/ec/temp/hyperestraier-1.2.9/perlnative/src/../.. -L/usr/local/lib -lestraier -lqdbm -lbz2 -llzo2 -lz -liconv -lm -lc \ ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 make[1]: *** [blib/arch/auto/Estraier/Estraier.bundle] Error 1 make: *** [all] Error 2
だめでした。ちょっと時間ないので深追いはしない。ちなみにMACOSX_DEPLOYMENT_TARGETは10.4に指定済み。なぞだ