|
|
sybperl-l Archive
Up Prev Next
From: Bunyan at nepo1 dot iaea dot or dot at (Bunyan Gordon)
Subject: Problem Installing sybperl
Date: Nov 6 1995 5:47PM
Can someone help me?
I'm trying to install sybperl2-b3 on a HP 9000. I intend to use sybperl with
perl5 and access MS SQL Server databases (on NT workstations), the
results will be manipulated by perl for eventual presentation to a user
via the web.
A vanilla version of Perl5.001 is installed and working.
Sybase is not installed.
I'm just a regular user of this system, and NOT the administrator.
This is what I've done so far.
1. Unpacked the package outside of the Perl5 source tree.
2. Left config alone.
3. typed perl Makefile. PL which made the "Makefile"
4. typed make, when this kept having problems I capture the output to a file
which is shown shown below.
cd CTlib ; make config INST_LIB=/users/logica/lib/sybperl-2b3/blib INST_
ARCHLIB=/users/logica/lib/sybperl-2b3/blib \
INST_EXE=./blib LINKTYPE=dynamic LIBPERL_A=libperl.a
cd DBlib ; make config INST_LIB=/users/logica/lib/sybperl-2b3/blib
INST_
ARCHLIB=/users/logica/lib/sybperl-2b3/blib \
INST_EXE=./blib LINKTYPE=dynamic LIBPERL_A=libperl.a
cd Sybperl ; make config INST_LIB=/users/logica/lib/sybperl-2b3/blib
INS
T_ARCHLIB=/users/logica/lib/sybperl-2b3/blib \
INST_EXE=./blib LINKTYPE=dynamic LIBPERL_A=libperl.a
cc -c -DJMPCLOBBER -O +z -I/usr/local/lib/perl5/hpux/CORE
Sybase.c
cc: "Sybase.c", line 1: warning 501: Empty source file.
Running mkbootstrap for Sybase ()
ld -o /users/logica/lib/sybperl-2b3/blib/auto/Sybase/Sybase.sl -b
Sybase
o
cp Sybase.bs
/users/logica/lib/sybperl-2b3/blib/auto/Sybase/Sybase.bs
cp lib/sql.pl /users/logica/lib/sybperl-2b3/blib/sql.pl
cp lib/sybperl.pl /users/logica/lib/sybperl-2b3/blib/sybperl.pl
cp lib/sybutil.pl /users/logica/lib/sybperl-2b3/blib/sybutil.pl
cd CTlib ; make all LINKTYPE=dynamic
cc -c -DJMPCLOBBER -O +z -I/usr/local/lib/perl5/hpux/CORE
-DCTLIBVS=1
00 -DSYBPLVER='"2b3"' -DUNDEF_BUG -I/usr/local/sybase10.0.2/include -g
CTlib.c
cc: warning 414: Debug and Optimization are mutually exclusive. -g option
ignore
d.
cpp: "CTlib.c", line 20: error 4036: Can't open include file 'ctpublic.h'.
*** Error code 1
Stop.
*** Error code 1
Stop.
I think the first error is caused by sybase.c not existing in
/usr/local/lib/perl5/hpux/CORE,
it is actually in the current directory. Still this its just a warning.
The real problem seems to be from the missing file ctpublic.h.
Any suggestions are welcome.
Thanks, in advance Gordon.
I
|