Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 106273
Status: resolved
Priority: 0/
Queue: GD

People
Owner: RURBAN [...] cpan.org
Requestors: CLEACH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.56
Fixed in: (no value)



Subject: Makefile.PL doesn't generate a valid Makefile
There is a problem with running "perl Makefile.PL" The resulting Makefile won't even attempt to build GD.o on AIX when you run "make". It silently skips over it and says it successfully completed once you correct a single file permission issue if run as non root. If you ran "make" as root, it ignores the file permission issue but still doesn't build GD.o. It just says it succeeded doing the build without any errors. But without GD.o being built, "make test" fails all over the place. I was exploring this option due to an issue with "perl Build.PL". I'll open a separate ticket on that. Curtis
On 2015-08-06 09:06:18, CLEACH wrote: Show quoted text
> I was exploring this option due to an issue with "perl Build.PL". > I'll open a separate ticket on that.
aaaaaa, it's not a good idea to provide both of these, especially when the distribution is complicated, as the build product will differ between the two and yield inconsistent installations. It's best to stick with just Makefile.PL, unless you need a feature that only Module::Build provides.
But that's the problem. Makefile.PL doesn't work at all! It won't generate a good build. And when I'm monkeying with a problem build I always wipe the entire disk & reinstall from the tarball between runs. I don't trust "make clean" or "make realclean" to do a good enough job when I'm tweaking things to try to get them to work. On Thu Aug 06 12:24:48 2015, ETHER wrote: Show quoted text
> On 2015-08-06 09:06:18, CLEACH wrote: >
> > I was exploring this option due to an issue with "perl Build.PL". > > I'll open a separate ticket on that.
> > aaaaaa, it's not a good idea to provide both of these, especially when > the distribution is complicated, as the build product will differ > between the two and yield inconsistent installations. It's best to > stick with just Makefile.PL, unless you need a feature that only > Module::Build provides.
On 2015-08-06 10:29:18, CLEACH wrote: Show quoted text
> But that's the problem. Makefile.PL doesn't work at all! It won't > generate a good build.
I think this is the same problem as the other ticket you just filed -- Makefile.PL is trying to grab the options itself and be "smart" about all the WriteMakefile options, when instead it should be letting EUMM do most of that work. The build process of this distribution needs a complete overhaul.
On 2015-08-06 12:06:18, CLEACH wrote: Show quoted text
> There is a problem with running "perl Makefile.PL" > > The resulting Makefile won't even attempt to build GD.o on AIX when > you run "make". > > It silently skips over it and says it successfully completed once you > correct a single file permission issue if run as non root. If you ran > "make" as root, it ignores the file permission issue but still doesn't > build GD.o. It just says it succeeded doing the build without any > errors. But without GD.o being built, "make test" fails all over the > place. > > I was exploring this option due to an issue with "perl Build.PL". > I'll open a separate ticket on that. > > Curtis
The non-working Makefile.PL was already mentioned in https://rt.cpan.org/Ticket/Display.html?id=99901
Reading Tkt 99901 it does look like a duplicate issue. Maybe when you run Makefile.PL you could copy the files to the locations they need to be in for the Makefile.PL path to work. But leave them out of the MANIFEST so things are clean for Build.PL. Either that or document in your README file the steps you need to get it to work. Curtis On Fri Aug 07 01:15:53 2015, SREZIC wrote: Show quoted text
> On 2015-08-06 12:06:18, CLEACH wrote:
> > There is a problem with running "perl Makefile.PL" > > > > The resulting Makefile won't even attempt to build GD.o on AIX when > > you run "make". > > > > It silently skips over it and says it successfully completed once you > > correct a single file permission issue if run as non root. If you ran > > "make" as root, it ignores the file permission issue but still doesn't > > build GD.o. It just says it succeeded doing the build without any > > errors. But without GD.o being built, "make test" fails all over the > > place. > > > > I was exploring this option due to an issue with "perl Build.PL". > > I'll open a separate ticket on that. > > > > Curtis
> > The non-working Makefile.PL was already mentioned in > https://rt.cpan.org/Ticket/Display.html?id=99901
If someone else fails on installing GD on Ubuntu >= 16.10, even after applying the Debian fixes from RT#114788, just copy or move GD.xs from lib to . and rerun make.
The subject is not right. Makefile.PL is correct, but doesn't pick up lib/GD.xs. As this module is apparently unmaintained I uploaded a fixed version as RURBAN/GD-2.56_01.tar.gz -- Reini Urban
Fixed with 2.57