Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 01:34:44 GMT
From:      knowtree@aloha.com
To:        FreeBSD-questions@FreeBSD.org
Cc:        knowtree@aloha.com
Subject:   Where is libgd? (for GD.pm)
Message-ID:  <200305010136.h411av7R026905@koa.aloha.com>

next in thread | raw e-mail | index | archive | help
I am building a perl application called Mimerdesk that
requires a module called GD.pm. This module is an interface
to the libgd graphics library. I downloaded and unpacked the
module, and when I run perl Makefile.PL it wants to know the
location of the libgd library. I can't find it. Through
goole I found that in the past FreeBSD had it in
/usr/local/lib, but I don't. It's not in the ports
collection. I installed /usr/ports/graphics/libgdgeda but
that did not fix the problem.

bender#
uname -a:
FreeBSD shf102108.hi.pac.army.mil 4.6.2-RELEASE FreeBSD
4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002    
murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC 
i386

bender#
perl Makefile.PL

NOTICE: This module requires libgd 2.0.12 or higher.
        it will NOT work with earlier versions.
        See www.cpan.org for versions of GD that are compatible
        with earlier versions of libgd.

Type perl Makefile.PL -h for command-line option summary

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.

Note (probably harmless): No library found for -lgd
Writing Makefile for GD

bender#
make test
mkdir blib
mkdir blib/lib
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp qd.pl blib/lib/qd.pl
/usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503
/usr/libdata/perl/5.00503/ExtUtils/xsubpp -object_capi  -typemap
/usr/libdata/perl/5.00503/ExtUtils/typemap -typemap typemap GD.xs >xstmp.c && mv
xstmp.c GD.c
cc -c -I/usr/local/include -I/usr/local/include -I/usr/local/include/gd      
-DVERSION=\"2.07\"  -DXS_VERSION=\"2.07\" -DPIC -fpic
-I/usr/libdata/perl/5.00503/mach/CORE -DHAVE_JPEG -DHAVE_FT GD.c
GD.xs:7: gd.h: No such file or directory
*** Error code 1

Stop in /usr3/download/GD-2.07.



---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305010136.h411av7R026905>