Talk:How to set up PHP under AOLserver

From AOLserver Wiki
Revision as of 21:47, 5 December 2005 by Caveman (talk | contribs) (→‎issues using php 5.1.1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I've downloaded the aolserver src both directly and via the Debian source package, but cannot get php-5.1.1 to build:

sam@caveman:~/downloads/php.net/php-5.1.1$ ls
CODING_STANDARDS                  TODO-PHP5        install-sh
CREDITS                           TSRM             libs
EXTENSIONS                        UPGRADING        ltmain.sh
INSTALL                           Zend             main
LICENSE                           acconfig.h       makedist
Makefile.frag                     acconfig.h.in    makerpm
Makefile.fragments                acinclude.m4     missing
Makefile.global                   aclocal.m4       mkinstalldirs
Makefile.objects                  build            netware
NEWS                              buildconf        pear
README.CVS-RULES                  buildconf.bat    php.gif
README.EXTENSIONS                 confdefs.h       php.ini-dist
README.EXT_SKEL                   config.cache     php.ini-recommended
README.PARAMETER_PARSING_API      config.guess     php5.spec.in
README.PHP4-TO-PHP5-THIN-CHANGES  config.log       regex
README.QNX                        config.nice      run-tests.php
README.SELF-CONTAINED-EXTENSIONS  config.sub       sapi
README.STREAMS                    configure        scripts
README.SUBMITTING_PATCH           configure.in     server-tests-config.php
README.TESTING                    cvsclean         server-tests.php
README.TESTING2                   cvsclean.bat     snapshot
README.UNIX-BUILD-SYSTEM          ext              stamp-h.in
README.WIN32-BUILD-SYSTEM         footer           stub.c
README.Zeus                       generated_lists  tests
README.input_filter               genfiles         win32
TODO                              header
TODO-5.1                          include
sam@caveman:~/downloads/php.net/php-5.1.1$ ./configure --with-aolserver --with-aolserver-src=/home/sam/downloads/aolserver.org/aolserver-4.0.10
aolserver-4.0.10             aolserver-4.0.10-src.tar.gz
sam@caveman:~/downloads/php.net/php-5.1.1$ ./configure --with-aolserver --with-aolserver-src=/home/sam/downloads/aolserver.org/aolserver-4.0.10 --enable-shared
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... re2c
checking for re2c version... invalid
configure: warning: You will need re2c 0.98 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 1.875 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... invalid
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4  (found: 2.5.31).
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... yes
configure: error: Please specify the path to the source distribution of AOLserver using --with-aolserver-src=DIR
sam@caveman:~/downloads/php.net/php-5.1.1$
sam@caveman:~/downloads/php.net/php-5.1.1$ ls /home/sam/downloads/aolserver.org/aolserver-4.0.10
ChangeLog   configure     index.html     nscgi  nsext   nssock             tcl
Makefile    configure.in  ini2tcl.tcl    nscp   nslog   nsssl              tcl2ini.tcl
README      doc           install-sh     nsd    nspd    nsthread           tests
aclocal.m4  include       license.terms  nsdb   nsperm  sample-config.tcl  win32
sam@caveman:~/downloads/php.net/php-5.1.1$

Perhaps I am simply an idiot (would not be the first time) but something "no longer works".