Re: [PHP-DOC] Building Docs

2011-06-03 Thread Alexey Shein
2011/6/3 Richard Riley : > > I am trying to set up a local php web for doc lookup. I followed the > instructions here > > https://wiki.php.net/doc/phd > > but this line > > phd -d doc-base/.manual.xml -o output_dir -f php -P PHP > > falls over with > > [08:28:02 - E_USER_ERROR          ] > /usr/sh

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Daniel Convissor
Hi Hannes: On Fri, Oct 30, 2009 at 05:46:45PM +, Hannes Magnusson wrote: > 2009/10/30 Daniel Convissor : > > On Tue, Oct 27, 2009 at 10:17:01PM -0400, Moacir de Oliveira wrote: > >> > >> > PHP Fatal error: ?Uncaught exception 'Exception' with message 'Cannot > >> > find > >> > file for HaruDo

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Daniel Convissor
Hi crhsitian: > Try installing it and running the pear-installed phd. Then you need the > include path. Doh! Thanks for catching that. I added a comment explaining why fopen() is used. And a @ to suppress potential warnings. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Christian Weiske
Hi Daniel, > > > I just committed a change to avoid the warning by using > > > is_readable() instead of fopen() here. > > I reverted your commit, because it broke everything. > > Ouch. What broke? It works for me when I do this: > > php render.php -d ../../phpdoc/doc-base/trunk/.manual.xml \ >

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Daniel Convissor
Hi Christian: > > > > fopen(/usr/local/lib/php//HaruDoc.php): failed to open > > > > stream: No such file or directory > > I just committed a change to avoid the warning by using is_readable() > > instead of fopen() here. > I reverted your commit, because it broke everything. Ouch. What bro

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Hannes Magnusson
2009/10/30 Daniel Convissor : > On Tue, Oct 27, 2009 at 10:17:01PM -0400, Moacir de Oliveira wrote: >> >> > PHP Fatal error:  Uncaught exception 'Exception' with message 'Cannot find >> > file for HaruDoc: /usr/local/lib/php//HaruDoc.php' in /usr/local/bin/phd:14 > > Why is an exception thrown here

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Christian Weiske
Hello Daniel, > > > fopen(/usr/local/lib/php//HaruDoc.php): failed to open > > > stream: No such file or directory > I just committed a change to avoid the warning by using is_readable() > instead of fopen() here. I reverted your commit, because it broke everything. Christian

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Daniel Convissor
On Tue, Oct 27, 2009 at 10:17:01PM -0400, Moacir de Oliveira wrote: > Fala Thiago, > > 2009/10/27 Thiago H. Pojda > > > $ phd -d doc-base/.manual.xml --package PHP ... > > fopen(/usr/local/lib/php//HaruDoc.php): failed to open stream: No such > > file or directory I just committed a change

Re: [PHP-DOC] Building docs w/ PhD

2009-10-30 Thread Hannes Magnusson
2009/10/27 Moacir de Oliveira : > Hi Tiago, > >> :~/PHP/pt_BR/trunk$ phd -d preface.xml >> [01:43:04 - VERBOSE_INDEXING] Indexing... >> [01:43:04 - E_WARNING] /usr/local/bin/phd:13 >>     fopen(/usr/local/lib/php// >> phpdotnet/phd/ReaderKeeper.php): failed to open stream: No such file or >> direc

Re: [PHP-DOC] Building docs w/ PhD

2009-10-27 Thread Moacir de Oliveira
Fala Thiago, 2009/10/27 Thiago H. Pojda > $ phd -d doc-base/.manual.xml --package PHP > [03:30:13 - VERBOSE_INDEXING] Indexing... > [03:32:52 - VERBOSE_INDEXING] Indexing done > [03:32:52 - VERBOSE_RENDER_STYLE] Running full build > [03:32:57 - E_WARNING] /usr/local/bin/phd:13 > fopen(/usr/l

Re: [PHP-DOC] Building docs w/ PhD

2009-10-26 Thread Thiago H. Pojda
On Tue, Oct 27, 2009 at 2:45 AM, Moacir de Oliveira < moacirdeoliveira@gmail.com> wrote: > Hi Tiago, > > > This problem is already fixed in svn. And how phd from trunk has a lot of > fixes and new features, you have to add the following line: > Updated and that error is gone. :) > $ pear in

Re: [PHP-DOC] Building docs w/ PhD

2009-10-26 Thread Thiago H. Pojda
On Tue, Oct 27, 2009 at 2:17 AM, Philip Olson wrote: > Hello Thiago, > > I'll have a better look at pt_BR tonight but to be clear, configure.php and > PhD are totally independent of one another. And configure.php does not > require PHP 5.3. > Okay, now I see it. > > Now this is an odd looking s

Re: [PHP-DOC] Building docs w/ PhD

2009-10-26 Thread Moacir de Oliveira
Hi Tiago, :~/PHP/pt_BR/trunk$ phd -d preface.xml > [01:43:04 - VERBOSE_INDEXING] Indexing... > [01:43:04 - E_WARNING] /usr/local/bin/phd:13 > fopen(/usr/local/lib/php// > phpdotnet/phd/ReaderKeeper.php): failed to open stream: No such file or > directory > PHP Fatal error: Class 'phpdotnet\ph

Re: [PHP-DOC] Building docs w/ PhD

2009-10-26 Thread Philip Olson
Hello Thiago, I'll have a better look at pt_BR tonight but to be clear, configure.php and PhD are totally independent of one another. And configure.php does not require PHP 5.3. Now this is an odd looking structure for your checkout. How did you checkout the XML sources? The following pat

Re: [PHP-DOC] Building docs on Windows (Was: Re: [PHP-DOC] cvs: phpdoc / configure.in)

2001-02-02 Thread Jirka Kosek
Hojtsy Gabor wrote: > Well this was missing. The adress is actually www.cygwin.com not .org... > Do I only need to download the setup.exe... There is no info about > what exactly I need to download to get it working.. Sorry, it is really .com. Download and run setup. Then you can select packages

Re: [PHP-DOC] Building docs on Windows (Was: Re: [PHP-DOC] cvs: phpdoc / configure.in)

2001-02-02 Thread Hojtsy Gabor
> 1. You must have jade for windows. It can be downloaded from > www.jclark.com. Unzip it somewhere and add path for jade.exe into your > PATH variable. > > 2. Download DSSSL stylesheet from www.nwalsh.com and unzip them > somewhere. I allready have them. > 3. Download and install cygwin tools