vertigo wrote:
> Hello
>
> I can not install GD-2.19.
> I tried with gd-2.0.33 and perl 5.6.8:
> #perl Makefile.PL
> #make
>
> and everything was fine, but:
> #make test
>
<snipped out lots of errors>
I'm not sure what your problem is, but I can tell you what I did to
install GD which works perfectly (but only after many, many tries). I
documented all my steps but your mileage may vary. I did this on Red Hat
and Fedora; I'm not sure what OS you are using.
First of all, I made sure I installed the latest versions of libpng,
jpeg libs, freetype2, and gd (in that order). I then installed GD.pm. I
used the default installation directories for everything (GD doesn't
seem to like custom paths). Here's how I did it:
add the lib path (Red Hat/Fedora specific I think)
----------------
add /usr/local/lib to /etc/ld.so.conf
run ldconfig -v
install libpng
--------------
cp over scripts/makefile.linux to ../makefile
make && make install
install jpeg libs
-----------------
../configure --enable-shared
make && make install
install freetype2
-----------------
../configure
make && make install
install gd
----------
../configure --enable-shared
make && make install
install GD.pm
-------------
LD_LIBRARY_PATH="/usr/local/lib"
export LD_LIBRARY_PATH
perl Makefile.PL
make && make test && make install
> Hello
>
> I can not install GD-2.19.
> I tried with gd-2.0.33 and perl 5.6.8:
> #perl Makefile.PL
> #make
>
> and everything was fine, but:
> #make test
>
<snipped out lots of errors>
I'm not sure what your problem is, but I can tell you what I did to
install GD which works perfectly (but only after many, many tries). I
documented all my steps but your mileage may vary. I did this on Red Hat
and Fedora; I'm not sure what OS you are using.
First of all, I made sure I installed the latest versions of libpng,
jpeg libs, freetype2, and gd (in that order). I then installed GD.pm. I
used the default installation directories for everything (GD doesn't
seem to like custom paths). Here's how I did it:
add the lib path (Red Hat/Fedora specific I think)
----------------
add /usr/local/lib to /etc/ld.so.conf
run ldconfig -v
install libpng
--------------
cp over scripts/makefile.linux to ../makefile
make && make install
install jpeg libs
-----------------
../configure --enable-shared
make && make install
install freetype2
-----------------
../configure
make && make install
install gd
----------
../configure --enable-shared
make && make install
install GD.pm
-------------
LD_LIBRARY_PATH="/usr/local/lib"
export LD_LIBRARY_PATH
perl Makefile.PL
make && make test && make install