- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- PERL DBI and DBD revisted again ( sorry )
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
Forums
Discussions
Discussions
Discussions
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
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-11-2007 04:16 AM
10-11-2007 04:16 AM
I have a specific issue that I need some help with.
Trying to install the DBI and DBD latest versions. I am using recent GCC and PERL. Just downloaded all of this today. ( I can post specific info if it is really relevant ).
It looks to me like even though I supply the gcc path to the perl Makefile.PL it still throws in a number of ANSI\C switches during the make. Below is the errors from the make. Can I get some tips to correct/remove the ANSI/C switches from the Makefile ? Is it as simple as editing the Makefile and remove any references that I can find to the below errors ?
Forgive me in advance for my stupidity as I have little experience in C.
/opt/hp-gcc64/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit +Opromote_indirect_calls -DVERSION=\"1.59\" -DXS_VERSION=\"1.59\" +Z "-I/opt/perl_64/lib/5.8.8/PA-RISC2.0-thread-multi-LP64/CORE" Perl.c
gcc: +DD64: No such file or directory
gcc: +Z: No such file or directory
gcc: +O2: No such file or directory
gcc: +Onolimit: No such file or directory
gcc: +Opromote_indirect_calls: No such file or directory
gcc: +Z: No such file or directory
*** Error exit code 1
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 04:33 AM
10-11-2007 04:33 AM
SolutionIt appears that your Perl was compiled with the HP-UX C compiler. To (easily) compile modules with the 'gcc' compiler you need to download a version of Perl compiled with 'gcc'. You can verify the compiler used thusly:
# perl -V:cc
(and for details):
# perl -V::ccflags
You can fetch a 'gcc' built Perl from Merijn's web site:
http://mirrors.develooper.com/hpux/downloads.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 04:40 AM
10-11-2007 04:40 AM
Re: PERL DBI and DBD revisted again ( sorry )
I hate it when I miss-click or miss the simple stuff.
argggg...
Thanks !! again, and again, and again,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 06:20 AM
10-11-2007 06:20 AM
Re: PERL DBI and DBD revisted again ( sorry )
Or can we assume it is DBD-Pg, or DBD-SQLite, or (the horror, I feel with you for having to deal with one of the worst DB's, at least when seen from a developers point of view) DBD-Oracle?
Extra info for all: GNU gcc-4.2.2 has been released this week, and I cannot get it to build on HP-UX 11.23 IPF, so at least they missed here on `improving' the product.
Stay tuned, I won't give up (yet)
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 06:44 AM
10-11-2007 06:44 AM
Re: PERL DBI and DBD revisted again ( sorry )
DBD::Oracle 1.19 from CPAN
I seem to have come full circle as I found one of my posts from a few years ago getting caught in the circle of perl compiled with ANSI/C or perl compiled with gcc. http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=990842
Some modules requiring ansic and others requiring gcc. Once upon a time the dspp had two versions of perl available, one built with gcc the other ansic, but no more. All precompiled HP dists are with the $$ ansic.
I am working on installing the perl distribution 5.8.8 compiled with gcc from your site and am having erros during the make.
Bad character > (octal 76), line 72Make: . Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 07:10 AM
10-11-2007 07:10 AM
Re: PERL DBI and DBD revisted again ( sorry )
HP has given us great utilities, but make is not one of them.
If you cannot find it, I can make the most recent versions available.
Maybe I should do so anyway.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 08:10 AM
10-11-2007 08:10 AM
Re: PERL DBI and DBD revisted again ( sorry )
I do own a copy of ANSI\C. I am going to attempt the module build after I install this. I do not own the ANSI\C for all of my servers just 1 and hence was attempting to go down the GNU path.
I seem to remember from before that the makes for the perl modules would use the complile options that perl was installed with. Hence the new need for Perl w/ gcc vs Perl w/ Ansi\C.
Thanks again for the patient support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 06:27 PM
10-11-2007 06:27 PM
Re: PERL DBI and DBD revisted again ( sorry )
Most (if not all) settings can be seen with the -V (capital V) command line option
> perl -V:ccflags
ccflags=' -Ae -DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ';
The easiest way to see what C-coplier was used is also with the -V:
> perl -V:.*ccversion
ccversion='B3910B A.06.05';
gccversion='';
As a side note, pure-perl models (the ones that not use XS or a C-Compiler can safely be used/built on systems with a different compiler or no compiler at all.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2007 07:11 AM
10-17-2007 07:11 AM
Re: PERL DBI and DBD revisted again ( sorry )
I took the easy way out and compiled with my one and only installtion of ANCI/C. Luckily the modules are currently only requested on one system. Will find another way someday if/when more are requested.
The DBI and DBD modules compiled and installed without a single error.