PHP Update mag net....

Apache, Lighttpd, nginx, Cherokee
pas
Posts: 91
Joined: 2005-04-05 12:53

PHP Update mag net....

Post by pas » 2007-12-02 10:35

Hallo,
ich versuche gerade auf meiner openSuse 10.1 Maschine PHP 4.4.7 auf 5.2.5 via kompilation upzudaten.
Leider hänge ich nun an folgenden Punkt beim Configure... [--with-imap=/usr];

Code: Select all

[...]
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.


Auszug aus der Log:

Code: Select all

[...]
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;
    }


Jedoch sind folgende Pakete installiert:
imap 2004g_suse-14
imap-devel 2004g_suse-14
imap-lib 2004g_suse-14

Wieso kommt dieser Fehler dennoch?

Danke!

User avatar
Joe User
Project Manager
Project Manager
Posts: 11599
Joined: 2003-02-27 01:00
Location: Hamburg

Re: PHP Update mag net....

Post by Joe User » 2007-12-02 13:04

Abgesehen davon, dass es offizielle PHP5-Pakete für openSUSE 10.1 gibt, fehlt Dir libmm-dev...