note 64029 added to ref.imap

From: Date: Thu, 06 Apr 2006 02:50:31 +0000
Subject: note 64029 added to ref.imap
Groups: php.notes 
Request: Send a blank email to php-notes+get-107407@lists.php.net to get a copy of this message
Building Apache2, PHP and IMAP requires a shareable version of the c-client library, but the standard UW code doesn't provide one. I couldn't find any way to build with the libc-client.a without generating piles of relocation errors. (gcc on Solaris 10) The IMAP c-client library can be built shareable with the following steps: 1. fix the Makefile in .../imap-2004/c-client to include: BASECFLAGS="-fPIC -O3" 2. make 3. mkdir tmp 4. cd tmp 5. ar xv ../c-client.a (to extract the .o files) 6. gcc -shared -o c-client.so *.o (to create the .so library) 7. copy that c-client.so to /usr/local/imap/lib/libc-client.so (it may be necessary to hide the libc-client.a) 8. configure PHP ; make; make install ---- Server IP: 64.71.164.2 Probable Submitter: 71.195.186.196 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.imap.php Edit -- http://master.php.net/note/edit/64029 Del: integrated -- http://master.php.net/note/delete/64029/integrated Del: useless -- http://master.php.net/note/delete/64029/useless Del: bad code -- http://master.php.net/note/delete/64029/bad+code Del: spam -- http://master.php.net/note/delete/64029/spam Del: non-english -- http://master.php.net/note/delete/64029/non-english Del: in docs -- http://master.php.net/note/delete/64029/in+docs Del: other reasons-- http://master.php.net/note/delete/64029 Reject -- http://master.php.net/note/reject/64029 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107407) next »