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: Michael Peppler <mpeppler at peppler dot org>
Subject: make can't find sqlda.h
Date: May 10 1999 3:03PM

Jackie Wilson writes:
 > 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

For some reason the OpenClient that ships with certain versions of
SYbase does not include this file.

Here is a minimal sqlda.h file that will let you build sybperl:

-----%--------%_-------------%------------%

/* dummy sqlda.h file */

typedef void SQLDA;

---------%-----------%-----------%----------%-------

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com