Hello, I am trying to compile DBD-DB2 on HP-UX 11.00, but I am having several problems. The DB2 App Dev requirement is installed.
1. I am running perl 5.6.1 (installed from an HP software depot), but the Makefile.PL is showing perl 5.006. This may not really be an issue. I have modified the script to point to the correct perl. Here is the output of Makefile.PL. # perl Makefile.PL Configuring DBD::DB2... Remember to actually read the README and CAVEATS files! Using DB2 in "/opt/IBMdb2/V7.1" System: perl5.006001 DBI1.20 hp-ux llbertha b.11.00 u 9000800 2002402864 unlimited-user license PA-RISC1.1-thread-multi dl_hpux.xs Compiler: gcc -O -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Includes: -I"/opt/IBMdb2/V7.1/include" -I/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/DBI Libraries: -L/opt/IBMdb2/V7.1/lib -ldb2 -lcl Checking if your kit is complete... Looks good Checking if your kit is complete... Looks good Writing Makefile for DBD::DB2::Constants Writing Makefile for DBD::DB2 # ------------------------------------------------------------------------------------------ 2. I have read the cav and readme files. I am confused on the HP-UX compiler options. I have added the option to the Makefile with no luck. Here is the result of the make command. I am running gcc V3.2.3. Perl was installed using and HP software depot. # make cp DB2.pod blib/lib/DBD/DB2.pod cp lib/Bundle/DBD/DB2.pm blib/lib/Bundle/DBD/DB2.pm cp DB2.pm blib/lib/DBD/DB2.pm cp Constants.pm ../blib/lib/DBD/DB2/Constants.pm AutoSplitting ../blib/lib/DBD/DB2/Constants.pm (../blib/lib/auto/DBD/DB2/Constants) /usr/contrib/bin/perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -typemap /opt/perl/lib/5.6.1/ExtUtils/typemap Constants.xs > Constants.xsc && mv Constants.xsc Constants.c gcc -c -I"/opt/IBMdb2/V7.1/include" -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE +Onolimit +e Constants.c gcc: +Onolimit: No such file or directory *** Error exit code 1 Stop. *** Error exit code 1 Stop. Any help would be greatly appreciated! TIA, Craig A. Sharp Unix Systems Administrator DNS Administrator Security Administrator Roush Industries Office: 734-466-6286 Cell: 734-231-6769 Fax: 734-466-6939 [EMAIL PROTECTED] ==================================================== I have not lost my mind, it's backed up on tape somewhere! ====================================================