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: sybperl-2.11 Win32 makefile problems ?
Date: Oct 14 1999 2:48PM

Herold Heiko writes:
 > > Herold Heiko writes:
 > ...
 > >  > if($Config{lns}) {
 > >  >     system("cd CTlib; $Config{lns} ../pod/sybperl.pod CTlib.pod")
 > > if(!-e
 > >  > 'CTlib/CTlib.pod');
 > >  >     system("cd DBlib; $Config{lns} ../pod/sybperl.pod DBlib.pod")
 > > if(!-e
 > >  > 'DBlib/DBlib.pod');
 > >  > }
 > >  > 
 > ..
 > 
 > > Actually it creates/copies the sybperl.pod file to the appropriate
 > > CTlib.pod or DBlib.pod files, so that the manual gets installed
 > > correctly. The error is not fatal, and you could also make the copies
 > > yourself if you wanted...
 > > 
 > > Michael
 > > 
 > > 
 > Ah!
 > Took a better look, in fact it is understandable - the dir separator needs
 > to be \\ (damn windows) instead of / inside system(). Also the command
 > separator needs to be && instead of ; on WinNt. On W95/Dos Box the command
 > separator must be  (Alt-20), which does work at least on Dos6...Dos7/W95,
 > W98, although afaik it is NOT documented. Dunno if you'll want to handle it
 > somehow in the makefile.pl, if not a little comment would be nice :-)

It's now in the sybperl bug database as bug id 275.

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