RE: Oracle DBI for HP

2007-07-03 Thread pyers.symon
You should find that you wll have virtally no problems with that.You might need 
to build perl afresh though.



From: Robert Hicks [mailto:[EMAIL PROTECTED]
Sent: Tue 03/07/2007 17:33
To: dbi-users@perl.org
Subject: Re: Oracle DBI for HP



[EMAIL PROTECTED] wrote:
> Can you get hold of an HP ANSI C compiler?
>
> p

Yes I can.

R




Re: Oracle DBI for HP

2007-07-03 Thread Robert Hicks

[EMAIL PROTECTED] wrote:

Can you get hold of an HP ANSI C compiler?

p


Yes I can.

R


RE: Oracle DBI for HP

2007-07-03 Thread pyers.symon
Can you get hold of an HP ANSI C compiler?

p



> -Original Message-
> From: Robert Hicks [mailto:[EMAIL PROTECTED] 
> Sent: 03 July 2007 16:19
> To: dbi-users@perl.org
> Subject: Re: Oracle DBI for HP
> 
> 
> [EMAIL PROTECTED] wrote:
> > 
> > The basic rule about building perl, DBD & Oracle DBI on HP-UX (let 
> > alone
> > Itanium) using gcc is don't. Life is far far too short for 
> it since you
> > will hit problem after problem. It is possible using HP's native C
> > compiler (in fact it is straight forwards) but if you are 
> using a  gcc
> > compiled perl then it is an absolute horror.
> > 
> > The trick is to get a version of perl that has had the hard 
> work done 
> > for you and prepared for Oracle:
> > 
> > H. Merijn Brand's download site has all the versions
> > 
> > http://mirrors.develooper.com/hpux
> > 
> > and
> > 
> > http://mirrors.develooper.com/hpux/downloads.html
> > 
> > I used the following version which has the DBI module already 
> > installed:
> > 
> > "11.23 / 64 and perl 5.8.8 + defined-or + DBI 1.53 + Tk 
> 804.027 built 
> > with gcc-4.1." (It is down at the bottom!)
> > 
> 
> I have to use the 5.6 series...  : (
> 
> Robert
> 


Re: Oracle DBI for HP

2007-07-03 Thread Robert Hicks

[EMAIL PROTECTED] wrote:


The basic rule about building perl, DBD & Oracle DBI on HP-UX (let alone
Itanium) using gcc is don't. Life is far far too short for it since you
will hit problem after problem. It is possible using HP's native C
compiler (in fact it is straight forwards) but if you are using a  gcc
compiled perl then it is an absolute horror.

The trick is to get a version of perl that has had the hard work done
for you and prepared for Oracle:

H. Merijn Brand's download site has all the versions 


http://mirrors.develooper.com/hpux

and 


http://mirrors.develooper.com/hpux/downloads.html

I used the following version which has the DBI module already installed:

"11.23 / 64 and perl 5.8.8 + defined-or + DBI 1.53 + Tk 804.027 built
with gcc-4.1." (It is down at the bottom!)



I have to use the 5.6 series...  : (

Robert


Oracle DBI for HP

2007-07-03 Thread pyers.symon


The basic rule about building perl, DBD & Oracle DBI on HP-UX (let alone
Itanium) using gcc is don't. Life is far far too short for it since you
will hit problem after problem. It is possible using HP's native C
compiler (in fact it is straight forwards) but if you are using a  gcc
compiled perl then it is an absolute horror.

The trick is to get a version of perl that has had the hard work done
for you and prepared for Oracle:

H. Merijn Brand's download site has all the versions 

http://mirrors.develooper.com/hpux

and 

http://mirrors.develooper.com/hpux/downloads.html

I used the following version which has the DBI module already installed:

"11.23 / 64 and perl 5.8.8 + defined-or + DBI 1.53 + Tk 804.027 built
with gcc-4.1." (It is down at the bottom!)

Note that these are 64 bit versions of perl

These install into /opt/perl64 (following uncompressing [bunzip2] &
swinstall)

perl -v
This is perl, v5.8.8 built for IA64.ARCHREV_0-LP64
(with 1 registered patch, see perl -V for more detail) Copyright
1987-2006, Larry Wall

I used HP's gcc 4.2.0 build  (as opposed to the one on the Porting and
Archiving Centre) 
which you can get here: 

http://h21007.www2.hp.com/portal/site/dspp/PAGE.template/page.document?c
iid=2a08725cc2f02110725cc2f02110275d6e10RCRD&jumpid=reg_R1002_USEN

(You will need to register)

This installs into /opt/hp-gcc

I built against Oracle's Instant Client Libraries (64 bit versions)
which I installed 
into /opt/Instant_Client/instantclient_10_2

Set ORACLE_HOME to /opt/Instant_Client/instantclient_10_2  
Set LD_LIBRARY_PATH=$ORACLE_HOME

and off you go 

Pyers

















> -Original Message-
> From: Robert Hicks [mailto:[EMAIL PROTECTED] 
> Sent: 03 July 2007 14:38
> To: dbi-users@perl.org
> Subject: Re: Oracle make test failing on HP/UX
> 
> 
> [EMAIL PROTECTED] wrote:
> > Note the libraries. perl is 64 bit whereas you are trying 
> to load 32 
> > bit libraries.
> > 
> > I have built Oracle DBI on Itanium if you want further info
> > 
> > P
> > 
> 
> I would be much ablidged if you could share.  : )
> 
> Robert
> 


Re: Oracle make test failing on HP/UX

2007-07-03 Thread Robert Hicks

John Scoles wrote:

Looks like you are pointing to the 64 bit binarys.
You will have to use a 32 bit oracle client.
You best bet is to use the 32 bit instantclient for HP.
Set your ORACLE_HOME to the dir you install the 32 bit instant cleint 
and the LD_LIBRARY_PATH to LD_LIBRARY_PATH=$ORACLE_HOME:$ORACLE_HOME/lib

and see what happend


I will try that as well. I have both the LD and SHLIB set in the env but 
I think the LD one points to the 64 bit libs.


Robert



Re: Oracle make test failing on HP/UX

2007-07-03 Thread Robert Hicks

[EMAIL PROTECTED] wrote:

Note the libraries. perl is 64 bit whereas you are trying to load 32 bit
libraries.

I have built Oracle DBI on Itanium if you want further info

P



I would be much ablidged if you could share.  : )

Robert


RE: help compiling error on DBI.

2007-07-03 Thread Floyd Wellershaus
You're correct. I get a signal 11 when compiling a simple hello world.
I'll send to my sysadmin. 

Thanks.
Floyd

-Original Message-
From: Martin Evans [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 03, 2007 9:27 AM
To: dbi-users@perl.org
Subject: Re: help compiling error on DBI.

Floyd Wellershaus wrote:
> Thanks. That's not it. I have plenty of disk space. Not sure what
> license you're talking about though.

Have you got an enabled license for the compiler? Our xlc exits wirh 
signal 11 if we have not got a valid, enabled license. Just try 
compiling a simple hello world C program to see if it is working at all.

Martin

> -Original Message-
> From: Martin Evans [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 03, 2007 9:14 AM
> To: dbi-users@perl.org
> Subject: Re: help compiling error on DBI.
> 
> Floyd Wellershaus wrote:
>> Hello,
>>
>>  
>>
>> I'm trying to install DBI on an AIX 5.2 machine.
>>
>> I got the files from /usr/bin/perl -MCPAN -e 'install DBI'
>>
>>  
>>
>> Whenever it runs the make portion, I get the following error that I
>> can't get past.
>>
>>  
>>
>> /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp
> -typemap
>> /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
>> Perl.xsc && mv Perl.xsc Perl.c
>>
>> 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.58\"
>> -DXS_VERSION=\"1.58\"
>> "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c
>>
>> cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11
> received
>> make: 1254-004 The error code from the last command is 251.
>>
>>  
>>
>> Any advice would be greatly appreciated.
>>
>>  
>>
>> Thanks,
>>
>> Floyd
>>
>>  
>>
>>  
>>
>> Floyd Wellershaus
>>
>> National Student Clearinghouse
>>
>> [EMAIL PROTECTED]  
>>
>> 703-733-4126.
>>
>>
> 
> It may be the bug I found with xlc some time ago which was either 1. 
> you've run out of disk space - check especially /var or 2. you have
lost
> 
> your license. I think it was 1.
> 
> Martin


Re: help compiling error on DBI.

2007-07-03 Thread Martin Evans

Floyd Wellershaus wrote:

Thanks. That's not it. I have plenty of disk space. Not sure what
license you're talking about though.


Have you got an enabled license for the compiler? Our xlc exits wirh 
signal 11 if we have not got a valid, enabled license. Just try 
compiling a simple hello world C program to see if it is working at all.


Martin


-Original Message-
From: Martin Evans [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 03, 2007 9:14 AM

To: dbi-users@perl.org
Subject: Re: help compiling error on DBI.

Floyd Wellershaus wrote:

Hello,

 


I'm trying to install DBI on an AIX 5.2 machine.

I got the files from /usr/bin/perl -MCPAN -e 'install DBI'

 


Whenever it runs the make portion, I get the following error that I
can't get past.

 


/usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp

-typemap

/usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c

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.58\"
-DXS_VERSION=\"1.58\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c

cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11

received

make: 1254-004 The error code from the last command is 251.

 


Any advice would be greatly appreciated.

 


Thanks,

Floyd

 

 


Floyd Wellershaus

National Student Clearinghouse

[EMAIL PROTECTED]  


703-733-4126.




It may be the bug I found with xlc some time ago which was either 1. 
you've run out of disk space - check especially /var or 2. you have lost


your license. I think it was 1.

Martin


RE: help compiling error on DBI.

2007-07-03 Thread Floyd Wellershaus
Thanks. That's not it. I have plenty of disk space. Not sure what
license you're talking about though.

-Original Message-
From: Martin Evans [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 03, 2007 9:14 AM
To: dbi-users@perl.org
Subject: Re: help compiling error on DBI.

Floyd Wellershaus wrote:
> Hello,
> 
>  
> 
> I'm trying to install DBI on an AIX 5.2 machine.
> 
> I got the files from /usr/bin/perl -MCPAN -e 'install DBI'
> 
>  
> 
> Whenever it runs the make portion, I get the following error that I
> can't get past.
> 
>  
> 
> /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp
-typemap
> /usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
> Perl.xsc && mv Perl.xsc Perl.c
> 
> 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.58\"
> -DXS_VERSION=\"1.58\"
> "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c
> 
> cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11
received
> 
> make: 1254-004 The error code from the last command is 251.
> 
>  
> 
> Any advice would be greatly appreciated.
> 
>  
> 
> Thanks,
> 
> Floyd
> 
>  
> 
>  
> 
> Floyd Wellershaus
> 
> National Student Clearinghouse
> 
> [EMAIL PROTECTED]  
> 
> 703-733-4126.
> 
> 

It may be the bug I found with xlc some time ago which was either 1. 
you've run out of disk space - check especially /var or 2. you have lost

your license. I think it was 1.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com


Re: Oracle make test failing on HP/UX

2007-07-03 Thread John Scoles

Looks like you are pointing to the 64 bit binarys.
You will have to use a 32 bit oracle client.
You best bet is to use the 32 bit instantclient for HP.
Set your ORACLE_HOME to the dir you install the 32 bit instant cleint and 
the LD_LIBRARY_PATH to LD_LIBRARY_PATH=$ORACLE_HOME:$ORACLE_HOME/lib

and see what happend
- Original Message - 
From: "Robert Hicks" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, July 03, 2007 9:08 AM
Subject: Oracle make test failing on HP/UX


I am trying to install DBD::Oracle (yes I did read the README) on HP/UX 
11.23 (itanium). I have DBI installed properly and I tested using 
DBD::SQLite.


When I go to install the Oracle stuff I get this during a "make test":

./usr/lib/hpux32/dld.so: Cannot dlopen load module 
'/usr/lib/hpux32/libpthread.so.1' because it contains thread specific 
data.

Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load 
'/users/rhicks/src/DBD-Oracle-1.17/blib/arch/auto/DBD/Oracle/Oracle.so' 
for module DBD::Oracle: Exec format error at 
/opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64/DynaLoader.pm line 206.

 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/01base.t line 19
The remaining tests will probably also fail with the same error.


I did *not* build a threaded Perl because that gives a harsh warning when 
installing Perl. We are moving from PA-RISC 11.11 to the Itanium and the 
Perl configure mirrors that one (except we moved up to 5.6.2).


I have installed:

DBI 1.58
DBD::Oracle (trying with 1.17 and 1.19)
Perl 5.6.2

Here is my perl -V:

Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration:
  Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64
uname='hp-ux sarx1 b.11.23 u ia64 2819161144 unlimited-user license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef

useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
  Compiler:
cc='cc', ccflags 
=' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
',

optimize='+O2 +Onolimit',
cppflags='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8

alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/usr/lib/hpux32'
libpth=/usr/local/lib /usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lc -lsec
perllibs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=false, 
libperl=libperl.a

  Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-Wl,-E -Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b 
+vnocompatwarnings -L/usr/local/lib -L/usr/lib/hpux32'



Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Built under hpux
  Compiled at Jul  3 2007 11:47:15
  @INC:
/opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/5.6.2
/opt/perl5/lib/site_perl/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/site_perl/5.6.2
/opt/perl5/lib/site_perl
.





Re: help compiling error on DBI.

2007-07-03 Thread Martin Evans

Floyd Wellershaus wrote:

Hello,

 


I'm trying to install DBI on an AIX 5.2 machine.

I got the files from /usr/bin/perl -MCPAN -e 'install DBI'

 


Whenever it runs the make portion, I get the following error that I
can't get past.

 


/usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap
/usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c

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.58\"
-DXS_VERSION=\"1.58\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c

cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11 received

make: 1254-004 The error code from the last command is 251.

 


Any advice would be greatly appreciated.

 


Thanks,

Floyd

 

 


Floyd Wellershaus

National Student Clearinghouse

[EMAIL PROTECTED]  


703-733-4126.




It may be the bug I found with xlc some time ago which was either 1. 
you've run out of disk space - check especially /var or 2. you have lost 
your license. I think it was 1.


Martin
--
Martin J. Evans
Easysoft Limited
http://www.easysoft.com


RE: Oracle make test failing on HP/UX

2007-07-03 Thread pyers.symon
Note the libraries. perl is 64 bit whereas you are trying to load 32 bit
libraries.

I have built Oracle DBI on Itanium if you want further info

P

> -Original Message-
> From: Robert Hicks [mailto:[EMAIL PROTECTED] 
> Sent: 03 July 2007 14:08
> To: dbi-users@perl.org
> Subject: Oracle make test failing on HP/UX
> 
> 
> I am trying to install DBD::Oracle (yes I did read the 
> README) on HP/UX 
> 11.23 (itanium). I have DBI installed properly and I tested using 
> DBD::SQLite.
> 
> When I go to install the Oracle stuff I get this during a "make test":
> 
> ./usr/lib/hpux32/dld.so: Cannot dlopen load module 
> '/usr/lib/hpux32/libpthread.so.1' because it contains thread 
> specific data. Failed to load Oracle extension and/or shared 
> libraries:
> install_driver(Oracle) failed: Can't load 
> '/users/rhicks/src/DBD-Oracle-1.17/blib/arch/auto/DBD/Oracle/O
> racle.so' 
> for module DBD::Oracle: Exec format error at 
> /opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64/DynaLoader.pm line 206.
>   at (eval 1) line 3
> Compilation failed in require at (eval 1) line 3.
> Perhaps a required shared library or dll isn't installed 
> where expected
>   at t/01base.t line 19
> The remaining tests will probably also fail with the same error.
> 
> 
> I did *not* build a threaded Perl because that gives a harsh warning 
> when installing Perl. We are moving from PA-RISC 11.11 to the Itanium 
> and the Perl configure mirrors that one (except we moved up to 5.6.2).
> 
> I have installed:
> 
> DBI 1.58
> DBD::Oracle (trying with 1.17 and 1.19)
> Perl 5.6.2
> 
> Here is my perl -V:
> 
> Summary of my perl5 (revision 5.0 version 6 subversion 2) 
> configuration:
>Platform:
>  osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64
>  uname='hp-ux sarx1 b.11.23 u ia64 2819161144 
> unlimited-user license '
>  config_args=''
>  hint=recommended, useposix=true, d_sigaction=define
>  usethreads=undef use5005threads=undef useithreads=undef 
> usemultiplicity=undef
>  useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
>  use64bitint=define use64bitall=undef uselongdouble=undef
>Compiler:
>  cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
>  optimize='+O2 +Onolimit',
>  cppflags='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings'
>  ccversion='', gccversion='', gccosandvers=''
>  intsize=4, longsize=4, ptrsize=4, doublesize=8, 
> byteorder=87654321
>  d_longlong=define, longlongsize=8, d_longdbl=define, 
> longdblsize=16
>  ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
> Off_t='off_t', lseeksize=8
>  alignbytes=8, usemymalloc=n, prototype=define
>Linker and Libraries:
>  ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/usr/lib/hpux32'
>  libpth=/usr/local/lib /usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib
>  libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lc -lsec
>  perllibs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
>  libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=false, 
> libperl=libperl.a
>Dynamic Linking:
>  dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E 
> -Wl,-B,deferred '
>  cccdlflags='+Z', lddlflags='-b +vnocompatwarnings 
> -L/usr/local/lib 
> -L/usr/lib/hpux32'
> 
> 
> Characteristics of this binary (from libperl):
>Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
>Built under hpux
>Compiled at Jul  3 2007 11:47:15
>@INC:
>  /opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64
>  /opt/perl5/lib/5.6.2
>  /opt/perl5/lib/site_perl/5.6.2/IA64.ARCHREV_0-LP64
>  /opt/perl5/lib/site_perl/5.6.2
>  /opt/perl5/lib/site_perl
>  .
> 


Oracle make test failing on HP/UX

2007-07-03 Thread Robert Hicks
I am trying to install DBD::Oracle (yes I did read the README) on HP/UX 
11.23 (itanium). I have DBI installed properly and I tested using 
DBD::SQLite.


When I go to install the Oracle stuff I get this during a "make test":

./usr/lib/hpux32/dld.so: Cannot dlopen load module 
'/usr/lib/hpux32/libpthread.so.1' because it contains thread specific data.

Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load 
'/users/rhicks/src/DBD-Oracle-1.17/blib/arch/auto/DBD/Oracle/Oracle.so' 
for module DBD::Oracle: Exec format error at 
/opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64/DynaLoader.pm line 206.

 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/01base.t line 19
The remaining tests will probably also fail with the same error.


I did *not* build a threaded Perl because that gives a harsh warning 
when installing Perl. We are moving from PA-RISC 11.11 to the Itanium 
and the Perl configure mirrors that one (except we moved up to 5.6.2).


I have installed:

DBI 1.58
DBD::Oracle (trying with 1.17 and 1.19)
Perl 5.6.2

Here is my perl -V:

Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration:
  Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-LP64
uname='hp-ux sarx1 b.11.23 u ia64 2819161144 unlimited-user license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef

useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
  Compiler:
cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',

optimize='+O2 +Onolimit',
cppflags='-Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8

alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/usr/lib/hpux32'
libpth=/usr/local/lib /usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lc -lsec
perllibs=-lnsl -lnm -ldl -ldld -lm -lc -lsec
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=false, 
libperl=libperl.a

  Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E 
-Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib 
-L/usr/lib/hpux32'



Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Built under hpux
  Compiled at Jul  3 2007 11:47:15
  @INC:
/opt/perl5/lib/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/5.6.2
/opt/perl5/lib/site_perl/5.6.2/IA64.ARCHREV_0-LP64
/opt/perl5/lib/site_perl/5.6.2
/opt/perl5/lib/site_perl
.


RE: help compiling error on DBI.

2007-07-03 Thread Garrett, Philip \(MAN-Corporate\)
This looks like a bug in your C compiler.  I'd recommend making sure
your xlC (or VisualAge C or whatever) is fully patched.

-Original Message-
From: Floyd Wellershaus [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 03, 2007 7:31 AM
To: dbi-users@perl.org
Subject: help compiling error on DBI.

Hello,

 

I'm trying to install DBI on an AIX 5.2 machine.

I got the files from /usr/bin/perl -MCPAN -e 'install DBI'

 

Whenever it runs the make portion, I get the following error that I
can't get past.

 

/usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap
/usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c

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.58\"
-DXS_VERSION=\"1.58\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c

cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11 received

make: 1254-004 The error code from the last command is 251.

 

Any advice would be greatly appreciated.

 

Thanks,

Floyd

 

 

Floyd Wellershaus

National Student Clearinghouse

[EMAIL PROTECTED]  

703-733-4126.



help compiling error on DBI.

2007-07-03 Thread Floyd Wellershaus
Hello,

 

I'm trying to install DBI on an AIX 5.2 machine.

I got the files from /usr/bin/perl -MCPAN -e 'install DBI'

 

Whenever it runs the make portion, I get the following error that I
can't get past.

 

/usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap
/usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c

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.58\"
-DXS_VERSION=\"1.58\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE"   Perl.c

cc_r: 1501-224 fatal error in /usr/vac/exe/xlcentry: signal 11 received

make: 1254-004 The error code from the last command is 251.

 

Any advice would be greatly appreciated.

 

Thanks,

Floyd

 

 

Floyd Wellershaus

National Student Clearinghouse

[EMAIL PROTECTED]  

703-733-4126.