Ebaad Ahmed wrote:

> Hi David,
> 
> I got this error when ran the patch_gd.pl, looks like its looking for a
> patch file.
> 
> # perl patch_gd.pl
> patch: Invalid options.
> patch: Usage:   patch [-blNR] [-c|-e|-n] [-d dir] [-D define] [-i
> patchfile]\
>               [-o outfile] [-p num] [-r rejectfile] [file]
> This script requires GNU patch, available from .
> 

if you look at the patch_gd.pl script, you will notice that it simply calls 
the patch script for you like:

open(PATH, '| patch -Np1') || die $!

or something like that, see if a similar line is in your patch_gd.pl script? 
if so, you should have no problem running patch_gd.pl. but a patch might be 
not neccessary for your system. for example, when i install GD, i don't 
need that at all. i notice that in your first attemp to install GD, you are 
running it like perl -MCPAN -e 'install GD' right? the installation first 
resolve some dependency for you and then tries to write the make file for 
you and then it failed. since all required library is installed, you can 
simply:

perl Makefile.PL
make
make test
make install
make clean <- or make distclean (i think)

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to