Hi,
 
I'm trying to generate php online manual on my local machine. I use w2k, cygwin. I checked out phpdoc module from cvs, installed jade, and set php.bat, changed dir ("cd d:")to /cygdrive/d/home/root/CVS/phpdoc, then autoconf, ./configure. I've successfully run "make html", so the basic configuration seems to be OK to me. (see config.log below, please)
 
But my joy was a little bit early maybe, since when I run "make phpweb", I get this:
 
[EMAIL PROTECTED] /cygdrive/d/cygwin/home/root/CVS/phpdoc
$ make phpweb
touch .manual.xml
CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status
config.status: creating manual.xml
rm -rf php && mkdir php
../phpdoc-tools/php.bat -q ./scripts/phpweb-entities.php `pwd` phpweb
ERROR in d:\cygwin\home\root\CVS\phpdoc\scripts\phpweb-entities.php: Too few or
too many parameters../phpdoc-tools/php.bat -q ./scripts/rtlpatch/hackmanuallang.
php en
PHP Notice:  Undefined variable:  argv in d:\cygwin\home\root\CVS\phpdoc\scripts
\rtlpatch\hackmanuallang.php on line 34
<br />
<b>Notice</b>:  Undefined variable:  argv in <b>d:\cygwin\home\root\CVS\phpdoc\s
cripts\rtlpatch\hackmanuallang.php</b> on line <b>34</b><br />
SP_ENCODING=XML SP_CHARSET_FIXED=YES ../phpdoc-tools/jade/jade.exe -D . -wno-idr
ef -c ./entities/ISO/catalog -c ./dsssl/docbook/catalog -c ../phpdoc-tools/jade/
catalog -c ./dsssl/defaults/catalog -d dsssl/phpweb.dsl -V use-output-dir -t sgm
l ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
 
And the generated files start like this (this one from index.php):
 
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
manual_setup(array(
  'head' => array('UTF-8', 'en'),
  'home' => array('index.php', 'PHP Manual'),
  'this' => array('index.php', 'PHP Manual'),
  'prev' => array('', ''),
  'next' => array('preface.php', 'Preface'),
  'up'   => array('', ''),
  'toc'  => array(
)));
manual_header();
?><DIV
CLASS="BOOK"
> etc. etc.
 
Backtick operator doesn't work in cygwin? Am I missing the obvious somewhere?
 
It's still not clear to me whether I need to checkout other modules to make  "make phpweb" work? Where should I get those include files from and where to place them (to my local webserver?)?
 
Thanks in advance,
--
Szabó Árpád Zoltán
 
 
config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was
 
  $ ./configure
 
## --------- ##
## Platform. ##
## --------- ##
 
hostname = lily
uname -m = i686
uname -r = 1.5.12(0.116/4/2)
uname -s = CYGWIN_NT-5.0
uname -v = 2004-11-10 08:34
 
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
 
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
 
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/WINNT/system32
PATH: /cygdrive/c/WINNT
PATH: /cygdrive/c/WINNT/System32/Wbem
PATH: /cygdrive/c/php
PATH: /cygdrive/d/php5
 

## ----------- ##
## Core tests. ##
## ----------- ##
 
configure:1340: checking for php
configure:1343: result: ../phpdoc-tools/php.bat
configure:1408: checking php version
configure:1413: result: 4.3.4 cgi-fcgi
configure:1427: checking for php.ini path
configure:1440: result: ./scripts
configure:1538: checking for jade
configure:1541: result: ../phpdoc-tools/jade/jade.exe
configure:1703: checking for nsgmls
configure:1706: result: ../phpdoc-tools/jade/nsgmls.exe
configure:1858: checking for xsltproc
configure:1876: found /usr/bin/xsltproc
configure:1889: result: /usr/bin/xsltproc
configure:1991: checking for xmllint
configure:2009: found /usr/bin/xmllint
configure:2022: result: /usr/bin/xmllint
configure:2043: checking for docbook.dsl
configure:2062: result: ./dsssl/docbook (default)
configure:2116: checking for PHP source path
configure:2151: result: no
configure:2157: checking for PEAR source path
configure:2183: result: no
configure:2189: checking for PECL source path
configure:2218: result: no
configure:2224: checking for additional PHP extensions
configure:2248: result: no
configure:2254: checking for ZendAPI
configure:2294: result: not found
configure:2303: checking for CSS to use for html docs
configure:2317: result: none
configure:2326: checking for chmonly inclusion
configure:2353: result: disabled (default)
configure:2364: checking for language
configure:2444: result: en (default)
configure:2475: checking for treesaving
configure:2742: creating ./config.status
 
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
 
This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was
 
  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status
 
on lily
 
config.status:676: creating ./RFC/manual.xml
config.status:676: creating ./Makefile
config.status:676: creating ./manual.xml
config.status:676: creating ./dsssl/common.dsl
config.status:676: creating ./dsssl/howto-php.dsl
config.status:676: creating ./dsssl/howto.dsl
config.status:676: creating ./dsssl/html-locale.dsl
config.status:676: creating ./dsssl/html.dsl
config.status:676: creating ./dsssl/install.dsl
config.status:676: creating ./dsssl/phpweb.dsl
config.status:676: creating ./dsssl/print.dsl
config.status:676: creating ./dsssl/quickref.dsl
config.status:676: creating ./entities/version.ent
config.status:676: creating ./scripts/file-entities.php
config.status:676: creating ./scripts/missing-entities.php
config.status:676: creating ./scripts/phpweb-entities.php
config.status:676: creating ./scripts/test_missing-entities.php
config.status:676: creating ./xsl/htmlhelp-config.xsl
config.status:676: creating ./xsl/param_html.xsl
 
## ---------------- ##
## Cache variables. ##
## ---------------- ##
 
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_XMLLINT=/usr/bin/xmllint
ac_cv_path_XSLTPROC=/usr/bin/xsltproc
 
## ----------------- ##
## Output variables. ##
## ----------------- ##
 
BLOCK_SEP=''
BODY_START=''
BOTTOM_MARGIN=''
CATALOG=' -c ./entities/ISO/catalog -c ./dsssl/docbook/catalog -c ../phpdoc-tools/jade/catalog -c ./dsssl/defaults/catalog'
CHMONLY_INCL_BEGIN='<!--'
CHMONLY_INCL_END='-->'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" '
DOCBOOK_HTML='./dsssl/docbook/html/docbook.dsl'
DOCBOOK_PRINT='./dsssl/docbook/print/docbook.dsl'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ENCODING='UTF-8'
EXT_SOURCE=''
FIGURES=''
FOOTER_MARGIN=''
HACK_RTL_LANGS_PAGES=''
HACK_RTL_LANGS_PHPWEB=''
HEADER_MARGIN=''
HEAD_AFTER=''
HEAD_BEFORE=''
HTMLCSS=''
HTMLHELP_ENCODING='UTF-8'
INIPATH='./scripts'
JADE='../phpdoc-tools/jade/jade.exe'
LANG='en'
LANGDIR='en'
LANGWEB='en'
LEFT_MARGIN=''
LIBOBJS=''
LIBS=''
LINE_SPACING=''
LTLIBOBJS=''
MANUAL='php_manual_en'
NSGMLS='../phpdoc-tools/jade/nsgmls.exe'
NUMBER_FIRST='#f'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PALMDOCTITLE=''PHP Manual''
PAPER_TYPE='USletter'
PATH_SEPARATOR=':'
PDF_PAPER_TYPE='letter'
PEAR_SOURCE='no'
PECL_SOURCE='no'
PHP='../phpdoc-tools/php.bat'
PHP_BUILD_DATE='2005-05-01'
PHP_SOURCE='no'
RIGHT_MARGIN=''
SHELL='/bin/bash'
SP_OPTIONS='SP_ENCODING=XML SP_CHARSET_FIXED=YES'
SRCDIR='.'
TOP_MARGIN=''
TREESAVING='#f'
WINJADE='1'
WORKDIR='/cygdrive/d/cygwin/home/root/CVS/phpdoc'
XMLLINT='/usr/bin/xmllint'
XSLTPROC='/usr/bin/xsltproc'
ZENDAPI='not found'
ZEND_FIGURES=''
ZEND_FIGURES_HTML=''
ZEND_FIGURES_PHP=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
 
## ------------- ##
## Output files. ##
## ------------- ##
 
AUTOGENERATED_RULES='autogenerated_rules'
 
## ----------- ##
## confdefs.h. ##
## ----------- ##
 
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
 
configure: exit 0

Reply via email to