|
Posted by Matt Pounsett on July 12, 2005, 5:12 pm
Please log in for more thread options
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/perllocal.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
|
|
Posted by Sisyphus on July 13, 2005, 2:37 pm
Please log in for more thread options
> 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
|
|
Posted by Matt Pounsett on July 13, 2005, 5:09 am
Please log in for more thread options
>
>> 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
|
|
Posted by Matt Pounsett on July 14, 2005, 3:44 pm
Please log in for more thread options
>> 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,@LIBPATH,@LIBS)],
|
| Similar Threads | Posted | | Simplest Makefile.PL | July 27, 2007, 4:08 pm |
| GDTextUtil-0.86 Makefile core dump | January 19, 2006, 9:04 am |
| how to install multiple modules with one Makefile.PL | July 2, 2008, 11:56 am |
| Net::LDAP makefile generation fails on ActiveState Perl 5.8.8 | June 23, 2006, 2:57 am |
| Installing GD | November 8, 2005, 2:05 pm |
| Installing Tk | November 13, 2005, 10:49 pm |
| [Q] Installing GD | September 25, 2006, 6:38 pm |
| Error Installing XML::DOM | October 15, 2004, 9:16 am |
| Trouble installing GD | November 5, 2004, 10:51 am |
| installing modules? | September 29, 2005, 1:52 pm |
|