root@solaris11:~/.cpan/build/GD-2.46-5lwh43# perlgcc 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: /usr Have /usr/perl5/5.12/lib/Sun/Solaris/PerlGcc Want /usr/perl5/5.12/lib/i86pc-solaris-64int Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [PerlGcc] Config says: [i86pc-solaris-64int] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Note (probably harmless): No library found for -liconv Writing Makefile for GD Writing MYMETA.yml and MYMETA.json root@solaris11:~/.cpan/build/GD-2.46-5lwh43# make /usr/perl5/5.12/bin/perl GD/Image.pm.PLS GD/Image.pm Extracting Image.pm (with variable substitutions) Skip blib/lib/GD/Polyline.pm (unchanged) Skip blib/lib/qd.pl (unchanged) Skip blib/lib/GD/Image.pm (unchanged) Skip blib/lib/GD.pm (unchanged) Skip blib/lib/GD/Simple.pm (unchanged) Skip blib/lib/GD/Polygon.pm (unchanged) Skip blib/lib/GD/Group.pm (unchanged) gcc -c -I/usr/include/gd2 -Wformat=0 -xO4 -DVERSION=\"2.46\" -DXS_VERSION=\"2.46\" -KPIC "-I/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c gcc: unrecognized option '-KPIC' gcc: language O4 not recognized gcc: language O4 not recognized gcc: GD.c: linker input file unused because linking not done Running Mkbootstrap for GD () chmod 644 GD.bs rm -f blib/arch/auto/GD/GD.so LD_RUN_PATH="/usr/lib" cc -G -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib GD.o -o blib/arch/auto/GD/GD.so \ -L/usr/lib -L/usr/lib/amd64 -L/usr/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -lm -lgd \ ld: fatal: file GD.o: open failed: No such file or directory ld: fatal: file processing errors. No output written to blib/arch/auto/GD/GD.so *** Error code 2 make: Fatal error: Command failed for target `blib/arch/auto/GD/GD.so'