First, is this the right place to ask questions about compiling DBD::Oracle?
I am having trouble building with DBD-Oracle 1.19 Against the stock perl in Solaris 10, I get an error that looks like this: -------------- LD_RUN_PATH="/oracle/product/9.2.0.7/lib32:/oracle/product/9.2.0.7/rdbms/lib32" cc -G Oracle.o dbdimp.o oci8.o cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra -W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate -Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -L/oracle/product/9.2.0.7/rdbms/lib32/ -L/oracle/product/9.2.0.7/lib32/ -lclntsh `cat /oracle/product/9.2.0.7/lib32/ldflags` `cat /oracle/product/9.2.0.7/lib32/sysliblist` -R/oracle/product/9.2.0.7/lib32 -laio -lposix4 -lkstat -lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so ld: fatal: file cc: open failed: No such file or directory ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/Oracle/Oracle.so *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so' --------------- So it seems that the perl Makefile.PL is putting "cc" on the ld commandline and ld is trying to open cc. That seems odd. It shows up in OTHERLDFLAGS. So when I edit the Makefile that is created to just remove cc, everything works fine. See: http://groups.google.com/group/perl.dbi.users/browse_frm/thread/d1eb4267a3721668/70f75626c884f609?lnk=st&q=ld%3A+fatal%3A+file+cc%3A+open+failed%3A+No+such+file+or+directory#70f75626c884f609 Anyone know the Makefile.PL well enough to say why cc ends up in the OTHERLDFLAGS, since its not a flag? Is there something I should add to the commandline of Makefile.PL when I run it? Thanks for any advice... nicholas
