develooper Front page | perl.perl5.porters | Postings from December 2001

Cannot compile perl-5.6.1 on aix 4.2 : Configure fails

Thread Next
From:
Jose.auguste-etienne
Date:
December 24, 2001 02:37
Subject:
Cannot compile perl-5.6.1 on aix 4.2 : Configure fails
Message ID:
OFBEF058A1.54D0374F-ON03256B2C.00392B5C@Cgss-Guyane.fr

Dear all,

I've tried to build perl and 'Configure' fails at the following step :

....

Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); exit(0); }

I used the command:

        cc -o try -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=163
84 -L/usr/local/lib -L/usr/gnu/lib try.c -lbind -lnsl -ldbm -ldl -lld -lm
-lC -l
c -lbsd -lPW -liconv
        ./try

and I got the following output:

ld: 0706-006 Cannot find or open library file: -l bind
        ld:open(): No such file or directory
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.

....


Is this related with the broken bind library on aix 4.2 as described in
hints/aix.sh ?

Or should I use additionnale Configure flags ?

FYI,

"lslpp -l|grep vac" gives

  vac.C                      5.0.2.0  COMMITTED  C for AIX Compiler
  vac.C.readme.ibm           5.0.2.0  COMMITTED  C for AIX iFOR/LS
Information
  vacpp.cmp.rte              5.0.2.0  COMMITTED  VisualAge C++ Compiler
  vac.C                      5.0.2.0  COMMITTED  C for AIX Compiler

"oslevel" gives

4.2.1.0

"lslpp -l|grep 'bos.rte '" gives

  bos.rte                    4.2.1.5  COMMITTED  Base Operating System
Runtime
  bos.rte                    4.2.1.0  COMMITTED  Base Operating System
Runtime

I ran "sh Configure -Dprefix=/usr/opt/perl-5.6.1 -des 2>&1 |tee
Configure.out"

see Configure.out attached

(See attached file: Configure.out)

Thanks by advance for your help
José A-E
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About