[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Compiling PHP4.3.1 with cURL & IMAP



I'm trying to compile PHP 4.3.1 with cURL on our RaQ4.
I'm using this configuration.
./configure --disable-debug --enable-ftp --enable-magic-quotes --enable-mm=shared --enable-track-vars --enable-xml --prefix=/usr --enable-wddx=shared --enable-sockets --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd/4.3.1/ --with-exec-dir=/usr/bin --with-gettext=/usr --with-interbase=shared --with-iconv --with-ldap --with-mysql=shared --with-pgsql=shared --with-jpeg-dir=/usr --with-png-dir=/usr --with-regex=system --with-zlib --with-libdir=/usr/lib --with-ttf --with-pdflib=shared --with-curl=shared --with-imap

And get this error:
checking for CURL support... yes, shared
checking for CURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/

If I remove "--with-curl=shared" I get this error

checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for details.

I hope some one can help me figuring this "little" problem out ...

René Mølsted