./configure and docs

From: Date: Sun, 19 Dec 1999 23:25:30 +0000
Subject: ./configure and docs
Groups: php.dev 
Request: Send a blank email to php-dev+get-13858@lists.php.net to get a copy of this message
While coming up to speed on the build and install steps of PHP I have found some issues: (all relating to 3.0.12 CVS as of Dec/19/99) 1. README.configure (from apache-1.3.10-dev) has 3 ways to build PHP. Step two doesn't seem to be supported by PHP any longer (the other 2 ways still work). Step 2 says: 2. How you can install Apache with a dynamically linked PHP: $ gunzip <apache_1.3.X.tar.gz | tar xvf - $ gunzip <php-3.0.tar.gz | tar xvf - $ cd apache_1.3.X $ ./configure --prefix=/path/to/apache $ cd ../php-3.0 $ ./configure --with-shared-apache=../apache_1.3.X [Here is where the problems is, as the current (Dec/19/99 CVS tree) ./configure doesn't have an option for --with-shared-apache. I am not autoconf expert, but I did look in configure.in to see if it was recognized and it wasn't. Autoconf silently accepts flags that aren't supported...so no error was generated. The build of PHP will work, except the CGI version will be built. Since running PHP as a module is much preferred I would figure these docs should be changed or updated as the case may be] $ make $ make install [optionally you now have the chance to prepare or add more third-party modules to the Apache source tree] $ cd ../apache_1.3.X $ ./configure --prefix=/path/to/apache \ --activate-module=src/modules/php3/libphp3.a \ --enable-shared=php3 $ make $ make install So I am asking you guys if you think this should be taken from the Apache docs or has the flag to allow this behavior changed to something different. 2. No matter how I run ./configure this error always happens: ... updating cache ./config.cache creating ./config.status ./configure: -q: command not found ./configure: -q: command not found creating Makefile ... I have ran make -f build.mk cvsclean, and rm -f config.cache, but nothing seems to help. Am I not calling ./configure with a special option that is needed? I also tried ./configure --enable-maintainer-mode. 3. I have my cvs account working great, but I am unable to find a place to enter username/passwords to change entries in the bugdb via the web. Where can I RTFM on this. Thanks Shane Owenby IBM Linux Technology Center

« previous php.dev (#13858) next »