Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

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

People
Owner: Nobody in particular
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
Download (untitled) / with headers
text/plain 607b
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
Download (untitled) / with headers
text/plain 440b
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.
Download (untitled) / with headers
text/plain 841b
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.
Download (untitled) / with headers
text/plain 433b
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.
Download (untitled) / with headers
text/plain 778b
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
Download (untitled) / with headers
text/plain 1.1k
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
Download (untitled) / with headers
text/plain 165b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.