I'm trying to build and install php-5.1.1 on My Mac OS X 10.4.3
I can build it with out imap but can't get it to work when I enter it in:

./configure --prefix=/usr/local/php --with-apxs --enable-force-cgi- reidirect --enable-fast-cgi --with-openssl=/usr --with-dom=/usr/local/ php --with-gd --with-mysql --with-mysql-socket=/tmp/mysql.sock -- enable-sockets --enable-wddx --enable-xslt --with-zlib=/usr --with- xml --with-xmlrpc --enable-exif --enable-wddx --enable-ftp --enable- mbstring -enable-xslt --with-ldap --with-xml --with-xmlrpc --with- iodbc=/usr --enable-sockets --enable-dbx --enable-dbase --enable- trans-sid --with-dom=/usr/local/php --with-dom-xslt=/usr/local/php -- with-dom-exslt=/usr/local/php --with-xslt-sablot=/usr/local/php -- enable-zend-multibyte --enable-maintainer-zts --with-openssl=/usr -- with-jpeg-dir=/usr/local/php --with-imap-ssl=/usr --with-imap=../ imap-2004g

I already ran make osx in imap-2004g

When building I get:
checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

configure:47438: checking whether build with IMAP works
configure:47476: gcc -o conftest -DBIND_8_COMPAT=1 -DEAPI -O3 -no- cpp-precomp -L/usr/local/php/lib -L/usr/local/php/lib -L/usr/local/ lib -L/usr/local/lib -L/Users/badams/Desktop/imap-2004g/c-client -L/ Users/badams/Desktop/imap-2004g/c-client conftest.c -lc-client - lssl -lcrypto -lpam -lpng -lz -ljpeg -lssl -lcrypto -lz -lssl - lcrypto -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
configure: failed program was:
#line 47449 "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() {
      return 0;
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to