Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl module will not compile - help

Status
Not open for further replies.

nabob1

Programmer
Jul 18, 2003
44
US
When I run make to compile a perl module on an AIX 5.2 server, this is what I get:

make
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" CSV_XS.c
/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.


Stop.

Can anyone help at figuring out what is wrong here? thanks.
 
has the C compiler for AIX been properly installed?
normally if you type cc_r you should get something like this :
C for AIX Compiler, Version 6

Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...

Description:
The xlC and related commands compile C and C++ source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlC calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .c suffix: C source file
2. file name with .i suffix: preprocessed C or C++ source file

check if you find cc_r under /usr/bin
if so , then set your path to include /usr/bin,if not, install the C compiler for AIX

greetz

R.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top