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: Konrad Zak <konrad at uni dot wroc dot pl>
Subject: trouble with building Sybperl on Linux
Date: Jul 22 1999 5:28PM

Hello.
	I'm new to list and new to Sybperl, it's why I'm in trouble, I think.
In order to build sybperl-2.10_02 on my RedHat Linux 6.0 I built
perl-5.005.02 depending on article
[http://www.mbay.net/~mpeppler/README.linux] by Michael Peppler, known
to all, I suppose, Sybperl author. The only difference is that I had to
exclude gdbm library to (except db and ndbm) that, included, caused
error. I think it's right anyway, it's mentioned in README file of
sybperl source distribution. But then, having perl already built without
db, ndbm and gdbm libraries, I started with sybperl. My trouble started
to :). I edited CONFIG file according to my environment:

DBLIBVS=1000
CTLIBVS=100
SYBASE=/usr/sybase
EXTRA_LIBS=-linsck
EXTRA_DEFS=-DDO_TIE

... and then I typed "perl Makefile.PL". Everything was ok as long. Then
I typed "make". And there is something not working properly for me.
Building failed with error that I haven't found in sybperl faq and
anywhere else. I include all the lines of building messages:

[root@k2 sybperl-2.10_02]# make
make[1]: Entering directory `/root/srcs/sybperl-2.10_02/BCP'
Skip ../blib/lib/Sybase/BCP.pm (unchanged)
Manifying ../blib/man3/Sybase::BCP.3
make[1]: Leaving directory `/root/srcs/sybperl-2.10_02/BCP'
make[1]: Entering directory `/root/srcs/sybperl-2.10_02/CTlib'
Skip ../blib/lib/Sybase/CTlib.pm (unchanged)
Skip ../blib/lib/Sybase/CTlib.pod (unchanged)
/usr/bin/perl -I/usr/lib/perl5/5.00502/i586-linux
-I/usr/lib/perl5/5.00502 /usr/lib/perl5/5.00502/ExtUtils/xsubpp
-prototypes -typemap /usr/lib/perl5/5.00502/ExtUtils/typemap CTlib.xs
>CTlib.tc && mv CTlib.tc CTlib.c
cc -c -I/usr/sybase/include -Dbool=char -DHAS_BOOL -O2   
-DVERSION=\"2.10_02\" -DXS_VERSION=\"2.10_02\" -fpic
-I/usr/lib/perl5/5.00502/i586-linux/CORE -DCTLIBVS=100
-DSYBPLVER='"2.10_02"' -DDO_TIE CTlib.c
Running Mkbootstrap for Sybase::CTlib ()
chmod 644 CTlib.bs
LD_RUN_PATH="/usr/sybase/lib:/lib" cc -o
../blib/arch/auto/Sybase/CTlib/CTlib.so  -L/usr/sybase/lib -shared
-L/usr/local/lib CTlib.o    -L/usr/sybase/lib -lct -lcs -lsybtcl -lcomn
-lintl -linsck -lm 
chmod 755 ../blib/arch/auto/Sybase/CTlib/CTlib.so
cp CTlib.bs ../blib/arch/auto/Sybase/CTlib/CTlib.bs
chmod 644 ../blib/arch/auto/Sybase/CTlib/CTlib.bs
Manifying ../blib/man3/Sybase::CTlib.3
make[1]: Leaving directory `/root/srcs/sybperl-2.10_02/CTlib'
make[1]: Entering directory `/root/srcs/sybperl-2.10_02/DBlib'
cc -c -I/usr/sybase/include -Dbool=char -DHAS_BOOL -O2   
-DVERSION=\"2.10_02\" -DXS_VERSION=\"2.10_02\" -fpic
-I/usr/lib/perl5/5.00502/i586-linux/CORE -DDBLIBVS=1000
-DSYBPLVER='"2.10_02"' -DDO_TIE DBlib.c
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
LD_RUN_PATH="/usr/sybase/lib:/lib" cc -o
../blib/arch/auto/Sybase/DBlib/DBlib.so  -L/usr/sybase/lib -shared
-L/usr/local/lib DBlib.o    -L/usr/sybase/lib -lsybdb -linsck -lm 
chmod 755 ../blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs ../blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 ../blib/arch/auto/Sybase/DBlib/DBlib.bs
Manifying ../blib/man3/Sybase::DBlib.3
make[1]: Leaving directory `/root/srcs/sybperl-2.10_02/DBlib'
make[1]: Entering directory `/root/srcs/sybperl-2.10_02/Sybperl'
Manifying ../blib/man3/Sybase::Sybperl.3
/usr/bin/pod2man: Sybperl.pm is missing required section: SYNOPSIS
make[1]: Leaving directory `/root/srcs/sybperl-2.10_02/Sybperl'

I'm sorry for so long explanations but I tried to avoid myself from
including to less information on problem. Please help me solve it. I'd
be grateful for any information. I'm really impatiently waiting for
taking all the adventages coming with sybperl. Best regards.
--

  Konrad Zak, University of Wroclaw, Wroclaw, POLAND
  The Interfaculty Lab of Computer Networks and Software
  +48 71 3201417