in reply to Re^2: perl-5.24.3 build woes
in thread perl-5.24.3 build woes

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.

ls -Faltr ext/Devel-Peek total 86 -rw-r--r-- 1 root wheel 2248 Jun 30 2017 Changes -rw-r--r-- 1 root wheel 12508 Jun 30 2017 Peek.xs -rw-r--r-- 1 root wheel 18073 Jun 30 2017 Peek.pm drwxr-xr-x 43 root wheel 43 Sep 22 2017 ../ drwxr-xr-x 2 root wheel 3 Sep 22 2017 t/ -rw-r--r-- 1 root wheel 1578 Apr 6 22:22 Makefile.PL -rw-r--r-- 1 root wheel 30738 Apr 6 22:22 Makefile drwxr-xr-x 6 root wheel 6 Apr 6 22:22 blib/ -rw-r--r-- 1 root wheel 0 Apr 6 22:22 pm_to_blib -rw-r--r-- 1 root wheel 22482 Apr 6 22:22 Peek.c -rw-r--r-- 1 root wheel 17256 Apr 6 22:22 Peek.o drwxr-xr-x 4 root wheel 12 Apr 6 22:22 ./

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.)

Replies are listed 'Best First'.
Re^4: perl-5.24.3 build woes
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?

      I build with GNU make 3.81 on AIX 5.3, so 4.x should suffice

      How 'make' is compiled does not influence how perl is compiled. 64-bit make should work fine:

      make: 64-bit XCOFF executable or object module

      If you want to build everything in 64-bitall, you should set your environment accordingly:

      sh $ export OBJECT_MODE=64 csh% setenv OBJECT_MODE 64

      Enjoy, Have FUN! H.Merijn