PHP Upgrade problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,
I want to upgrade from PHP 4.4.7 to 5.2.5.

System: openSuse 10.1

The packages:
imap 2004g_suse-14
imap-devel 2004g_suse-14
imap-lib 2004g_suse-14
are installed!

My Configure Command:
./configure --prefix=/usr --datadir=/usr/share/php5
--mandir=/usr/share/man --bindir=/usr/bin --includedir=/usr/include
--sysconfdir=/etc/php5/apache2 --with-config-file-path=/etc/php5/apache2
--with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml
--enable-filter --enable-session --with-mm --with-pcre-regex
--enable-xml --enable-simplexml --enable-spl --disable-debug
--enable-inline-optimization --enable-zend-multibyte --disable-rpath
--with-apxs2=/usr/sbin/apxs2 --enable-suhosin --disable-all
--disable-cli --enable-bcmath --enable-calendar --enable-ctype
--enable-dbase --enable-discard-path --enable-exif --enable-filepro
--enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf
--enable-gd-native-ttf --enable-magic-quotes --enable-mbstr-enc-trans
--enable-mbstring --enable-memory-limit --enable-safe-mode
--enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm
--enable-track-vars --enable-trans-sid --enable-versioning --enable-wddx
--with-bz2 --with-dom --with-ftp --with-gdbm --with-gettext --with-gmp
--with-imap=/usr --with-jpeg-dir=/usr/ --with-ldap --with-mcal=/usr
--with-openssl --with-mcrypt --enable-yp --with-mysql=/usr/ --with-ndbm
--with-png-dir=/usr --with-t1lib --with-tiff-dir=/usr --with-ttf
--with-freetype-dir --with-xml --with-swf --with-xpm-dir=/usr/X11R6
--with-zlib --with-gd=/usr --with-curl --with-imap-ssl --with-iconv
--with-pear --enable-zip --enable-zend-multibyte

But I always get this error:
[...]
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes
checking for IMAP Kerberos support... no
checking for IMAP SSL support... yes
checking for utf8_mime2text signature... old
checking for U8T_CANONICAL... no
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

Here my config.log:
[...]
configure:48675: checking for OpenSSL version
configure:48832: checking for CRYPTO_free in -lcrypto
configure:49008: checking for SSL_CTX_set_ssl_version in -lssl
configure:49204: gcc -o conftest -I/usr/include -g -O2  -L/usr/lib
-L/usr//lib -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lc-client
-lssl -lcrypto -lcrypt -lpam -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm
-lpng -lz -ljpeg -lssl -lcrypto -lndbm -lgdbm -lcurl -lbz2 -lz -lssl
-lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lcurl -lidn -lssl
-lcrypto -ldl -lz 1>&5
/tmp/ccklxJu8.o: In function `main':
/home/pas/php-5.2.5/configure:49198: undefined reference to
`auth_gssapi_valid'
collect2: ld returned 1 exit status
configure: failed program was:
#line 49177 "configure"
#include "confdefs.h"


    void mm_log(void){}
    void mm_dlog(void){}
    void mm_flags(void){}
    void mm_fatal(void){}
    void mm_critical(void){}
    void mm_nocritical(void){}
    void mm_notify(void){}
    void mm_login(void){}
    void mm_diskerror(void){}
    void mm_status(void){}
    void mm_lsub(void){}
    void mm_list(void){}
    void mm_exists(void){}
    void mm_searched(void){}
    void mm_expunged(void){}

    char auth_gssapi_valid();
    int main() {
      auth_gssapi_valid();
      return 0;
    }

configure:49231: checking whether build with IMAP works
configure:49269: gcc -o conftest -I/usr/include -g -O2  -L/usr/lib
-L/usr//lib -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lc-client
-lssl -lcrypto -lcrypt -lpam -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm
-lpng -lz -ljpeg -lssl -lcrypto -lndbm -lgdbm -lcurl -lbz2 -lz -lssl
-lcrypto -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lcurl -lidn -lssl
-lcrypto -ldl -lz 1>&5
configure: failed program was:
#line 49242 "configure"
#include "confdefs.h"


    void mm_log(void){}
    void mm_dlog(void){}
    void mm_flags(void){}
    void mm_fatal(void){}
    void mm_critical(void){}
    void mm_nocritical(void){}
    void mm_notify(void){}
    void mm_login(void){}
    void mm_diskerror(void){}
    void mm_status(void){}
    void mm_lsub(void){}
    void mm_list(void){}
    void mm_exists(void){}
    void mm_searched(void){}
    void mm_expunged(void){}

    char mail_newbody();
    int main() {
      mail_newbody();
      return 0;
    }


So what made I wrong?

Thanks!

Regards Patrick

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux