Installing DBI

From: Srinivasa Cherukuri (SCherukuri@yak.ca)
Date: Wed Mar 29 2006 - 10:47:38 EST


Thanks for all your replies.

Peter McLarty

Alan pae

Rafael Angarita

Chuck Lin

Matthew Hannigan

Anthony D'Atri

Steve Sandau

John Leadeham

Mark King

Snars.maillist
Richard Skelton

Jim Seymour

Brad_Morrison and

Vidyanathan.

Most of you managers have pointed the correct one. Accordingly I have
marked cc=/usr/sfw/bin/gcc in the Makefile of DBI and has one more issue
now.

In Solaris 10 the compiler is /usr/sfw/bin/gcc and is there in some
other locations too.

 [root@]/usr/local/bin/DBI >make

/usr/sfw/bin/gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.50\"
-DXS_VERSION=\"1.50\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_THREADS
Perl.c

gcc: unrecognized option `-KPIC'

gcc: language ildoff not recognized

gcc: 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

/usr/sfw/bin/gcc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.50\"
-DXS_VERSION=\"1.50\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DDBI_NO_THREADS DBI.c

gcc: unrecognized option `-KPIC'

gcc: language ildoff not recognized

gcc: DBI.c: linker input file unused because linking not done

rm -f blib/arch/auto/DBI/DBI.so

LD_RUN_PATH="" cc -G DBI.o -o blib/arch/auto/DBI/DBI.so

/usr/ucb/cc: language optional software package not installed

make: *** [blib/arch/auto/DBI/DBI.so] Error 1

I googled using the string "language option" and found some links. Made
the symbolic links etc and not able to get it.

Thanks

Rao
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:27 EDT