ID:               22851
 User updated by:  davidp at oak dot njit dot edu
 Reported By:      davidp at oak dot njit dot edu
-Status:           Feedback
+Status:           Open
 Bug Type:         IMAP related
 Operating System: Solaris 8
 PHP Version:      4.3.1
 New Comment:

Your suggestion to use 
 http://snaps.php.net/php4-STABLE-latest.tar.gz
fixed the IMAP problem ! Thanks !


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

[2003-03-24 19:19:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

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

[2003-03-24 10:12:37] davidp at oak dot njit dot edu

#!/bin/ksh

set -o allexport

PATH=/usr/local/bin/gnu:$PATH
DIR=/afs/cad/solaris/apache.127.proto

if [[ -d $DIR/php-4.3.1 ]]; then
 cd $DIR/php-4.3.1
else
 print "$DIR/php-4.3.1 does not exist -- exiting..."
 exit 0
fi

./configure \
--with-apxs=$DIR/apache/bin/apxs \
--with-ldap=/afs/cad/solaris/openldap \
--with-imap=/usr/local/imap \
--with-imap-ssl=/usr/local/ssl \
| tee -a CONFIGURE.log

#--------------------------
=> Configure stops at:
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

=> From config.log:
configure:35446: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=2
80 -DUSE_EXPAT  -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-s
olaris2.8/3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2
-R/usr/local/imaplib -L/usr/local/imaplib -R/usr/local/ssl/lib
-L/usr/local/ssllib conftest.c
 -lcrypto -lssl -lc-client   -lcrypt -lpam -lcrypt -lresolv -lm -ldl
-lnsl -lsoc
ket  -lgcc -lcrypt 1>&5
Undefined                       first referenced
 symbol                             in file
SSL_library_init                   
/usr/local/imap/lib/libc-client.a(osdep.o)
.
.

ERR_get_error                      
/usr/local/imap/lib/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 35421 "configure"
#--------------------------
=> End of CONFIGURE.log:

checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client...
/usr/local/ssl/lib
checking whether IMAP works... no
#--------------------------
/usr/local/imap/lib/libc-client.a is from Univ. of Washington IMAP
imap-2003.DEV.SNAP-0301171021


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


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

Reply via email to