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

From: Date: Wed, 10 Sep 2003 06:07:01 +0000
Subject: #25352 [Fbk->Opn]: Cannot compile without --disable-cli
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47362@lists.php.net to get a copy of this message
ID: 25352 Updated by: gluke@php.net Reported By: gluke@php.net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: FreeBSD PHP Version: 4.3.4-dev New Comment: [root@faust root]# /opt/mnogo/bin/udm-config --libs -lz -lm -L/usr/local/lib/mysql -lmysqlclient -L/opt/mnogo/lib -lmnogosearch -lmn ogocharset [root@faust root]# P.S. Remember please that apache module compile and work ok, and removing libtool call make PHP cli compile and work too. Previous Comments: ------------------------------------------------------------------------ [2003-09-09 10:10:12] sniper@php.net 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!!!!) ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ 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 (#47362) next »