Bug #17143 Updated: make install fails with --disable-cli
| From: | edink@php.net | Date: | Fri, 10 May 2002 18:39:52 +0000 |
| Subject: | Bug #17143 Updated: make install fails with --disable-cli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7402@lists.php.net to get a copy of this message | ||
ID: 17143
Updated by: edink@php.net
Reported By: colin@easydns.com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux / Debian
PHP Version: 4.0CVS-2002-05-10
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
Thank you for the report.
Previous Comments:
------------------------------------------------------------------------
[2002-05-10 14:27:29] colin@easydns.com
FWIW, the full configure line is:
./configure \
--with-mysql=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--disable-magic-quotes \
--disable-debug \
--with-gettext \
--with-xml \
--with-xmlrpc \
--with-dom \
--with-curl \
--with-zlib \
--with-mcrypt \
--enable-ftp \
--with-imap \
[ --disable-cli ]
------------------------------------------------------------------------
[2002-05-10 14:14:55] colin@easydns.com
Using --disable-cli in the configure line causes "make install" to fail
with:
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Taking that out of the configure line solves it (but, of course, makes
the CLI).
- Colin
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17143&edit=1