Hello,

i'm trying out to get opensolaris 2009.05 work for me. 

Now i have a problem while installing some modules for perl.
For example, the command:
pfexec perl -MCPAN -e "install DBI"
exited with this error:
---------
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp  -typemap 
/usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && 
mv Perl.xsc Perl.c
cc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace 
-xildoff    -DVERSION=\"1.609\"  -DXS_VERSION=\"1.609\" -KPIC 
"-I/usr/perl5/5.8.4/lib/i86pc-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
/usr/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 -D_TS_ERRNO -xO3 -xspace 
-xildoff    -DVERSION=\"1.609\"  -DXS_VERSION=\"1.609\" -KPIC 
"-I/usr/perl5/5.8.4/lib/i86pc-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 DBI.bs
rm -f blib/arch/auto/DBI/DBI.so
LD_RUN_PATH="" cc  -G DBI.o  -o blib/arch/auto/DBI/DBI.so      
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.so'
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
----------
How can i install them? Where is the problem?

Thank you!
-- 
This message posted from opensolaris.org

Reply via email to