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: Jamie Belanger <jamie_belanger at globalcrossing dot com>
Subject: problems with make
Date: Mar 2 2001 10:58PM

Here is the error output when I attempt to make sybperl:

# /tmp/sybperl-2.13> make
        cc -c -I/link/sybase/include -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"2.13\"
-DXS_VERSION=\"2.13\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DCTLIBVS=100 -DSYBPLVER='"2.13"' -DDO_TIE CTlib.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C
product; ignored.
cpp: "CTlib.xs", line 41: error 4036: Can't open include file 'ctpublic.h'.
*** Error exit code 1

Stop.
*** Error exit code 1

------------------------------

I upgraded to perl v5.6.0 on an HP-UX 10.20 box, which previously had a
working version of sybperl on it. Since the upgrade from 10.10 to 10.20,
sybperl no longer works, so I decided to recompile a new version.

Is it simply a matter of having a version of OpenClient that is too old? I'm
unsure as to why the previous sybperl ran fine and the new version won't
even compile... My sybase variable is set correctly, but the file appears
nowhere in the server.

There is no "include" directory on the server in question... if I go out to
my Sybase server, there exists the include directory, presumably with all
the files I am missing.

An isql -v shows the following:

# /tmp/sybperl-2.13> isql -v
Sybase CTISQL Utility/11.1.1/P-EBF8264/hp800/HP-UX 10.01/1/OPT/Tue Jan 26
16:19:43 1999

Assistance would be appreciated!

Jamie Belanger
Unix Administrator
Global Crossing
(319) 298-1489
mailto:jamie_belanger@globalcrossing.com