Hi,

I'm trying to install the Perl GD module, by using the CPAN download, rather 
than via fink - the reason I'm doing that is because I will have to hardcode:

#!/sw/bin/perl5.8.8

in my scripts if I use the perl gd-pm588 package, and these are scripts that 
are part of a module I release to CPAN, so I don't want to hardcode it there.  
However, if I install the gd2 package via fink, then try to install GD.pm from 
CPAN, when I try to compile it, I get complaints about "file is not of required 
architecture" (see below my signature for full output of 'perl Makefile.PL'.  I 
tried clean installing fink from scratch, and still no dice.  I'm selected to 
default to 32-bit upon configuration.  Does anyone have any ideas?

Thanks,
Gavin

pliny 293 % fink -V
Package manager version: 0.29.10
Distribution version: selfupdate-rsync Wed Mar  3 17:36:47 2010, 10.6, i386

pliny 295 % sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.6.2
BuildVersion:   10C540

pliny 290 % perl Makefile.PL 
Notice: Type perl Makefile.PL -h for command-line option summary.

Configuring for libgd version 2.0.35.
Checking for stray libgd header files...none found.

Included Features:          GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG 
GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE 
VERSION_33
GD library used from:       /sw
Checking if your kit is complete...
Looks good
Writing Makefile for GD
pliny 291 % make
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc 
&& mv GD.xsc GD.c
gcc-4.2 -c  -I/sw/include -Wformat=0 -Os   -DVERSION=\"2.44\" 
-DXS_VERSION=\"2.44\"  
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -DHAVE_JPEG 
-DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 
-DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
GD.xs: In function ‘XS_GD__Image_STORABLE_thaw’:
GD.xs:923: warning: cast from pointer to integer of different size
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.bundle
LD_RUN_PATH="/usr/X11R6/lib:/sw/lib:/sw/lib/fontconfig2/lib" gcc-4.2 
-mmacosx-version-min=10.6  -arch x86_64 -arch i386 -arch ppc -bundle -undefined 
dynamic_lookup -L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.bundle       \
           -L/sw/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
-L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -lXpm -lX11 -ljpeg 
-lfontconfig -lfreetype -lpng12 -lz -liconv -lgd     \
          
ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
ld: warning: in /sw/lib/libfreetype.dylib, file is not of required architecture
ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
ld: warning: in GD.o, file is not of required architecture
ld: warning: in GD.o, file is not of required architecture
ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
ld: warning: in /sw/lib/libfreetype.dylib, file is not of required architecture
ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
chmod 755 blib/arch/auto/GD/GD.bundle
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont.PLS 
bdf_scripts/bdf2gdfont.pl
Extracting bdf2gdfont.pl (with variable substitutions)
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3pm
Manifying blib/man3/GD::Image.3pm
Manifying blib/man3/GD::Simple.3pm
Manifying blib/man3/GD.3pm
Manifying blib/man3/GD::Polygon.3pm


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to