GD.pm Makefile not installing GD::Polyline
GD.pm Makefile not installing GD::Polyline
am 12.07.2005 19:12:03 von Matt Pounsett
I seem to be having an issue with the GD-2.23 generated Makefile. It isn't
installing GD::Polyline or GD::Simple or their man pages on my system. This
is a change from 2.11 which I'm upgrading from. 2.11 installed GD::Polyline,
but not GD::Simple... I get the impression from the README that this is the
expected behavior.
I don't see any references to special handing of GD::Polyline in the README or
other documentation, so I'm assuming that it is expected to be installed by
the Makefile. I haven't been able to turn up anything about this in google
either.
My execution of Makefile.PL is simple.. I'm only specifying the location to
libgd, and a base install prefix (we need a custom install location).
Normally I wouldn't care that a couple files weren't installed, and I'd just
install them manually. However, I'm trying to package the module for our
systems, so missing files are much more of an inconvenience.
Using the standard install prefix, the files that *are* being installed are:
/usr/bin/bdf2gdfont.pl
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/GD.pm
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ GD/.packlist
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ GD/GD.bs
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ GD/GD.so
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ GD/autosplit.ix
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/perll ocal.pod
/usr/share/man/man1/bdf2gdfont.pl.1.gz
/usr/share/man/man3/GD.3pm.gz
Build and system details are included below... and I can do any other
troubleshooting required to help track down the problem.
Thanks in advance for any help.
Matt Pounsett
configured using:
perl Makefile.PL -lib_gd_path /usr/lib
Configuring for libgd version 2.0.33.
Included Features: GD_JPEG GD_FREETYPE GD_PNG GD_GIF GD_UNCLOSEDPOLY
GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr/lib
System details:
RedHat Edge Server release 3, fully updated as of today
Perl 5.8.0 (RHES RPM)
GD-2.23.tar.gz
libgd 2.0.33
libjpeg 6b
freetype 2.1.4
libpng 1.2.2
Re: GD.pm Makefile not installing GD::Polyline
am 13.07.2005 06:37:02 von Sisyphus
"Matt Pounsett" wrote in message
news:slrndd7uf3.24i.mattp@coke.conundrum.com...
> I seem to be having an issue with the GD-2.23 generated Makefile. It
isn't
> installing GD::Polyline or GD::Simple or their man pages on my system.
They don't get installed for me either on Win32. This looks wrong to me (at
least wrt Polyline.pm) - there is still a test script for GD::Polyline
(which passes because ./GD/Polyline.pm exists when the tests are being
run) - so, if it's being tested, you would expect it to be installed.
You should probably let the author know and let *him* sort it out - or you
could sort it out for him if you feel so diposed.
For a simple solution just copy Polyline.pm to the appropriate location
within your perl installation.
Cheers,
Rob
Re: GD.pm Makefile not installing GD::Polyline
am 13.07.2005 07:09:59 von Matt Pounsett
On 2005-07-13, Sisyphus wrote:
>
> "Matt Pounsett" wrote in message
> news:slrndd7uf3.24i.mattp@coke.conundrum.com...
>> I seem to be having an issue with the GD-2.23 generated Makefile. It
> isn't
>> installing GD::Polyline or GD::Simple or their man pages on my system.
>
> They don't get installed for me either on Win32. This looks wrong to me (at
> least wrt Polyline.pm) - there is still a test script for GD::Polyline
> (which passes because ./GD/Polyline.pm exists when the tests are being
> run) - so, if it's being tested, you would expect it to be installed.
Yeah, that's what I thought. Okay.. so at least it's not just me.
> You should probably let the author know and let *him* sort it out - or you
> could sort it out for him if you feel so diposed.
I posted here intitially at the author's request (as per his README).. but
since it's clearly a bug, I'll drop him a line.
> For a simple solution just copy Polyline.pm to the appropriate location
> within your perl installation.
Normally I'd do that, but doing that during the packaging process involves
a kludge that, while not complicated, I'd still rather avoid.
Thanks!
Matt
Re: GD.pm Makefile not installing GD::Polyline
am 14.07.2005 17:44:40 von Matt of the Long Red Hair
>> You should probably let the author know and let *him* sort it out - or you
>> could sort it out for him if you feel so diposed.
>
> I posted here intitially at the author's request (as per his README).. but
> since it's clearly a bug, I'll drop him a line.
Since originally emailing the author, I've had time to take a poke at this
myself. It turns out to be a painfully simple change, once you've had a
gander at the MakeMaker docs. I'm sending this to the author as well:
diff -uNr GD-2.23-orig/Makefile.PL GD-2.23/Makefile.PL
--- GD-2.23-orig/Makefile.PL 2005-03-09 16:01:40.000000000 -0500
+++ GD-2.23/Makefile.PL 2005-07-13 12:49:28.000000000 -0400
@@ -230,7 +230,8 @@
'PREREQ_PM' => {
'Math::Trig' => 0,
},
- 'PM' => { 'GD.pm' => '$(INST_LIBDIR)/GD.pm'},
+ 'PM' => { 'GD.pm' => '$(INST_LIBDIR)/GD.pm' , 'GD/Polyline.pm' =>
+'$(INST_LIBDIR)/GD/Polyline.pm' },
'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'},
'LIBS' => [join(' ',$ENV{'GD_LIBS'},@LIBPATH,@LIBS)],