php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21673 Compile error (SSL?)
Submitted: 2003-01-15 19:07 UTC Modified: 2003-01-15 20:12 UTC
From: herps at raqtweak dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: RedHat 8.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: herps at raqtweak dot com
New email:
PHP Version: OS:

 

 [2003-01-15 19:07 UTC] herps at raqtweak dot com
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...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-15 19:11 UTC] edink@php.net
Are you sure your build has failed? That looks like a warning to me. Tried "make install"?
 [2003-01-15 19:32 UTC] herps at raqtweak dot com
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:40 UTC] herps at raqtweak dot com
rm -rf php-4.3.0
tar xvzf *gz

reinstalled the tar file, worked... odd
 [2003-01-15 20:11 UTC] edink@php.net
That could be from a stale object file. Try running make clean before make.
 [2003-01-15 20:12 UTC] edink@php.net
Oh, so its not a bug afterall :)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC