[horde] PHP IMAP Solaris 9

Trevor Dodds horde at johncom.net
Wed Sep 5 19:32:10 UTC 2007


Anyone have any idea where I can look for help?

-----Original Message-----
From: horde-bounces at lists.horde.org
[mailto:horde-bounces at lists.horde.org] On Behalf Of Trevor Dodds
Sent: 04 September 2007 01:01 PM
To: horde at lists.horde.org
Subject: [horde] PHP IMAP Solaris 9

Hi,

I've been trying to compile imap with php but keep on getting stuck.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gettext
--with-dom --with-mcrypt --with-iconv --enable-mbstring=all
--enable-mbregex --with-gd --with-mysql --with-pear --enable-ftp
--with-imap=../imap-2002

checking for IMAP support... yes
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for utf8_mime2text signature... old
checking for U8T_CANONICAL... no
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

I've tried many versions of UW-IMAP all give the same error as above
looking at the config.log file it reads :

configure:47663: checking for pam_start in -lpam
configure:47682: gcc -o conftest -I/usr/local/include -g -O2
-D_POSIX_PTHREAD_SEMANTICS -liconv -L/usr/local/lib  -R/usr/ucblib
-L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -R/usr/local/lib
-L/usr/local/lib conftest.
c -lpam  -liconv -lintl -lpng -lz -lresolv -lm -ldl -lnsl -lsocket
-lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm
-lsocket
 -lnsl 1>&5
configure:47837: checking for crypt in -lcrypt
configure:47856: gcc -o conftest -I/usr/local/include -g -O2
-D_POSIX_PTHREAD_SEMANTICS -liconv -L/usr/local/lib  -R/usr/ucblib
-L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -R/usr/local/lib
-L/usr/local/lib conftest.
c -lcrypt  -lpam -liconv -lintl -lpng -lz -lresolv -lm -ldl -lnsl
-lsocket  -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv
-lm
-lsocket -lnsl 1>&5
configure:48430:43: ../imap-2002/c-client/linkage.h: No such file or
directory
configure:49147:43: ../imap-2002/c-client/linkage.c: No such file or
directory
configure:49204: gcc -o conftest -I/usr/local/include -g -O2
-D_POSIX_PTHREAD_SEMANTICS -liconv -L/usr/local/lib  -R/usr/ucblib
-L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -R/usr/local/lib
-L/usr/local/lib -R/usr/lo
cal/src/imap-2002/c-client -L/usr/local/src/imap-2002/c-client
conftest.c -lc-client   -lcrypt -lpam -liconv -lintl -lpng -lz -lresolv
-lm -ldl
 -lnsl -lsocket  -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz
-liconv -lm -lsocket -lnsl 1>&5
Undefined                       first referenced
 symbol                             in file
auth_gssapi_valid                   /var/tmp//ccIyq8to.o
ld: fatal: Symbol referencing errors. No output written to conftest
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/local/include -g -O2
-D_POSIX_PTHREAD_SEMANTICS -liconv -L/usr/local/lib  -R/usr/ucblib
-L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -R/usr/local/lib
-L/usr/local/lib -R/usr/lo
cal/src/imap-2002/c-client -L/usr/local/src/imap-2002/c-client
conftest.c -lc-client   -lcrypt -lpam -liconv -lintl -lpng -lz -lresolv
-lm -ldl
 -lnsl -lsocket  -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz
-liconv -lm -lsocket -lnsl 1>&5
Undefined                       first referenced
symbol                             in file
SSL_load_error_strings
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_get_peer_certificate
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
ERR_load_crypto_strings
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
X509_NAME_oneline
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_state
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_write
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
RAND_seed
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_get_error
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
ERR_error_string
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
ERR_get_error
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_use_RSAPrivateKey_file
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
TLSv1_client_method
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_accept
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSLv23_server_method
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_get_fd
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_set_connect_state
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_use_certificate_chain_file
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_set_fd
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
TLSv1_server_method
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_pending
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_ctrl
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_free
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_read
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSLv23_client_method
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_new
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_new
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
BIO_new_socket
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_set_bio
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_shutdown
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_set_verify
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
X509_verify_cert_error_string
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_ctrl
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_free
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
X509_STORE_CTX_get_current_cert
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
RSA_generate_key
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
X509_STORE_CTX_get_error
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_set_default_verify_paths
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_set_cipher_list
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_CTX_set_tmp_rsa_callback
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
X509_get_subject_name
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
SSL_library_init
/usr/local/src/imap-2002/c-client/libc-client.a(osdep.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 49242 "configure"
#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;
    }


Thanks
Trevor
 
This message (and any associated files) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is confidential, subject to copyright or constitutes a
trade secret. If you are not the intended recipient you are hereby
notified that any dissemination, copying or distribution of this
message, or files associated with this message, is strictly prohibited.
If you have received this message in error, please notify us immediately
by replying to the message and deleting it from your computer. Messages
sent to and from us may be monitored.  
 
Internet communications cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. Therefore, we do not accept
responsibility for any errors or omissions that are present in this
message, or any attachment, that have arisen as a result of e-mail
transmission. If verification is required, please request a hard-copy
version. Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.
-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org



More information about the horde mailing list