in reply to perl-5.24.3 build woes
Your problem seems to be related to your environment. Do you have enough space to build perl?
Post the last few lines before the "No Makefile" errors (possibly a larger portion of configure/build log output elsewhere).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl-5.24.3 build woes
by 2pipes (Novice) on Apr 07, 2018 at 05:38 UTC | |
Yikes! Wisdom and Common Sense. You're absolutely right. The first time I ran make I ran out of room. I then ran make clean and just as I was about to move the perl-5.24.3 directory to another filesystem with much more room - believe it or not - my power went out. The next day I completed the relocation. I reran Configure and then make and that's when I started getting the No Makefile errors. My (apparently naive) assumption was that running make clean brought me back to the point just before I ran Configure the first time. Anyway, I've since downloaded the tarball again and this time make fails much earlier, which surprises me. I should mention that while the Makefiles were 0 bytes other files in the same directory were the same size as the files I subsequently downloaded from CPAN as modules.
line 643 of ./cpan/Encode/Makefile looks like this:
If this helps with the variable values:
To the extent I understand what is failing, it looks like make is being passed a flag 'w' that it doesn't understand, but I don't see where that is happening or where the 'w' flag is coming from. I apologize for all the detail, but I simply don't know enough to distinguish the crap from the gold. | [reply] [d/l] [select] |
by Anonymous Monk on Apr 07, 2018 at 08:44 UTC | |
Missing "Makefile.PL" -- by design! -- file is created by "make" process[0] (I checked only ext/Devel-Peek on my end). Reason for 0-sized "Makefile.PL" most likely is that file system did not have enough physical disk space to populate it but just enough to create an entry (inode) in the directory. You would have to wait for someone else about bad "w" flag being passed to "make". (My speculation(!) is that not the right "make" is being detected or wrong "make" is being called.) | [reply] [d/l] |
by 2pipes (Novice) on Apr 07, 2018 at 19:18 UTC | |
In other words, the "No Makefile" problem was a 'short between the ears'. Thanks for the explanation. There's only one make on the system (GNU v.4.2.1). It's from an RPM built by Bull as part of their freeware offerings and was probably built using IBM's XLC. Could that matter? I know some perl modules must be built with gcc and require a perl and some dependencies also be built with gcc (IO::Socket::SSL), which is why I need to build perl myself. I didn't think it would matter with make, though. make links to make_32. make_64 exists but won't load because libgmp and libgcc can't be loaded - I haven't explored why yet. Is it possible I need to be using a 64 bit version of make? Not necessarily as a solution to the bad "w" flag - that doesn't seem relevant - just as a rule when building 64 bit applications? | [reply] |
by Tux (Canon) on Apr 08, 2018 at 08:18 UTC | |