||*()*|| Hi, Gabor.

GH> Cygwin works perfectly, if you cd to the folder apropriately. I thought
GH> this is explained already in the dochowto. If you run autoconf/configure 
GH> et.al. with a prompt saying you are in "c:/...", all tools will run fine 
GH> with path values used currently. Quite a few people do this here...

The problem is that I can't make the prompt to be "c:/..." within
cygwin. "/cydrive/c" is always used. I've got cygwin installed in
d:/cygwin
------------
[EMAIL PROTECTED] /cygdrive/c
$ cd d:/

[EMAIL PROTECTED] /cygdrive/d
$
------------

Quote from howto is below:

>...
>Change to the dir where your phpdoc snapshot is (or where you want to
>have it). Use, just like in Windows, the cd command. In Cygwin, the
>dir command is also supported. Before doing this it's important that
>your Cygwin environment uses full paths. A simple way to initialize
>this is to first type cd c: which should then put you in the
>/cygdrive/c (c: root) directory. From here use your commands as usual.
>...

Even executing bash.exe from cmd doesn't help:

D:\MyProjects\phpdoc>bash configure
file versions
Makefile.in,v 1.153
configure.in,v 1.205
configure options:
source directory: .
working directory: /cygdrive/d/MyProjects/phpdoc

checking for php... ./php
checking php version... 4.3.8 cli
checking for php.ini path... ./scripts
checking for openjade.exe... openjade.exe
checking for onsgmls.exe... onsgmls.exe
checking for xsltproc... /cygdrive/d/XMLTools/xsltproc
checking for xmllint... /cygdrive/d/XMLTools/xmllint
checking for docbook.dsl... ./dsssl/docbook (default)
checking for PHP source path... no
checking for PEAR source path... no
checking for additional PHP extensions... no
checking for ZendAPI... not found
checking for CSS to use for html docs... none
checking for chmonly inclusion... disabled (default)
checking for language... en (default)
checking for treesaving... saving trees: #f
FIND: Parameter format not correct
FIND: Parameter format not correct
configure: creating ./config.status
...


I've got native w32 PHP and cygwined openjade, so there are these errors
>cat missing-entities.out
onsgmls:manual.xml:43:0:E: cannot find "entities/missing-entities.ent"; tried 
"entities/missing-entities.ent", "./entities/missing-entities.ent"
onsgmls:manual.xml:49:1:E: cannot find "d:/myprojects/phpdoc/en/bookinfo.xml"; tried 
"entities/d:/myprojects/phpdoc/en/bookinfo.xml", 
"./d:/myprojects/phpdoc/en/bookinfo.xml"
...

>make bightml
...
openjade:php_manual_en.xml:285:2:E: cannot find 
"d:/myprojects/phpdoc/en/appendices/migration5.xml"; tried 
"entities/d:/myprojects/phpdoc/en/appendices/migration5.xml", 
"./d:/myprojects/phpdoc/en/appendices/migration5.xml"
openjade:I: maximum number of errors (200) reached; change with -E option


So there two ways:
1. Correct HOWTO and stick to use either cygwin PHP and openjade
(that means you will also need to compile PHP on cygwin) or only
native w32 executables.
2. Make relative paths in file-entities.ent, so one could use these
tools in any combination (that way all necessary tools (except PHP)
are already available in cygwin (even xsltproc))


t
-- 

Reply via email to