Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-06 Thread Nuno Lopes
Where is openjade in that structure? devel/openjade? text/openjade and text/opensp Good. Updated the howto, and removed the references to phpdoc-tools. If you have any more suggestion, or corrections to that part of the howto (or any other part whatsoever :), feel free to step up. Thanks for your

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-06 Thread Gabor Hojtsy
Where is openjade in that structure? devel/openjade? text/openjade and text/opensp Good. Updated the howto, and removed the references to phpdoc-tools. If you have any more suggestion, or corrections to that part of the howto (or any other part whatsoever :), feel free to step up. Thanks for your

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-06 Thread Nuno Lopes
Where is openjade in that structure? devel/openjade? text/openjade and text/opensp Good. Updated the howto, and removed the references to phpdoc-tools. If you have any more suggestion, or corrections to that part of the howto (or any other part whatsoever :), feel free to step up. Thanks for your a

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Thanks for your active participation in cleaning this stuff up, it was much needed. I hope others will also find this solution working around, especially now that two of you confirmed that this solution works. Yeah, it might as well be as easy as possible to get started on co

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Where is openjade in that structure? devel/openjade? text/openjade and text/opensp Good. Updated the howto, and removed the references to phpdoc-tools. If you have any more suggestion, or corrections to that part of the howto (or any other part whatsoever :), feel free to step up. Thanks for you

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Where is openjade in that structure? devel/openjade? Goba text/openjade and text/opensp David

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Yep, that worked fine also. Including the new additions: Great. To install the minimal set of required packages select devel/autoconf, devel/automake, devel/make and doc/libxml2 along with components, which are selected in setup by default I think it is all fixed now :) Where is openjade in

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Yep, that worked fine also. Including the new additions: To install the minimal set of required packages select devel/autoconf, devel/automake, devel/make and doc/libxml2 along with components, which are selected in setup by default I think it is all fixed now :) David Gabor Hojtsy wrote: O

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
OK, updated configure.in to check for a windows jade setup, and file-entities.ent to only rewrite the cygwin values in that case. Please cvs update, autoconf(!), configure and then check again. Did just that and it worked perfectly. The make test is now working fine with both jade.exe and the cy

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: OK, updated configure.in to check for a windows jade setup, and file-entities.ent to only rewrite the cygwin values in that case. Please cvs update, autoconf(!), configure and then check again. Goba Did just that and it worked perfectly. The make test is now working fine wit

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Open the file with a text > editor, and get proper cygwin path values there, and see if openjade > works. That worked. I did a replace C:/ with /cygdrive/c/ using Wordpad, saved and ran make test and it was successful - no errors. OK, updated configure.in to check for a windows jade setup, and

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Open the file with a text > editor, and get proper cygwin path values there, and see if openjade > works. > Goba That worked. I did a replace C:/ with /cygdrive/c/ using Wordpad, saved and ran make test and it was successful - no errors.

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Could you generate the file-entities.ent file as normal, then do a check to see if it is using the cygwin jade and if so, do a mass replace on the strings in the file-entities.ent file? If I was just using PHP then I could do a mass str_replace on the file after reading it into an array, for ex

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Could you generate the file-entities.ent file as normal, then do a check to see if it is using the cygwin jade and if so, do a mass replace on the strings in the file-entities.ent file? If I was just using PHP then I could do a mass str_replace on the file after reading it into an array, for ex

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Yep. $Id: file-entities.pgp.in,v 1.35 2005/04/03 18:47:41 goba Exp $ I have no idea at this point. The goal is to have the cygwin path values into the file-entities.ent file after all. If you can manage to find a way, then it might make things work. It would be great help afterwards for those co

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Yep. $Id: file-entities.pgp.in,v 1.35 2005/04/03 18:47:41 goba Exp $ Gabor Hojtsy wrote: Yeah, I did. And I also double checked the generated file-entities.php file to ensure the change was in that. You do have file-entities.php.in 1.35 right? Goba

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Yeah, I did. And I also double checked the generated file-entities.php file to ensure the change was in that. You do have file-entities.php.in 1.35 right? Goba

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Yeah, I did. And I also double checked the generated file-entities.php file to ensure the change was in that. Gabor Hojtsy wrote: Hum, the $cygwin_compiled = true; change in the file-entities.php.in file and the ./configure should have resulted in the cygwin stripper not being called. Are you s

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Now the errors should contain /cygdrive path values. Are they? No, they still have the C:/cygwin paths in them. This is using my Windows PHP (not the cygwin one). Hum, the $cygwin_compiled = true; change in the file-entities.php.in file and the ./configure should have resulted in the cygwin strip

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Now the errors should contain /cygdrive path values. Are they? Goba No, they still have the C:/cygwin paths in them. This is using my Windows PHP (not the cygwin one).

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Until then, please update your phpdoc checkout (I just made it simpler to go on with our tests :) and modify "file-entities.php.in" in the scripts folder to always set $cygwin_compiled to true. Then please try to ./configure and make test. Ok, I changed the $cygwin_compiled var so it was true an

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Until then, please update your phpdoc checkout (I just made it simpler to go on with our tests :) and modify "file-entities.php.in" in the scripts folder to always set $cygwin_compiled to true. Then please try to ./configure and make test. Ok, I changed the $cygwin_compiled v

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Nuno Lopes
Yeh, Apache and wget are there. But there is no PHP. Hm... Are there some cygwin experts here knowing where/how to get a PHP for cygwin package? Until then, please update your phpdoc checkout (I just made it simpler to go on with our tests :) and modify "file-entities.php.in" in the scripts fol

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Sveta Smirnova
Gabor Hojtsy wrote: Yeh, Apache and wget are there. But there is no PHP. Hm... Are there some cygwin experts here knowing where/how to get a PHP for cygwin package? I am not cygwin expert :-) But any months ago PHP was in cygwin package list. I usually take snapshot from snaps.php.net and build

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Yeh, Apache and wget are there. But there is no PHP. David Gabor Hojtsy wrote: This says that Apache, PHP, etc. should be listed in the web category: http://www.kegel.com/php.html#demo2.cygwin Goba

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Yeh, Apache and wget are there. But there is no PHP. Hm... Are there some cygwin experts here knowing where/how to get a PHP for cygwin package? Until then, please update your phpdoc checkout (I just made it simpler to go on with our tests :) and modify "file-entities.php.in" in the scripts fol

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
I can't find the PHP option in the setup. I did a search on their website at http://www.cygwin.com/packages and PHP isn't listed. This says that Apache, PHP, etc. should be listed in the web category: http://www.kegel.com/php.html#demo2.cygwin Goba

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
I can't find the PHP option in the setup. I did a search on their website at http://www.cygwin.com/packages and PHP isn't listed. David Gabor Hojtsy wrote: David, please install the PHP package in cygwin (with the cygwin setup tool - it will not affect your normal PHP install), and try again. Th

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Nuno Lopes
David Mytton wrote: The rest of the document is just like that. All the paths seem to be correct. For example one of the errors is: /usr/bin/openjade:manual.xml:168:2:E: cannot find "C:/cygwin/home/David/phpdoc/entities/missing-ids.xml"; tried "entities/C:/cygwin/home/David/phpdoc/entities/miss

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
I'm certainly no cygwin expert, but I think this should be either: OR from within cygwin. Theoretically yes, but since the jade we suggest to set up does not support cygwin path values, we suggested people to cd to the c: drive root first, and cd to the phpdoc folder from there... David, ple

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Sean Coates
David Mytton wrote: The rest of the document is just like that. All the paths seem to be correct. For example one of the errors is: /usr/bin/openjade:manual.xml:168:2:E: cannot find "C:/cygwin/home/David/phpdoc/entities/missing-ids.xml"; tried "entities/C:/cygwin/home/David/phpdoc/entities/miss

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
The rest of the document is just like that. All the paths seem to be correct. For example one of the errors is: /usr/bin/openjade:manual.xml:168:2:E: cannot find "C:/cygwin/home/David/phpdoc/entities/missing-ids.xml"; tried "entities/C:/cygwin/home/David/phpdoc/entities/missing-ids.xml", "./C:

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Could you please revert back to the "without jade" setup and post those 20 lines I have asked you for? Well, thanks. This looks quite fine indeed. Is there no "phpdocen" stuff in the file? We are searching for the path values you got in the error messages. They should come from file-entities.e

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Gabor Hojtsy wrote: Could you please revert back to the "without jade" setup and post those 20 lines I have asked you for?

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
What if try to make it work? The only problem as it seems from the error messages down there is that the slash is missing inbetween the phpdoc and en folder names. Could you please revert back to the "without jade" setup and post those 20 lines I have asked you for? Goba So in conclusion, the o

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
I have it all working now. First, I installed openjade through cygwin and ran autoconf and ./configure. Running make html generated the errors I posted a while ago. Then I tried downloading jade itself but I didn't realise I was downloading the windows source (I didn't spot the link to the binar

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Well, slashes are missing between "phpdoc" and "en" in the path values. David, could you copy-paste the first 20 lines of your phpdoc/entities/file-entities.ent file? It should have proper path values, but it probably has bogus ones. Goba So, openjade seems still not to work.. - Original Mes

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Cornelia Boenigk
Hi > /usr/bin/openjade:manual.xml:49:1:E: cannot find "C:/cygwin/home/David/phpdocen/bookinfo.xml" shouldn't the path be something like /cygdrive/drive/wincvs/phpdoc ?? Did you move to the phpdoc directory within the cygwin console? Regards Conni

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Nuno Lopes
So, openjade seems still not to work.. - Original Message - Using the openjade provided with cygwin. I have attached the output from running make html but it doesn't show the errors afterwards. For some reason they are outputted to the console. But it is like this: /usr/bin/openjade:man

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Here is the output but without any of the errors. Gabor Hojtsy wrote: Openjade installed by cygwin? Openjade installed by you as windows exe? What XML files does it miss? Goba rm -rf html && mkdir html ../phpdoc-tools/php.bat -q ./scripts/rtlpatch/hackmanuallang.php en SP_ENCODING=XML SP_CHARSET

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Using the openjade provided with cygwin. I have attached the output from running make html but it doesn't show the errors afterwards. For some reason they are outputted to the console. But it is like this: /usr/bin/openjade:manual.xml:49:1:E: cannot find "C:/cygwin/home/David/phpdocen/bookinfo.

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
Just tried to do a make html but it failed with an openjade error saying it could not find certain .xml files even though they are present in the correct directories. I have downloaded new copies from the website and tried to build them manually but I still can't get it to work. Any suggestions

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread David Mytton
Hi, Just tried to do a make html but it failed with an openjade error saying it could not find certain .xml files even though they are present in the correct directories. I have downloaded new copies from the website and tried to build them manually but I still can't get it to work. Any suggest

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
> I'm not using openjade, but jade instead (as mentioned in the howto). Me too, jadew. I tried to get openjade running and didn't succeed. Seems like David is up to some serious debugging. I wonder if he will handle that with enough patience. Goba

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Cornelia Boenigk
Hi > I'm not using openjade, but jade instead (as mentioned in the howto). Me too, jadew. I tried to get openjade running and didn't succeed. Conni

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
I've tried installing openjade via cywgin one month ago and it didn't work well. From what I remember it generated a lot of problems with the encodings. Hm, how come that the windows openjade work better? Is that a newer version? I'm not using openjade, but jade instead (as mentioned in the howt

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Nuno Lopes
I've tried installing openjade via cywgin one month ago and it didn't work well. From what I remember it generated a lot of problems with the encodings. Hm, how come that the windows openjade work better? Is that a newer version? I'm not using openjade, but jade instead (as mentioned in the howt

Re: [PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Gabor Hojtsy
I've tried installing openjade via cywgin one month ago and it didn't work well. From what I remember it generated a lot of problems with the encodings. Hm, how come that the windows openjade work better? Is that a newer version? Goba

[PHP-DOC] Re: openjade/opensp with cygwin

2005-04-03 Thread Nuno Lopes
I've tried installing openjade via cywgin one month ago and it didn't work well. From what I remember it generated a lot of problems with the encodings. Nuno