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: Herold Heiko <Herold dot Heiko at previnet dot it>
Subject: RE: sybperl-2.11 Win32 makefile problems ?
Date: Oct 13 1999 3:56PM

> 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 :-)

Bye and thanks
Heiko

-- PREVINET S.p.A.            Heiko.Herold@previnet.it
-- Via Marocchesa, 14         ph  x39-041-5494228
-- I-31021 Mogliano V.to (TV) fax x39-041-5492263
-- ITALY