On Wed, Apr 23, 2008 at 5:46 PM, sivasakthi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>  I have  tried to install the Perl-GD module from source code, it throws
>  following  error when i gave make,
>

Make sure you have downloaded and installed the following packages:

       a. Perl 5.6.0 or higher:
               http://www.perl.com/

       b. The gd graphics library:
               http://www.boutell.com/gd/

       c. The PNG graphics library:
               http://www.libpng.org/pub/png/libpng.html

       d. The zlib compression library:
               http://www.gzip.org/zlib/

       (OPTIONAL)

       e. The FreeType font rendering library for TrueType fonts:
               http://www.freetype.org/

       f. The JPEG library, version 6b or later:
               ftp://ftp.uu.net/graphics/jpeg/

       g. The XPM library, a standard part of modern X Windows
          distributions.  If you don't have a modern
          version of X, don't try to get XPM working.

If this module fails to compile and link, you are probably using an
older version of libgd.  Symptoms of this problem include errors about
functions not being recognized in the gd.h header file, and undefined
symbols from the linker.  If you are having this type of error, please
REMOVE all versions of libgd, gd.h from your system and reinstall
libgd 2.0.28 or higher.  Do not contact Lincoln for help until you
have done this.

When making JPEG, please note:

* If you want to build libjpeg as a shared library, say
       ./configure --enable-shared
To get both shared and static libraries, say
       ./configure --enable-shared --enable-static

Generally you need the --enable-shared.


Good luck with it.


-- 
J. Peng - QQMail Operation Team
eMail: [EMAIL PROTECTED] AIM: JeffHua

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to