building php
| From: | Michal Dvoracek | Date: | Wed, 15 May 2002 17:06:15 +0000 |
| Subject: | building php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-97756@lists.php.net to get a copy of this message | ||
Hello,
i can't get php binary when installing php on my server.
my configure:
./configure --prefix=/usr/local \
--with-config-file-path=/usr/local/etc \
--with-openssl=/usr/local \
--with-zlib-dir=/usr/local \
--with-zlib=/usr/local \
--with-bz2=/usr/local \
--with-mysql=/usr/local \
--with-apache=../apache_1.3.24 \
--with-zip=/usr/local \
--enable-calendar \
--enable-sockets \
--with-mod_charset \
--without-pear
configure pass with no errors, make too
make install - module is installed, everything is ok but no php binary
is installed.
when i type make php i got:
/bin/sh /usr/local/src/php-4.2.0/libtool --silent --mode=link gcc -I. -I/usr/local/src/php-4.2.0/
-I/usr/local/src/php-4.2.0/main -I/usr/local/src/php-4.2.0
-I/usr/local/src/apache_1.3.24/src/include -I/usr/local/src/apache_1.3.24/src/os/unix
-I/usr/local/src/php-4.2.0/Zend -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/src/php-4.2.0/ext/xml/expat -I/usr/local/src/php-4.2.0/TSRM -g -O2 -o php
-export-dynamic stub.lo libphp4.la
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [php] Error 1
Can you help me please ? (I urgent need php binary to execute some
scripts from crontab)
Thank you.
Regards,
Michal Dvoracek michal.dvoracek@capitol.cz