Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing sybperl

Status
Not open for further replies.

gringomike

Technical User
Aug 6, 2003
148
GB
Hi all!

Has anybody installed "sybperl" on Solaris 8 before? I'm having difficulty compiling the program. Whenever I run "make" I am returned the following errors relating to "CTlib.o not found" and "cc: language depend not recognized". I am using gcc with cc linking into it.

Server1 # make

mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Sybase
mkdir blib/lib/auto
mkdir blib/lib/auto/Sybase
mkdir blib/man3
cp lib/sql.pl blib/lib/sql.pl
cp lib/sybperl.pl blib/lib/sybperl.pl
cp lib/sybutil.pl blib/lib/sybutil.pl
cp lib/ctutil.pl blib/lib/ctutil.pl
mkdir ../blib/lib/Sybase
mkdir ../blib/arch/auto/Sybase/BCP
mkdir ../blib/lib/auto/Sybase/BCP
cp BCP.pm ../blib/lib/Sybase/BCP.pm
Manifying ../blib/man3/Sybase::BCP.3
mkdir ../blib/arch/auto/Sybase/BLK
mkdir ../blib/lib/auto/Sybase/BLK
cp BLK.pm ../blib/lib/Sybase/BLK.pm
Manifying ../blib/man3/Sybase::BLK.3
mkdir ../blib/arch/auto/Sybase/CTlib
mkdir ../blib/lib/auto/Sybase/CTlib
cp CTlib.pm ../blib/lib/Sybase/CTlib.pm
AutoSplitting ../blib/lib/Sybase/CTlib.pm (../blib/lib/auto/Sybase/CTlib)
/usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 /usr/perl5/5.00503/ExtUtils/xsubpp -prototypes -typemap /usr/pc
cc -c -I/apps/sybase/include -xO3 -xdepend -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/Cc
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: CTlib.c: linker input file unused because linking not done
rm -rf ../blib/arch/auto/Sybase/CTlib/CTlib.a
ar cr ../blib/arch/auto/Sybase/CTlib/CTlib.a CTlib.o && : ../blib/arch/auto/Sybase/CTlib/CTlib.a
ar: cannot open CTlib.o
No such file or directory
ar: CTlib.o not found
*** Error code 1
make: Fatal error: Command failed for target `../blib/arch/auto/Sybase/CTlib/CTlib.a'
Current working directory /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/sybperl-2.16/CTlib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Server1 #

Any help would be greatly appreciated!

Thanks!

GM
 
Not sure if this will help, but I had problems installing a module on Sol 8 box. I edited the Makefile and took out the -KPIC and it installed fine after that.



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Thanks for the replies!

nix45 - I've done this already. I downloaded gcc in package format from and installed it without a problem.

bluedragon2 - There is no reference to KPIC in the Makefile at all:( All the same, tt sounds like you could be thinking along the right lines.

I discovered yesterday that CTlib.o could be a C library. If this is the case it may be that my compiler isn't installed properly.

Does anybody know if a compiler comes with the Solaris 8 media? It would make sense to try using a different compiler to install sybperl if my existing compiler may be the problem.

Thanks again!

GM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top