Re: Installing Perl DBI and Oracle DBD in AIX 5.1

2004-10-19 Thread Pablo Salinas
Hi,
 Thanks for your help. I searched the cc_r
compiler in my AIX system, then copied the path to the
Makefile and everything runned smoothly.
After that, I installed the Oracle DBI by following
the README instructions.

thanks again,
  Pablo Salinas


 --- Wiggins d Anconia [EMAIL PROTECTED]
escribió: 
  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/
 
 
 This is a rather difficult combination and I know
 there has been lots of
 discussion about installing DBI on AIX and with
 Oracle on the dbi-users
 list, you may want to check the archives for it for
 help.
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/
  
  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:
  
 
 I am assuming the installer pulled cc_r from the
 config for Perl, check
 it with perl -V.  Modules generally have to be built
 with the same
 compiler used to build Perl which is why you would
 get this second set
 of errors. Is 'cc_r' not installed on the system? 
 Was the Perl
 installed with a binary, or built on a different
 system?
 
 I suspect you will need to match up the compiler of
 Perl with the ones
 you have available.
 
  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
  
 
 If you don't get a satisfactory answer from this
 list I would definitely
 try the dbi-users list they are very good about
 helping with installations.
 
 http://danconia.org
 
 
 -- 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 http://learn.perl.org/
 http://learn.perl.org/first-response
 
 
  

_
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




Installing Perl DBI and Oracle DBD in AIX 5.1

2004-10-15 Thread Pablo Salinas
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