RE: DBI install problem



You are correct - if you want to use gcc. If you have the Sun C compiler, use that compiler.

-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-----Original Message-----
From: Daniel Teklu [mailto:DTeklu@xxxxxxx]
Sent: Friday, April 29, 2005 3:11 PM
To: dbi-users@xxxxxxxx
Subject: 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



This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

.



Relevant Pages

  • RE: DBI compile on HPUX-11.23
    ... Are you using gcc? ... If so use the native HP-UX compiler. ... I have a problem compiling DBI on HPUX 11.23 Ittanium ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Re: Can gcc 4.0 be used to build DBI modules if perl is bulit with gcc 3.3?
    ... We set the default compiler to gcc-3.3. ... the DBI stuff installed with the same warnings and, presumably harmless, errors. ... perl -V indicates that perl was complied from gcc 3.3xxx. ...
    (perl.dbi.users)
  • Re: Things to avoid typing at a command prompt
    ... The point of using someone else's C compiler is that we're interested in other things than writing C compilers. ... Especially one as bloated and incomprehensible as gcc ... Only when overwriting an input file with an output file. ... Professional programmers who spend all day retyping exactly the same input file name, and exactly the same output file, every single time they do a compile? ...
    (comp.programming)
  • RE: DBI
    ... Which DBI version works on Solaris ... incorrectly installed compiler, ... Have you verified that your copy of gcc will compile a simple C program? ... Michael Peppler Data Migrations, Inc. ...
    (perl.dbi.users)
  • DBI install problem
    ... gcc: Perl.c: linker input file unused because linking not done ...
    (perl.dbi.users)