From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 18:38:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8D3E37B401 for ; Wed, 30 Apr 2003 18:38:00 -0700 (PDT) Received: from koa.aloha.com (koa.aloha.com [206.127.224.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 232D743F75 for ; Wed, 30 Apr 2003 18:38:00 -0700 (PDT) (envelope-from knowtree@aloha.com) Received: from webmail.pixi.com (webmail.pixi.com [206.127.224.121]) by koa.aloha.com (8.12.2/8.12.2) with SMTP id h411av7R026905; Wed, 30 Apr 2003 15:36:58 -1000 (HST) Message-Id: <200305010136.h411av7R026905@koa.aloha.com> To: FreeBSD-questions@FreeBSD.org From: knowtree@aloha.com Date: Thu, 1 May 2003 01:34:44 GMT X-Posting-IP: 141.190.32.69 X-Mailer: Endymion MailMan Standard Edition v3.2.9 cc: knowtree@aloha.com Subject: Where is libgd? (for GD.pm) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 01:38:01 -0000 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/