- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perl DBI installation problems
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
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
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
тАО09-21-2005 10:18 PM
тАО09-21-2005 10:18 PM
I am trying to install DBI(1.48) on a server.
I am following these steps.
1,#perl Makefile.pl(successful)
2. #make (error - see below)
I received the following error.
# make
gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -mlp64 -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/opt/perl_64/lib/5.8.0/IA64.ARCHREV_0-thread-multi-LP64/CORE" -Wall -Wno-comment Perl.c
error 2005: invalid option '-x'
*** Error exit code 1
Stop.
# gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /scratch/joseph/pkgbuild/3.3.1/hpux-11/gcc-4.0.0/configure --enable-languages=c,c++ --enable-threads=posix --disable-nls --disable-libmudflap --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as --with-ld=/usr/ccs/bin/ld --prefix=/usr/local
Thread model: posix
gcc version 4.0.0
# uname -a
HP-UX panda B.11.23 U ia64 0936137809 unlimited-user license
# perl -v
This is perl, v5.8.0 built for IA64.ARCHREV_0-thread-multi-LP64
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2002, Larry Wall
Binary build 806 provided by ActiveState Corp. http://www.ActiveState.com
Built 22:05:45 May 2 2003
Any would would be greatly appreciated.
Thanks,
Justin Jin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 10:35 PM
тАО09-21-2005 10:35 PM
Re: perl DBI installation problems
Try to use the gmake utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 10:38 PM
тАО09-21-2005 10:38 PM
Re: perl DBI installation problems
http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.7/
5.8.8 is due in a month (or two)
gcc-4.0.0 is not being nice to me in 64bit mode on HP-UX, so I went back (or forward) to gcc-3.4.4
I see no -x option in the command line preceding the error.
What I *expect* is that, since your perl is that old, perl was built with different gcc options (due to an older gcc) than you are now having support for in gcc-4.0.0
In your case, I'd suggest to build perl-5.8.7 from scratch (source) and then install the modules you need.
Enjoy, Have FUN! H.Merijn [ who suspects more followup, since most people install DBI to be used with DBD::Oracle and since Oracle itself is not built with gcc, expect dragons there ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 11:29 PM
тАО09-21-2005 11:29 PM
Re: perl DBI installation problems
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 11:47 PM
тАО09-21-2005 11:47 PM
Re: perl DBI installation problems
I have installed NEW perl from http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.7/
# perl -v
This is perl, v5.8.7 built for IA64.ARCHREV_0
Copyright 1987-2005, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
But the issue occured still.
# make
cp Changes blib/lib/DBI/Changes.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp Roadmap.pod blib/lib/Roadmap.pod
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/contrib/Q4/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/contrib/Q4/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
gcc -c -D_HPUX_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -O0 -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/local/lib/perl5/5.8.7/IA64.ARCHREV_0/CORE" -Wall -Wno-comment -DDBI_NO_THREADS Perl.c
error 2005: invalid option '-x'
*** Error exit code 2
Thanks again,
Justin Jin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 11:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 11:57 PM
тАО09-21-2005 11:57 PM
Re: perl DBI installation problems
Yes,
I have run #make realclean before i run perl Makefile.PL.
-Justin Jin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2005 02:00 AM
тАО09-22-2005 02:00 AM
Re: perl DBI installation problems
Enjoy, Have FUN! H.Merijn