For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2007 > Re: Installing GD









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Installing GD
David Steinbrunner

2007-02-23, 7:01 pm

On 2006-09-26 14:21:01 -0400, Sherm Pendley
<sherm@Sherm-Pendleys-Computer.local> said:

> "Eric" <ericgorr@gmail.com> writes:
>
> Good question. Nothing in Makefile.PL jumps out as being obviously wrong.


I just ran into this issue. This thread helped me to think about the
issue a bit more which lead to find this:

BUG: gd2 port has broken gdlib-config
http://trac.macports.org/projects/macports/ticket/3562

So the problem is not caused by the Makefile.PL but macports' gdlib-config.

Since this thread did not explicitly state how Eric got GD passing the
tests I'll document how I did it:

After creating the Makefile by running 'perl Makefile.pl' I added
'-L/opt/local/lib -liconv' to the EXTRALIBS and LDLOADLIBS lists in the
Makefile. From there the normal make, make test, make install routine
can be followed.

--
David Steinbrunner

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com