Re: Cygwin troubles (absolute paths) (Was: dropping the unix tools)

From: Date: Sat, 03 Jan 2004 17:04:08 +0000
Subject: Re: Cygwin troubles (absolute paths) (Was: dropping the unix tools)
References: 1 2 3 4  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357879@lists.php.net to get a copy of this message
I'm having troubles compiling the manual under Cygwin. Absolute paths don't work, sometimes I get /phpdoc (the Cygwin absolute path), sometimes c:\cygwin\phpdoc (the Windows absolute path).
This is the common 'cd' problem. First when you launch the bash shell, you need to get to the phpdoc folder with *Windows* cd calls, and not relative cd calls. So enter cd c:/work/phpdoc (assmuing you have phpdoc checked out to c:/work). This will make all the cygwin tools (eg 'pwd' return windows paths instead of cygwin paths).
First I tried a minimal Cygwin installation, with PHP (4.3.4 CLI) and OpenJade in /opt/php and /opt/openjade. This didn't work. Then I installed the rest of the Cygwin standard distribution, and used the ../phpdoc-tools/ directory. This doesn't seem to work with OpenJade (somebody please update the configure.in script, I'm no autoconf expert), so I put Jade in. This still didn't work.
The current build system should be fine with cygwin...
This is the list of Cygwin packages that I think is the minimum for testing the manual. It's already 90 Mb, so if I could throw anything out, that would be great (Perl alone is 25 Mb). Entries starting with an arrow are basic requirements for the automake and configure step, entries after the : are their requirements.
Well, since autoconf seems to require perl, unfortunately we cannot drop that requirement... Is perl an atomic part in cygwin? Goba

« previous php.doc (#969357879) next »