Many many thanks to Hon Man Law for the help: Problem: Im building imap-2001a in Solaris 2.6 SPARC machine as a dependency for PHP4 and IMP. When compiling imap with 'make gso SSLTYPE=unix' I got lots of : undefined reference to `SSL_... Solution: modify the imap-2001a/src/osdep/unix/Makefile with: SSLTYPE=unix EXTRALDFLAGS=-R/usr/local/ssl/lib EXTRASPECIALS="SSLCERTS=/local/imap/ssl/certs" Problem: when building from PHP4, i received "cannot find imap library" error. Solution: You have to build an imap include and lib tree like this /local/imap: total 8 drwxr-xr-x 4 root other 512 Jan 15 15:14 . drwxr-xr-x 18 root other 1024 Mar 1 12:21 .. drwxr-xr-x 2 root other 512 Jan 15 15:14 include drwxr-xr-x 2 root other 512 Jan 15 15:54 lib /local/imap/include: total 130 drwxr-xr-x 2 root other 512 Jan 15 15:14 . drwxr-xr-x 4 root other 512 Jan 15 15:14 .. -rw-r--r-- 1 root other 454 Jan 15 15:14 linkage.h -rw-r--r-- 1 root other 58425 Jan 15 15:14 mail.h -rw-r--r-- 1 root other 3822 Jan 15 15:14 rfc822.h /local/imap/lib: total 4326 drwxr-xr-x 2 root other 512 Jan 15 15:54 . drwxr-xr-x 4 root other 512 Jan 15 15:14 .. -rw-r--r-- 1 root other 2198392 Jan 21 17:19 c-client.a lrwxrwxrwx 1 root other 30 Jan 15 15:54 libc-client.a -> /local/imap/lib/c-client.a all the files are copied from imap-2001a/c-client. Also specify the directly when configuring PHP4 --with-imap=/local/imap \ -- Lito A. Lampitoc Foundation for Communication Initiatives phone:+63(2)8941345 CodeWAN Project http://www.codewan.com.ph -- Things which matter most must not be in the mercy of things which matter least" - Goethe. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Apr 18 06:50:44 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:40 EST