ID: 21673 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RedHat 8.0 PHP Version: 4.3.0 New Comment:
That could be from a stale object file. Try running make clean before make. Previous Comments: ------------------------------------------------------------------------ [2003-01-15 19:40:37] [EMAIL PROTECTED] rm -rf php-4.3.0 tar xvzf *gz reinstalled the tar file, worked... odd ------------------------------------------------------------------------ [2003-01-15 19:32:00] [EMAIL PROTECTED] OK, so I got some instructions on HOWTO with Apache2: http://www.php.net/manual/en/install.apache2.php I use: -------------------------------- ./configure --prefix=/usr --with-apxs2=/etc/httpd/bin/apxs --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib --with-db3 --with-pgsql=shared --with-ldap --with-imap --with-imap-ssl --with-curl=shared --with-pdflib=shared -with-kerberos -------------------------------- (again, can not leave out --with-imap-ssl --with-kerberos) ./configure works fine... make gives me this: -------------------------------- Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/apache2filter/sapi_apache2.lo sapi/apache2filter/apache_config.lo sapi/apache2filter/php_functions.lo main/internal_functions.lo -lgdbm -lcrypto -lssl -lc-client -lldap -llber -lcrypt -lpam -lpng -lz -ldb -lgdbm -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -o libphp4.la ext/zlib/zlib.lo: file not recognized: File truncated collect2: ld returned 1 exit status make: *** [libphp4.la] Fout 1 -------------------------------- "Fout" is dutch for error ------------------------------------------------------------------------ [2003-01-15 19:11:44] [EMAIL PROTECTED] Are you sure your build has failed? That looks like a warning to me. Tried "make install"? ------------------------------------------------------------------------ [2003-01-15 19:07:15] [EMAIL PROTECTED] I am trying to compile PHP 4.3.0 on RedHat 8.0, This is the error I keep having: ----------------------------------- _krb5 -lkrb5 -lk5crypto -lcom_err -o sapi/cli/php /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/redhat/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp' ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /home/software/PHP/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ----------------------------------- I use the following configure ----------------------------------- ./configure --prefix=/usr --with-apache2=../../HTTPD/httpd-2.0.43 --with-gd --with-gettext=/usr --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-db --with-gdbm --enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib --with-db3 --with-pgsql=shared --with-ldap --with-imap --with-imap-ssl --with-curl=shared --with-pdflib=shared -with-kerberos ----------------------------------- I can NOT use without -with-imap-ssl or -with-kerberos. I DO NOT want this.. But if I don't do that, it keeps telling me that I should.... I tried --without-imap-ssl, no result.. Regardless of this, I KEEP having the above error... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21673&edit=1