4.0.7 compile as cgi fails
| From: | Peter Holm | Date: | Thu, 09 Aug 2001 12:24:36 +0000 |
| Subject: | 4.0.7 compile as cgi fails | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3912@lists.php.net to get a copy of this message | ||
On Wed, 8 Aug 2001 17:40:02 +0200 (CEST), sniper@iki.fi (Jani
Taskinen) wrote:
>Get the latest CVS snapshot from http://snaps.php.net/
>I fixed this just few days ago.
OK, I got the php4-200108090135.tar.gz
Yep, compile as DSO now works, great!
*BUT* if I try to compile as cgi now it gives me some errors using the
same config:
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/inst/php4-200108090135«
make: *** [all-recursive] Fehler 1
"Fehler" is german and means "Error"
config looks like this:
./configure --with-mysql=/usr \
--with-config-file-path=/etc \
--with-regex=system \
--with-zlib=shared \
--with-gd=shared \
--with-imap=shared \
--with-openssl=shared \
--with-kerberos \
--with-curl=shared \
--with-ldap=shared \
--with-swf=shared,/usr/local/swf \
--with-mnogosearch=shared \
--with-gettext=shared \
--with-db2 \
--with-db3 \
--enable-ftp=shared \
--enable-trans-sid \
--enable-calendar \
--enable-shared \
--disable-pear \
Please notice: compiling --with-apxs did NOT fail and seems to work
(simple test-scripts showed no problems )
I am trying to compile it with less modules to get it isolated, but I
think you can see much faster than me what´s wrong.
Have a nice thread,
Peter