Trouble compiling Perl module on AIX 5.2

Ian Stuart <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

I have AIX 5.2 , Perl 5.0.8 and gcc 3.3.2.0,  IBMs HTTPServer (Apache) 
with mod_fastcgi already installed and FCGI was compiled from 
fcgi-2.4.0.  I am  trying to compile the Perl module  in fcgi-2.4.0 but 
get an error after running the make.  I get the same error when 
compiling from fcgi-0.67.  Can someone shed any light on what is 
happening and how to fix this.

# perl Makefile.PL
Writing Makefile for FCGI
# make
        cc_r -c  -I. -I/epp3/apache/fcgi-2.4.0/perl/../include  
-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.67\"  -DX
S_VERSION=\"0.67\"  "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   
FCGI.c
/bin/sh: cc_r:  not found.
make: 1254-004 The error code from the last command is 127.


Stop.

Im the Makefile,  CC = cc_r, which appears to be the problem  - I have 
tried setting this to gcc but get other errors related  compiler options.

Many thanks
Ian  Stuart

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.