Re: PHP Installation : apxs ?????

From: Date: Thu, 20 Jun 2002 03:51:18 +0000
Subject: Re: PHP Installation : apxs ?????
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-7402@lists.php.net to get a copy of this message
Thanks to all those who helped. I installed apxs thro' the "package manager". No errors. Now I've apxs in my /usr/sbin directory. Got an error while running php-configuration. Can someone tell me what is the problem. I'm on day 0 in php. Thanks. root> ./configure --with-apxs=/usr/sbin/apxs creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking how to run the C preprocessor... cc -E checking for AIX... no 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 for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... (cached) gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cann Shanky wrote:
Thanks, but I don't seem to have it at all. $ cd / $ find . -name "*apxs*" -print ./usr/share/man/man8/apxs.8.bz2 Is this ok ? But my apache seems to be working fine ! Can someone suggest me as how I get this or can I proceed with the installation. Sebastian Wolfgarten wrote:
Hi Shanky, apxs is part of the apache distribution, you will find it in the subdirectory bin of your apache install directory (mostly). Be sure to use --with-apxs2 option when configuring for the case you will ever use apache2... bye, sebastian


« previous php.install (#7402) next »