Re: [PHP-DOC] Problems installing livedocs on windows

2005-03-11 Thread Nuno Lopes
Hi,
First of all, i have to say that livedocs behaves badly with peardoc.
--with-language=en fr \
you should quote this values:
--with-language=en fr \
And use Windows paths
--with-docs=/cygdrive/f/Scripts/php/CVS/cvs.php.net/peardoc \
--with-docs=F:/Scripts/php/CVS/cvs.php.net/peardoc \
The errors in mk_notes.php shouldn't exist, but they doesn't wurt you.
The other errors are made by the peardoc configure script.
Try to run configure on peardoc to see if it runs..
Nuno
- Original Message - 
Hello,
I am currently trying to install a livedocs under windows, following the 
README instructions.

I'm using Cygwin with a full install.
Some informations about paths:
E:/HTTPServer/php is the php directory.
E:/HTTPServer/LiveDocs is the livedocs directory that contains the cvs 
version.
F:/Scripts/php/ is the webserver's base directory.
F:/Scripts/livedocs/ is the directory where the livedoc will be.

1) I configure it using:
---
./configure --with-php=E:/HTTPServer/php/php.exe  \
--with-docs=/cygdrive/f/Scripts/php/CVS/cvs.php.net/peardoc \
--with-build-log=logs.txt \
--with-build-type=peardoc \
--with-output-dir=F:/Scripts/php/livedocs/ \
--with-language=en fr \
--enable-content-caching=yes \
--with-web-base=/livedocs/
---
here is the output :
---
loading cache ./config.cache
checking for php... E:/HTTPServer/php/php.exe
checking for xsltproc... (cached) /usr/bin/xsltproc
creating ./config.status
creating build-ops
creating config.php
creating .htaccess
Copying livedoc files to F:/Scripts/php/livedocs/...
You have configured livedocs so that links are relative to 
http://yourserver/livedocs/
F:/Scripts/php/livedocs/ is assumed to be the dir that is displayed by 
your webserver for that URL

---
2) ./build.sh
  logs.txt contains :
---

Building user notes
Notice: Undefined variable:  n_data in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 110
Done: 0 notes 0 bytes

Notice: Undefined variable:  fp in e:\HTTPServer\LiveDocs\mk_notes.php 
on line 113

Warning: fclose(): supplied argument is not a valid stream resource in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 113

Notice: Undefined variable:  name in e:\HTTPServer\LiveDocs\mk_notes.php 
on line 114

Warning: unlink(): Permission denied in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
PHP Notice:  Undefined variable:  n_data in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 110
PHP Notice:  Undefined variable:  fp in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 113
PHP Warning:  fclose(): supplied argument is not a valid stream resource 
in e:\HTTPServer\LiveDocs\mk_notes.php on line 113
PHP Notice:  Undefined variable:  name in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
PHP Warning:  unlink(): Permission denied in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
Configuring peardoc for en: Thu Mar 10 15:30:02 WEST 2005
checking for php... E:/HTTPServer/php/php.exe
checking php version... Error in argument 1, char 2: option not found r
./configure: line 1352: test: too many arguments
PHP 5.0.3 (cli) (built: Dec 15 2004 08:07:57)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
configure: WARNING: PHP version 4.0.0 or newer needed
checking for docbook.dsl... defaulting - WARNING!!! DSSSL NOT FOUND - 
WON'T WORK THIS WAY
checking for docbook.xsl... checking for language... en
checking for openjade... /usr/bin/openjade
checking for onsgmls... /usr/bin/onsgmls
configure: creating ./config.status
config.status: creating \
config.status: error: cannot find input file: \
.in
End: Thu Mar 10 15:30:08 WEST 2005

---
I'm stuck, any kind of help would really be appreciated
-colder


[PHP-DOC] Problems installing livedocs on windows

2005-03-10 Thread colder
Hello,
I am currently trying to install a livedocs under windows, following the 
README instructions.

I'm using Cygwin with a full install.
Some informations about paths:
E:/HTTPServer/php is the php directory.
E:/HTTPServer/LiveDocs is the livedocs directory that contains the cvs 
version.
F:/Scripts/php/ is the webserver's base directory.
F:/Scripts/livedocs/ is the directory where the livedoc will be.

1) I configure it using:
---
./configure --with-php=E:/HTTPServer/php/php.exe  \
--with-docs=/cygdrive/f/Scripts/php/CVS/cvs.php.net/peardoc \
--with-build-log=logs.txt \
--with-build-type=peardoc \
--with-output-dir=F:/Scripts/php/livedocs/ \
--with-language=en fr \
--enable-content-caching=yes \
--with-web-base=/livedocs/
---
here is the output :
---
loading cache ./config.cache
checking for php... E:/HTTPServer/php/php.exe
checking for xsltproc... (cached) /usr/bin/xsltproc
creating ./config.status
creating build-ops
creating config.php
creating .htaccess
Copying livedoc files to F:/Scripts/php/livedocs/...
You have configured livedocs so that links are relative to 
http://yourserver/livedocs/
F:/Scripts/php/livedocs/ is assumed to be the dir that is displayed by 
your webserver for that URL

---
2) ./build.sh
  logs.txt contains :
---

Building user notes
Notice: Undefined variable:  n_data in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 110
Done: 0 notes 0 bytes

Notice: Undefined variable:  fp in e:\HTTPServer\LiveDocs\mk_notes.php 
on line 113

Warning: fclose(): supplied argument is not a valid stream resource in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 113

Notice: Undefined variable:  name in e:\HTTPServer\LiveDocs\mk_notes.php 
on line 114

Warning: unlink(): Permission denied in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
PHP Notice:  Undefined variable:  n_data in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 110
PHP Notice:  Undefined variable:  fp in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 113
PHP Warning:  fclose(): supplied argument is not a valid stream resource 
in e:\HTTPServer\LiveDocs\mk_notes.php on line 113
PHP Notice:  Undefined variable:  name in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
PHP Warning:  unlink(): Permission denied in 
e:\HTTPServer\LiveDocs\mk_notes.php on line 114
Configuring peardoc for en: Thu Mar 10 15:30:02 WEST 2005
checking for php... E:/HTTPServer/php/php.exe
checking php version... Error in argument 1, char 2: option not found r
./configure: line 1352: test: too many arguments
PHP 5.0.3 (cli) (built: Dec 15 2004 08:07:57)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
configure: WARNING: PHP version 4.0.0 or newer needed
checking for docbook.dsl... defaulting - WARNING!!! DSSSL NOT FOUND - 
WON'T WORK THIS WAY
checking for docbook.xsl... checking for language... en
checking for openjade... /usr/bin/openjade
checking for onsgmls... /usr/bin/onsgmls
configure: creating ./config.status
config.status: creating \
config.status: error: cannot find input file: \
.in
End: Thu Mar 10 15:30:08 WEST 2005

---
I'm stuck, any kind of help would really be appreciated
-colder