Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: perl DBI and DBD

by bluethundr (Pilgrim)
on May 27, 2012 at 22:55 UTC ( #972756=note: print w/replies, xml ) Need Help??

in reply to Re: perl DBI and DBD
in thread perl DBI and DBD

Hello and thanks for your reply.

Here's everything from that perl && make session:
[db07-dc2:~/DBI-1.618] user% perl Makefile.PL && make 2>&1 >& perlbug. +txt Skip blib/arch/auto/DBI/Driver_xst.h (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBI/Gofer/ (unchanged) Skip blib/lib/DBI/Gofer/Transport/ (unchanged) Skip blib/lib/DBI/Util/ (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/arch/auto/DBI/DBIXS.h (unchanged) Skip blib/lib/ (unchanged) Skip blib/lib/DBI/Const/ (unchanged) Skip blib/lib/DBI/Gofer/Serializer/ (unchanged) Skip blib/lib/DBI/DBD/ (unchanged) Skip blib/lib/DBD/Gofer/Transport/ (unchanged) Skip blib/lib/DBI/Const/GetInfo/ (unchanged) Skip blib/lib/DBI/ProfileDumper/ (unchanged) Skip blib/lib/DBD/File/Roadmap.pod (unchanged) Skip blib/arch/auto/DBI/Driver.xst (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBI/Util/ (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/arch/auto/DBI/dbi_sql.h (unchanged) Skip blib/lib/DBD/File/HowTo.pod (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/arch/auto/DBI/dbivport.h (unchanged) Skip blib/arch/auto/DBI/dbd_xsh.h (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/HowTo.pod (unchanged) Skip blib/arch/auto/DBI/dbixs_rev.h (unchanged) Skip blib/lib/DBD/Gofer/Transport/ (unchanged) Skip blib/lib/DBD/Gofer/Transport/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBD/Gofer/Policy/ (unchanged) Skip blib/lib/DBI/SQL/ (unchanged) Skip blib/lib/DBI/Const/GetInfo/ (unchanged) Skip blib/lib/DBI/Gofer/ (unchanged) Skip blib/lib/DBD/Gofer/Transport/ (unchanged) Skip blib/lib/DBD/Gofer/Policy/ (unchanged) Skip blib/lib/DBI/Const/ (unchanged) Skip blib/lib/DBD/Gofer/Policy/ (unchanged) Skip blib/lib/ (unchanged) Skip blib/lib/DBI/Gofer/Serializer/ (unchanged) Skip blib/lib/DBI/Gofer/Transport/ (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBD/Gofer/Policy/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBI/DBD/SqlEngine/Developers.pod (unchanged) Skip blib/lib/DBI/Gofer/Transport/ (unchanged) Skip blib/lib/DBD/Gofer/Transport/ (unchanged) Skip blib/lib/Bundle/ (unchanged) Skip blib/lib/DBD/File/Developers.pod (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBI/Gofer/Serializer/ (unchanged) Skip blib/arch/auto/DBI/dbipport.h (unchanged) Skip blib/lib/DBI/Gofer/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBI/DBD/ (unchanged) Skip blib/lib/Win32/ (unchanged) Skip blib/lib/DBI/ (unchanged) Skip blib/lib/DBD/ (unchanged) Skip blib/lib/DBI/ (unchanged) cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ER +RNO -xO3 -xspace -xildoff -DVERSION=\"1.618\" -DXS_VERSION=\"1.61 +8\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_ +THREADS Perl.c cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: Perl.c: linker input file unused because linking not done /bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5. +8.4/lib/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI +.xsc DBI.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ER +RNO -xO3 -xspace -xildoff -DVERSION=\"1.618\" -DXS_VERSION=\"1.61 +8\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_ +THREADS DBI.c cc: unrecognized option `-KPIC' cc: language ildoff not recognized cc: DBI.c: linker input file unused because linking not done Running Mkbootstrap for DBI () chmod 644 rm -f blib/arch/auto/DBI/ cc -G DBI.o -o blib/arch/auto/DBI/ \ \ cc: DBI.o: No such file or directory cc: no input files *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.s +o'

It seems like it might be a compiler issue, but when I try out gcc and cc on their own they seem fine.

[db07-dc2:~/DBI-1.618] root% cc -v Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/spec +s Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr +/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 [db07-dc2:~] root% gcc -v Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/spec +s Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr +/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6

Before running configure and make I set my CC and GCC settings like this:
[db07-dc2:~/DBI-1.618] root% echo $GCC /usr/local/bin/gcc [db07-dc2:~/DBI-1.618] root% echo $cc /usr/local/bin/cc

Also, I realize that DBD won't function without DBI. I was just curious to see if DBD would compile or give a similar error to DBI and fail. :-)

Thanks for your input I hope I can get this working.

Replies are listed 'Best First'.
Re^3: perl DBI and DBD
by Anonymous Monk on May 28, 2012 at 05:47 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972756]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-09-27 10:58 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (502 votes). Check out past polls.