DBI install problem



I am having a problem installing DBI giving me this error:

gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DDBI_NO_THREADS Perl.c
gcc: language depend not recognized
gcc: Perl.c: linker input file unused because linking not done
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DDBI_NO_THREADS DBI.c
gcc: language depend not recognized
gcc: 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="" gcc -G DBI.o -o blib/arch/auto/DBI/DBI.so
gcc: DBI.o: No such file or directory
gcc: no input files
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBI/DBI.so'



It seems like I need to compile my own perl instead of using the pre-packaged SUN perl. However, I had once read there was a work around by editing the MakeFile file but I dont recall what to edit. Does any one know how to get past this? Any suggestions other thant re-compiling Perl.

I am using gcc version 3.2 and perl, v5.6.1 built for sun4-solaris-64int.

Thanks




Relevant Pages

  • coherens
    ... f77 -c anal.inc ... gcc: anal.inc: linker input file unused because linking not done ...
    (comp.programming)
  • coherens
    ... f77 -c anal.inc ... gcc: anal.inc: linker input file unused because linking not done ...
    (comp.os.linux.misc)
  • coherens
    ... f77 -c anal.inc ... gcc: anal.inc: linker input file unused because linking not done ...
    (comp.unix.programmer)
  • Re: Problem with Solaris 9 and mtr-0.58
    ... mtr.c:351: warning: assignment makes pointer from integer without a cast ... gcc: -lcurses: linker input file unused since linking not done ...
    (comp.unix.solaris)
  • Re: Ruby on HP-UX
    ... gcc: main.o: linker input file unused because linking not done ... Any idea why digest threw a fit? ...
    (comp.lang.ruby)