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

From: Date: Sat, 03 Jan 2004 17:35:23 +0000
Subject: Re: Cygwin troubles (absolute paths) (Was: dropping the unix
References: 1 2 3 4 5 6  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357881@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).
Thank you, that was (part of) the problem. I had my CVS tree inside the Cygwin tree (c:\cygwin\phpdoc), and that doesn't seem to work. ./configure and make test work, but make html crashes. That's a problem I'll handle tomorrow.
It is not a problem if you have phpdoc under the cygwin path, but you need to operate with Windows path values in cygwin for the PHP scripts and the Windows tools (openjade) to work.... Goba

« previous php.doc (#969357881) next »