#35605 [Opn->Bgs]: configure fails with aolserver4
ID: 35605 Updated by: [EMAIL PROTECTED] Reported By: sam at caveman dot org -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: Debian 3.1 PHP Version: 5.1.1 New Comment: The configure option is called "--with-aolserver".. Please ask further support questions elsewhere as this is not a support channel and this problem you're having isn't a bug in PHP. Previous Comments: [2005-12-08 21:19:37] sam at caveman dot org While configure now completes and make completes as well, this does not result in producing a shared module (e.g. libphp5.so) as expected. Variations attempted: ./configure --enable-aolserver=/usr/lib/aolserver4 --enable-shared=aolserver ./configure --enable-aolserver=shared,/usr/lib/aolserver4 Both result in configure reporting: checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes The build produces the CLI executable but not the desired shared object. [2005-12-08 20:53:32] sam at caveman dot org Thanks -- the instructions I had for configuring must have been out of date. [2005-12-08 20:50:50] [EMAIL PROTECTED] Just pass the configure option ONCE and with the right path. The right path is the _INSTALL_ prefix of aolserver. [2005-12-08 20:45:34] sam at caveman dot org Such change didn't work. AOLServer is actually configured and compiled with prefix of /usr/lib/aolserver4 (as per Debian module). [EMAIL PROTECTED]:~/downloads/php.net/php-5.1.1$ ./configure --with-aolserver=/home/sam/downloads/php.net/aolserver4-4.0.10/ 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... /home/sam/downloads/php.net/aolserver4-4.0.10/ configure: error: Please specify the path to the root of AOLserver using --with-aolserver=DIR [2005-12-08 20:08:31] [EMAIL PROTECTED] Please try this: ./configure --with-aolserver=/home/sam/downloads/aolserver.org/aolserver-4.0.10 The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35605 -- Edit this bug report at http://bugs.php.net/?id=35605&edit=1
#35605 [Opn->Bgs]: configure fails with aolserver4
ID: 35605 Updated by: [EMAIL PROTECTED] Reported By: sam at caveman dot org -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Debian 3.1 PHP Version: 5.1.1 New Comment: Just pass the configure option ONCE and with the right path. The right path is the _INSTALL_ prefix of aolserver. Previous Comments: [2005-12-08 20:45:34] sam at caveman dot org Such change didn't work. AOLServer is actually configured and compiled with prefix of /usr/lib/aolserver4 (as per Debian module). [EMAIL PROTECTED]:~/downloads/php.net/php-5.1.1$ ./configure --with-aolserver=/home/sam/downloads/php.net/aolserver4-4.0.10/ 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... /home/sam/downloads/php.net/aolserver4-4.0.10/ configure: error: Please specify the path to the root of AOLserver using --with-aolserver=DIR [2005-12-08 20:08:31] [EMAIL PROTECTED] Please try this: ./configure --with-aolserver=/home/sam/downloads/aolserver.org/aolserver-4.0.10 [2005-12-08 20:04:55] sam at caveman dot org Description: PHP 5.1.1 configure fails with aolserver, always asking that --with-aolserver-src be provided even though it is provided. Reproduce code: --- ./configure --with-aolserver --with-aolserver=/path/to/aolserver/src Expected result: I expect configure to produce a makefile that will compile the aolserver module. Actual result: -- [EMAIL PROTECTED]:~/downloads/php.net/php-5.1.1$ ./configure --with-aolserver --with-aolserver-src=/home/sam/downloads/aolserver.org/aolserver-4.0.10 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-aols