Hi there,
I have an AIX 5.1 machine and I wish to use
the perl DBI and oracle DBD in this machine. I have
tried to install them by downloading DBI-1.45.tar and
DBD-Oracle-2.15.tar files from http://www.cpan.org/
So, I uncompressed the DBI-1.45.tar file and followed
the README file instructions.
First, I runned the folowing command:
perl Makefile.PL
this created the Makefile
So, I tried to run the make command, but I got the
following error:
" 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=\"1.45\"
-DXS_VERSION=\"1.45\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"
Perl.c
/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is
127."
So, I changed the compiler from cc_r to cc, runned
make again and got this error message:
" cc -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=\"1.45\"
-DXS_VERSION=\"1.45\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"
Perl.c
"/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h",
line 610.16: 1506-007 (S) "struct drand48_data" is
undefined.
"/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h",
line 717.16: 1506-007 (S) "struct random_data" is
undefined.
make: 1254-004 The error code from the last command is
1.
Stop."
Can somebody help me to get the job done?
thanks in advance,
Pablo Salinas
_________________________________________________________
Do You Yahoo!?
Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias.
Vis�tanos en http://noticias.espanol.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>