- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Install Perl DBI-1.42 on HP-UX 11.23
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 01:51 AM
тАО10-20-2004 01:51 AM
Install Perl DBI-1.42 on HP-UX 11.23
I use Perl 5.8.5 and gcc 3.3.3
I get follow error after starting 'make':
gcc -c -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -O0 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I/usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE" -Wall -Wno-comment -DDBI_NO_THREADS DBI.c
In file included from /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4112,
from DBIXS.h:19,
from DBI.xs:12:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from /usr/local/lib/perl5/5.8.5/IA64.ARCHREV_0/CORE/perl.h:4113,
from DBIXS.h:19,
from DBI.xs:12:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
*** Error exit code 1
Stop.
Has anybody an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 01:56 AM
тАО10-20-2004 01:56 AM
Re: Install Perl DBI-1.42 on HP-UX 11.23
sr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
There might have been and ascii versus binary error ftp'ing the files up there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2004 03:30 AM
тАО10-27-2004 03:30 AM
Re: Install Perl DBI-1.42 on HP-UX 11.23
Fixed it by using the ANSI C compiler:
# /opt/bin/perl_64/bin/change_config_pm cc
# perl Makefile.PL
# make
# make install
...
It worked for me. Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 03:03 AM
тАО11-02-2004 03:03 AM
Re: Install Perl DBI-1.42 on HP-UX 11.23
I use PERL Modules DBI-1.45 and DBD-Oracle-1.16
Also I have installed thp HP C/ANSI C Compiler
1. change Perl config
/opt/perl_64/bin/change_config_pm cc
2. Install DBI Module
cd DBI-1.45
/opt/perl_64/bin/perl Makefile.PL
make
## Now I get some WARNINGS
Warning 197: "DBI.xs", line 2337 # Jump past initialization of variable 'h_perl'.
goto is_DESTROY_wrong_thread;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 952: "DBI.xs", line 2956 # Conversion of 'const char *' to 'char *' loses 'const'.
char *Statement = (ima_flags & IMA_UNRELATED_TO_STMT) ? "" : Nullch;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "DBI.xs", line 2956 # Types 'char *' and 'const char *' are not assignment-compatible.
char *Statement = (ima_flags & IMA_UNRELATED_TO_STMT) ? "" : Nullch;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make test
## The test is running well
make install
3. Install DBD-Oracle
Seting Oracle Environments
cd DBD-Oracle-1.16
/opt/perl_64/bin/perl Makefile.PL
make
make test
## The test is running well
make install
## At last I started my own Perl script to query my database and it's running well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2004 06:51 PM
тАО11-02-2004 06:51 PM