Steam Engenius has asked for the wisdom of the Perl Monks concerning the following question:

Hello, for a school project I am working on I need to be able to create the mandelbrot set fractal. Working on my own machine, I made a working program using the GD 2.44 module, which would write the image as a .png file. However, the default directory on our school server does not contain the GD library. I have tried installing it in my own directory to no avail.

I tried using CPAN, but it tells me that it could not find gdlib-config in the search path. I have downloaded the gdlib-2.0.28 library and its folder is in my local directory, but I have no idea how to install it or anything so that I can then install the GD module. Any help is appreciated.

The school server I am working on is using Apache and UNIX.

Thanks for any help

  • Comment on Install the GD module without root permission

Replies are listed 'Best First'.
Re: Install the GD module without root permission
by GrandFather (Saint) on Dec 18, 2009 at 06:40 UTC
Re: Install the GD module without root permission
by zentara (Cardinal) on Dec 18, 2009 at 13:11 UTC
    I have tried installing it in my own directory to no avail.

    ...what happened... did you have access to a c compiler?..

    .... i'm sorry to tell you this, but unless you ask the system admin to install it for you (unlikely)... you will then need to compile the GD in your home dir and put it in a local perl5lib .... if GD complains about a library missing....you will have to learn to locally install the library for personal use.... it's doable, but you might want to see what other graphics modules you have available or ask the system admin to install the Perl GD module and any lib pre-requisites it needs

    ....maybe the sysadmin will let you do it while he/she looks over your shoulder :-)


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku