#25352 [Opn->Fbk]: Cannot compile without --disable-cli

From: Date: Tue, 09 Sep 2003 14:10:13 +0000
Subject: #25352 [Opn->Fbk]: Cannot compile without --disable-cli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47315@lists.php.net to get a copy of this message
ID: 25352 Updated by: sniper@php.net Reported By: gluke@php.net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: FreeBSD PHP Version: 4.3.4-dev New Comment: What is the output of "udm-config --libs" for you? (it should provide the libs needed, so you do NOT need --with-mysql!) (and AGAIN, set the status to "Open" when you reply!!!!) Previous Comments: ------------------------------------------------------------------------ [2003-09-09 04:02:07] gluke@php.net I downloaded php4-STABLE-200309090530. I run make clean rm -f config.cache CFLAGS=-O2 ./configure --prefix=/usr/local \ --with-mysql=/usr/local \ --with-mnogosearch=/opt/mnogo \ --with-config-file-path=/usr/local/etc/apache2 \ --without-pear --enable-memory-limit \ --with-apxs2=/usr/local/sbin/apxs make The same error occurs while linking PHP CLI: [...] sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lmysqlclient -lm -lz -lm -lmysqlclient -lmnogosearch -lmnogoch arset -lcrypt -lcrypt -o sapi/cli/php libtool: link: cannot find the library `' *** Error code 1 Stop in /opt/php/php4-STABLE-200309090530. ------------------------------------------------------------------------ [2003-09-08 09:10:37] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Try the snapshot in about one hour from now. ------------------------------------------------------------------------ [2003-09-06 21:07:27] sniper@php.net Please try applying this patch: http://www.php.net/~jani/patches/bug25352.patch And do: # ./cvsclean && ./buildconf And then try your original configure. ------------------------------------------------------------------------ [2003-09-03 06:38:25] sniper@php.net Please set the status correctly when you respond. And without --with-mnogosearch (and --with-mysql) it compiles fine? ------------------------------------------------------------------------ [2003-09-03 02:02:05] gluke@php.net I added --with-mysql=[path] to the proposed configure line, otherwise mnogosearch api will not compile if mnogosearch was compiled with mysql support. But, this does not help, the linking process was stopped while building CLI with the same error. P.S. i tested this with apxs2 and apache2, but in the past i had this error with the apache too. ------------------------------------------------------------------------ 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/25352 -- Edit this bug report at http://bugs.php.net/?id=25352&edit=1

« previous php.bugs (#47315) next »