develooper Front page | perl.perl5.porters | Postings from June 2010

Re: 5.10.1 build fails on AIX 5.3

Thread Previous | Thread Next
Andy Dougherty
June 29, 2010 17:39
Re: 5.10.1 build fails on AIX 5.3
Message ID:
On Mon, 28 Jun 2010, Bill Kurland wrote:

> I am trying to build 5.10.1  under AIX 5.3. The README.aix says that this has
> been done successfully with gcc 4.2

> # ./Configure -d -Dcc=gcc -Duseshrplib -Dprefix=/usr/opt/perl5_32

> # gnumake -v
> GNU Make 3.80

[then much later] 

> make: Not a recognized flag: w
> usage: make [-einqrst] [-k|-S] [-d[A|adg[1|2]mstv]] [-D variable] [-f makefile
> ] [-j [jobs]] [variable=value ...] [target ...]
> gnumake[1]: *** [subdirs] Error 2
> gnumake[1]: Leaving directory `/mkcd/cd_images/perl-5.10.1/ext/Encode'

I'm pretty sure the problem is one of mixing different versions of 'make'.
Configure expects you to use the system's native 'make' program.  That 
would be my first recommendation.  If you really want to use GNU make, 
then tell Configure that with -Dmake=gnumake.

Let us know if just using plain 'make' works.  (You'll want to start with 
a fresh copy of the source to make sure no GNU make-isms have made it in.)

Hope this helps,

    Andy Dougherty

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About