Hi Adam, I notice that you are using the +z option. This is a cc compiler directive, and does not exist in gcc. The equivalent is -fpic. I would guess that the +Onolimit option has the same problem, but I cannot tell you the gcc equivalent. If you read through the gcc docs at www.gnu.org, you should be able to find out.
.. On another note, I don't know if you are trying to install DBD::Oracle (the +z suggests you may be), no one has found the exact recipe to do it using gcc. If you do get this to work, I would be like to hear what was needed. Cheers, Jon -----Original Message----- From: Adam Stuckey [mailto:[EMAIL PROTECTED]] Sent: 19 May 2002 23:46 To: '[EMAIL PROTECTED]' Subject: DBI installation problem on HP-UX Hi All, I am having difficulty installing DBI-1.21 on HP-UX 11 I am running perl v5.6.1 and gcc 3.04 Running "perl Makefile.PL CC=gcc" completes successfully but when I run make it bombs out: root:mv36_1# make cp Changes blib/lib/DBI/Changes.pm cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm cp DBI.pm blib/lib/DBI.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm /opt/perl5/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Drive r.xst > Perl.xsi /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC1.1 -I/opt/perl5/lib/5 .6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp -typemap /opt/perl5/lib/5.6.1/ExtUtil s/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O +Onolimit - DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" +z -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CO RE -DDBI_NO_THREADS Perl.c gcc: +Onolimit: No such file or directory gcc: +z: No such file or directory <command line>: missing '(' after predicate *** Error exit code 1 Stop. root:mv36_1# Any Ideas?? Thanks. Adam Stuckey Disclaimer ___________________________________________________________ The information contained in this e-mail and any attachments are confidential. If you are not the intended recipient, then please notify us immediately by reply e-mail. You may not disclose or use the information in this e-mail or attached documents in any attachments, use the contents for any purposes, or disclose the contents to any other person: to do so could be a breach of confidence. The views or opinions expressed in this email are the author's own and may not reflect the views or opinions of Marconi. Marconi does not guarantee the integrity of any e-mails or attached files and we suggest you scan all incoming e-mails for viruses. ___________________________________________________________
