[PHP-DOC] Re: Found the errors

2007-11-27 Thread Hannes Magnusson
On Nov 27, 2007 11:27 AM, Simion Onea [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Hannes Magnusson [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 27, 2007 12:04 PM
  To: Simion Onea
  Cc: PHPdoc
  Subject: Re: [PHP-DOC] Question about the tools
 
  On Nov 27, 2007 7:41 AM, Simion Onea [EMAIL PROTECTED] wrote:
   Hi!
  
   Could you please tell me if I am correct:
   First I run autoconf. (no errors/warnings) Then I run
  ./configure
   --with-lang=ro. And it says that I have missing ids.
   So I cannot expect that make test will pass.
   Am I correct?
 
  I don't think make test works anymore, but since the
  missing IDs are detected at ./configure time they are
  replaced with ??? to fix the build.
  Meaning: make test_xml works fine - even with missing IDs.
 
  -Hannes

 Oh, I found the errors! They went to PHP's error log that I configured.
 A lot of IDs are missing (about 40). Probably because the majority of files
 are not translated. But I thought they will be taken ftom the English tree.
 What can I do? I just wanted to build the Romanian manual as it is.

php configure.php --with-lang=ro --force-dom-save
You'll still get the error - but .manual.xml will be created.

-Hannes


[PHP-DOC] RE: Found the errors

2007-11-27 Thread Simion Onea
 -Original Message-
 From: Hannes Magnusson [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 27, 2007 12:38 PM
 To: Simion Onea
 Cc: PHPdoc
 Subject: Re: Found the errors
 
 php configure.php --with-lang=ro --force-dom-save You'll 
 still get the error - but .manual.xml will be created.

I tried this, Hannes. The script took a long time to execute and the
resulting .manual.xml has just one line:
?xml version=1.0?

Regards,
Simion.


[PHP-DOC] Re: Found the errors

2007-11-27 Thread Hannes Magnusson
On Nov 27, 2007 2:10 PM, Simion Onea [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Hannes Magnusson [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 27, 2007 12:38 PM
  To: Simion Onea
  Cc: PHPdoc
  Subject: Re: Found the errors
 
  php configure.php --with-lang=ro --force-dom-save You'll
  still get the error - but .manual.xml will be created.

 I tried this, Hannes. The script took a long time to execute and the
 resulting .manual.xml has just one line:
 ?xml version=1.0?

Worked fine for me, post the error messages and let me have a look

-Hannes


[PHP-DOC] Re: Found the errors

2007-11-27 Thread Hannes Magnusson
On Nov 27, 2007 2:43 PM, Simion Onea [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Hannes Magnusson [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, November 27, 2007 3:29 PM
  To: Simion Onea
  Cc: PHPdoc
  Subject: Re: Found the errors
 
  Worked fine for me, post the error messages and let me have a look
 
  -Hannes

 I send the error log in the attachment.

Thats one bigass errorlog.
This isn't a clean checkout, is it?

A clean checkout works fine for me, and these errors you are getting
don't really make sense.
If you are still able to reproduce this on a clean checkout send me
your entities/file-entities.ent file.

-Hannes


[PHP-DOC] RE: Found the errors

2007-11-27 Thread Simion Onea
 -Original Message-
 From: Hannes Magnusson [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 27, 2007 3:57 PM
 To: Simion Onea
 Cc: PHPdoc
 Subject: Re: Found the errors
 
 Thats one bigass errorlog.
 This isn't a clean checkout, is it?
 
 A clean checkout works fine for me, and these errors you are 
 getting don't really make sense.
 If you are still able to reproduce this on a clean checkout 
 send me your entities/file-entities.ent file.
 
 -Hannes

Hi Hannes!

I finally managed to build the .manual.xml file and ran PhD to build the
manual itself.

Now I understand where was my mistake. Before using php configure.php and
PhD I launched ./configure and make test. And because these tools are
now incompatible, I messed up things.
I did a clean checkout of both phpdoc and phpdoc-ro-dir as you
suggested.
Then I ran php configure.php --with-lang=ro --force-dom-save. It finished
successfully.
Then I ran phd -d.manual.xml. It also worked fine.

Now I understand how it works.
Sorry for taking your time, when it was my mistake. I just didn't know that
I must not use the ./configure script anymore.

Best regards,
Simion.