PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Jackie Wilson" <Jackie dot Wilson at swordmicro dot com>
Subject: make can't find sqlda.h
Date: May 10 1999 2:35PM

Hey folks,

Our database was just upgraded from Sybase 11.0 to 11.92.
In the process, the Sybase directory was changed from
/www/Sybase to /apps/ase1192.  When I try to "make" sybperl
with the new Sybase directory, I get the following compiler
error:

gcc -c -I/apps/ase1192/include -I/usr/local/include -O     -DVERSION=\"2.10\
"  -DXS_VERSION=\"2.10\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00404/C
ORE -DCTLIBVS=100 -DSYBPLVER='"2.10"' -DDO_TIE CTlib.c
In file included from CTlib.xs:38:
/apps/ase1192/include/ctpublic.h:20: sqlda.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `CTlib.o'
Current working directory /home/jwilson/sybperl-2.10/CTlib
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

Here are some specifics about my system.

Sybase: 11.92
Perl: 5.00404
Sybperl: 2.10
gcc: 2.81
OS: Solaris 2.6

Here is the CONFIG file I'm using.

BLIBVS=1000
CTLIBVS=100
SYBASE=/apps/ase1192
EXTRA_LIBS=-ltli
EXTRA_DEFS=-DDO_TIE

If anyone can point me in the right direction I'd really
appreciate it.

Jackie Wilson