Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Jason Stajich <jason at chg dot mc dot duke dot edu>
Subject: Re: make trouble
Date: Nov 29 2000 5:58PM

Can you compile other XS modules ?

Might want to do a
cc -v and see which compiler you are running, the one that is being
invoked does not support the parameters that perl thinks it should.  I am
going to guess that you have egcs installed.

Apparently the perl you are using was probably built with the sun cc while
you are running egcs.  A simple fix would be to (in your shell before
% alias cc /usr/ucb/cc

Then try building again.  This is not an ideal solution, but it all
depends on how thoroughly you'd like to solve this - ie how often are you
building XS modules?  


On Wed, 29 Nov 2000, DeWitt, Steve wrote:

> I am trying to use the sybperl 2.13 release on Solaris 2.8. I am having some
> problems running the make file. I am using Sybase Open Client 12.0. The
> error I get is:
> Manifying ../blib/man3/Sybase::BCP.3
> Skip ../blib/lib/Sybase/ (unchanged)
> Skip ../blib/lib/Sybase/CTlib.pod (unchanged)
> cc -c -I/opt/sybase/OCS-12_0/include  -xO3 -xdepend     -DVERSION=\"2.12\"
> ON=\"2.12\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DCTLIBVS=100
> 12"' -DDO_TIE CTlib.c
> cc: unrecognized option `-KPIC'
> cc: language depend not recognized
> cc: CTlib.c: linker input file unused since linking not done
> Running Mkbootstrap for Sybase::CTlib ()
> chmod 644
> LD_RUN_PATH="/opt/sybase/OCS-12_0/lib:/lib" cc -o
> ../blib/arch/auto/Sybase/CTlib/CTlib
> .so -R/opt/sybase/OCS-12_0/lib -R/lib -L/opt/sybase/OCS-12_0/lib -G CTlib.o
> -L/opt/
> sybase/OCS-12_0/lib -lct -lcs -ltcl -lcomn -lintl -ltli -lm
> cc: CTlib.o: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target
> `../blib/arch/auto/Sybase/CTlib/'
> Current working directory /home/dewitts/sybperl-2.13/CTlib
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs'
> thanks in advance
> Steve DeWitt
> Senior Consultant
> Serverlogic Corp.
> 425.803.0378 ext 223

Jason Stajich
Center for Human Genetics
Duke University Medical Center