ID:               32710
 User updated by:  software-php at interfasys dot ch
 Reported By:      software-php at interfasys dot ch
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: FreeBSD 5.3
 PHP Version:      4.3.11
 New Comment:

Here is a bigger part of config.log in case it gives a better idea of
what is going on:

configure:18124: checking for gzgets in -lz
configure:18143: gcc -o conftest -g -O2  -R/usr/local/lib
-L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lz  -lm
 -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lssl
-lcrypto 1>&5
/usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used
unsafely; consider using mkstemp()
/usr/lib/libgssapi.so: undefined reference to `krb5_rd_cred2'
/usr/lib/libgssapi.so: undefined reference to `krb5_crypto_destroy'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_address'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_data'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_keyblock'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setremotesubkey'
/usr/lib/libgssapi.so: undefined reference to `krb5_data_free'
/usr/lib/libgssapi.so: undefined reference to
`krb5_config_get_strings'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setlocalsubkey'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_generatelocalsubkey'
/usr/lib/libgssapi.so: undefined reference to `krb5_sockaddr2address'
/usr/lib/libgssapi.so: undefined reference to `krb5_cc_get_ops'
/usr/lib/libgssapi.so: undefined reference to
`krb5_get_default_principal'
/usr/lib/libgssapi.so: undefined reference to `krb5_cc_copy_cache'
/usr/lib/libasn1.so: undefined reference to `init_error_table'
/usr/lib/libgssapi.so: undefined reference to `krb5_auth_con_setkey'
/usr/lib/libgssapi.so: undefined reference to
`krb5_get_forwarded_creds'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_err_text'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_int32'
/usr/lib/libgssapi.so: undefined reference to `krb5_h_addr2sockaddr'
/usr/lib/libgssapi.so: undefined reference to
`krb5_build_authenticator'
/usr/lib/libgssapi.so: undefined reference to `krb5_build_ap_req'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_getremoteseqnumber'
/usr/lib/libgssapi.so: undefined reference to `krb5_data_zero'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_free'
/usr/lib/libgssapi.so: undefined reference to
`krb5_config_free_strings'
/usr/lib/libgssapi.so: undefined reference to `krb5_create_checksum'
/usr/lib/libgssapi.so: undefined reference to
`krb5_generate_random_block'
/usr/lib/libgssapi.so: undefined reference to `krb5_crypto_init'
/usr/lib/libgssapi.so: undefined reference to
`krb5_enctype_to_keytype'
/usr/lib/libgssapi.so: undefined reference to
`krb5_free_creds_contents'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_from_mem'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_address'
/usr/lib/libgssapi.so: undefined reference to `krb5_decrypt_ivec'
/usr/lib/libasn1.so: undefined reference to `initialize_error_table_r'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_int16'
/usr/lib/libgssapi.so: undefined reference to `krb5_ret_int16'
/usr/lib/libgssapi.so: undefined reference to `krb5_get_error_string'
/usr/lib/libgssapi.so: undefined reference to `krb5_principal_match'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setlocalseqnumber'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_to_data'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_int32'
/usr/lib/libgssapi.so: undefined reference to `krb5_encrypt_ivec'
/usr/lib/libgssapi.so: undefined reference to `krb5_storage_emem'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_data'
/usr/lib/libgssapi.so: undefined reference to
`krb5_auth_con_setremoteseqnumber'
/usr/lib/libgssapi.so: undefined reference to
`krb5_principal_get_realm'
/usr/lib/libgssapi.so: undefined reference to `krb5_set_error_string'
/usr/lib/libgssapi.so: undefined reference to `krb5_make_principal'
/usr/lib/libgssapi.so: undefined reference to `krb5_store_keyblock'
configure: failed program was:
#line 18132 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }


Previous Comments:
------------------------------------------------------------------------

[2005-04-15 14:23:09] software-php at interfasys dot ch

OK, I did.
Same result.

checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined...
/usr/local
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9

------------------------------------------------------------------------

[2005-04-15 14:02:31] [EMAIL PROTECTED]

There aren't any configure options in PHP configure which would expect
/usr/local/lib as parameter (drop the /lib part from it)


------------------------------------------------------------------------

[2005-04-15 03:56:57] software-php at interfasys dot ch

>From config.log:
configure: failed program was:
#line 18132 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }

------------------------------------------------------------------------

[2005-04-15 03:55:18] software-php at interfasys dot ch

Description:
------------
I can compile 4.3.10 just fine with this config:

./configure \
        --with-apxs \
        --disable-ipv6 \
        --with-curl=/usr/local/lib \
        --with-gd=/usr/local \
        --with-jpeg-dir=/usr/local \
        --with-png-dir=/usr/local \
        --with-zlib-dir=/usr/local/lib \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-freetype-dir=/usr/local \
        --with-gettext \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=/usr/local/mysql \
        --with-pear \
        --with-dom \
        --with-dom-xslt \
        --with-dom-exslt \
        --with-zlib \
        --with-zip \
        --with-openssl \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --with-iconv=/usr/local \
        --with-imap \
        --with-imap-ssl \
        --with-bz2 \
        --enable-mbstring

but if I try with 4.3.11 I get this:
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined...
/usr/local/lib
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9

The latest Zlib has been compiled and the phpinfo in 4.3.10 shows
this:
ZLib Support    enabled
Compiled Version        1.2.2
Linked Version  1.2.1


If I use the configure file from 4.3.10 then all checks are passed and
make can be started (it only fails at the end of the make process
because mbstring also has a problem).

I've tried with a .12 snapshot and I got the same result.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32710&edit=1

Reply via email to