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: Re: installation problem in sybperl
Date: Jun 25 1999 12:58AM

sksharma writes:
 > Hi.
 > i am very new for this list. sorry, if this query asked before because i didn't
 > have any idia about your archieved. i  am  using linux radhat 5.2 with kernel
 > 2.0.x  , perl 5.00404. i had tryied to install sybperl-2.07 but it given
 > following errors. 

First, get a fresh copy of the perl source (from www.perl.com, for
example).
Untar, and configure without -ldb and -lndbm:

   ./Configure -ders -Dlibs="-lnsl -lgdbm -ldl -lm -lc -lposix -lcrypt"
   make
   make test
If all went well, su to root, and install this new perl version:
   make install

Now you are ready to build sybperl. You can use the 2.07 release you
have, or get a newer one.
Edit CONFIG, and set
 		DBLIBVS=1000
 		CTLIBVS=100
 		SYBASE=/opt/sybase
 		EXTRA_LIBS= -linsck
 		EXTRA_DEFS=-DDO_TIE
Do NOT set LINKTYPE=static.
Now run
	perl Makefile.PL
	make
(assuming your PWD file is still OK)
	make test

This should work, and you should now be ready to install it with 
	make install

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