Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Help! GD 2.06 Won't Compile (FreeBSD 4.8)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 12th July 07:50
\\
External User
 
Posts: 1
Default Help! GD 2.06 Won't Compile (FreeBSD 4.8)


I'm completely puzzled here. I've been able to compile and install just
about everything...until GD.

Here's what happens:

rufus# perl Makefile.PL
NOTICE: This module requires libgd 2.0.5 or higher.
it will NOT work with earlier versions.
For earlier versions of libgd, use GD version 1.41.

Where is libgd installed? [/usr/lib] /usr/local/lib

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build FreeType support? [y]

If you experience compile problems, please check the @INC, @LIBPATH and
@LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.

WARNING: CAPI is not a known parameter.
Warning: prerequisite Math::Trig 1 not found.
Writing Makefile for GD
rufus# make test
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
/usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc
&& mv GD.xsc GD.c
cc -c -I/usr/local/include -I/usr/local/include -I/usr/local/include/gd -D
HAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/includ
e -O -DVERSION=\"2.06\" -DXS_VERSION=\"2.06\" -DPIC -fpic
"-I/usr/local/lib/perl5/5.8.0/i386-freebsd/CORE" -DHAVE_JPEG -DHAVE_FT GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/local/lib:/usr/lib" cc -shared -L/usr/local/lib GD.o -o
blib/arch/auto/GD/GD.so -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib
-lgd -lpng -lz -lfreetype -ljpeg -lm
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD:
/usr/local/lib/libgd.so.2: Undefined symbol "iconv_open" at
/usr/local/lib/perl5/5.8.0/i386-freebsd/DynaLoader.pm line 229.
at t/GD.t line 13
Compilation failed in require at t/GD.t line 13.
BEGIN failed--compilation aborted at t/GD.t line 13.
t/GD..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Polyline....Can't load '/work/GD-2.06/blib/arch/auto/GD/GD.so' for module
GD: /usr/local/lib/libgd.so.2: Undefined symbol "iconv_open" at
/usr/local/lib/perl5/5.8.0/i386-freebsd/DynaLoader.pm line 229.
at /work/GD-2.06/blib/lib/GD/Polyline.pm line 49
Compilation failed in require at /work/GD-2.06/blib/lib/GD/Polyline.pm line
49.
BEGIN failed--compilation aborted at /work/GD-2.06/blib/lib/GD/Polyline.pm
line 49.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t/GD.t 255 65280 10 10 100.00% 1-10
t/Polyline.t 255 65280 1 1 100.00% 1
Failed 2/2 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay.
*** Error code 2

Stop in /work/GD-2.06.

I'm using FreeBSD 4.8 (Release), and PERL 5.8.0, in a rather vanilla
installation. Any suggestions would be appreciated.
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666