Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: IMAP and CURL not found

  1. #1
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default IMAP and CURL not found

    Hello,
    I have just tried to install SugerCRM on Gentoo with PHP5.1.6

    PHP 5.1.6-pl6-gentoo (cli) (built: Oct 30 2006 15:39:35)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

    when running

    #php -m
    [PHP Modules]
    curl
    date
    dba
    dom
    gd
    gettext
    iconv
    imap
    libxml
    mbstring
    mcrypt
    mysql
    ncurses
    openssl
    pcre
    pgsql
    readline
    Reflection
    session
    SPL
    SQLite
    standard
    xml
    zlib


    I can see both curl and imap, but on the install.php I get the errors:

    Optional Components Status
    IMAP Module Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.
    cURL Module Not found: Sugar Scheduler will run with limited functionality.

    Am I missing something here.

    Many thanks

  2. #2
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: IMAP and CURL not found

    sorry,
    I am using SugarCRM 4.5.0f

  3. #3
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: IMAP and CURL not found

    Check what options php is compiled. To run the equery uses php you will need the gentoolkit emerged. Below is my config I bolded the nessary options.

    Code:
    equery uses php
     
     [ Found these USE variables for dev-lang/php-5.1.6-r4 ]
      U I
      - - adabas			  : Adds support for the Adabas database engine
      - - apache			  : Chooses Apache1 support when a package optionally supports Apache1
      + + apache2			 : Chooses Apache2 support when a package supports both Apache1 and Apache2
      + + bcmath			  : Adds support for libbcmath
      + + berkdb			  : Adds support for sys-libs/db (Berkeley DB for MySQL)
      - - birdstep			: Adds support for the Birdstep Database Server
      + + bzip2			   : Use the bzlib compression library
      + + calendar			: Adds support for calendars (not using mcal!)
      - - cdb				 : Adds support for the CDB database engine from the author of qmail
      - - cgi				 : Enable CGI SAPI
      - - cjk				 : Adds support for Multi-byte character languages (Chinese, Japanese, Korean)
      + + cli				 : Enable CLI SAPI
      - - concurrentmodphp	: Make it possible to load both mod_php4 and mod_php5 into the same Apache2 instance (experimental)
      + + crypt			   : Add support for encryption -- using mcrypt or gpg where applicable
      - - ctype			   : Enables ctype functions
      + + curl				: Adds support for client-side URL transfer library
      + + curlwrappers		: Adds support for using curl in streams
      - - db2				 : Enables support for IBM DB2 database server
      + + dbase			   : Adds support for dbase file format
      - - dbmaker			 : Adds support for dbmaker database server
      - - debug			   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at
     least add -g to CFLAGS. Remember to set FEATURES=nostrip too
      - - discard-path		: Switch on common security setting for CGI SAPI
      + + doc				 : Adds extra documentation (API, Javadoc, etc)
      - - empress			 : Adds support for the Empress database server
      - - empress-bcs		 : Adds local access support for the Empress database server
      - - esoob			   : Adds support for Easysoft OOD database
      + + exif				: Adds support for reading EXIF headers from JPEG and TIFF images
      - - fastbuild		   : Build PHP quicker (experimental)
      - - fdftk			   : Add supports for Adobe's FDF toolkit.
      - - filepro			 : Adds support for filePro databases
      - - firebird			: Adds support for the Firebird relational database
      + + flatfile			: Adds dbm support for flat files
      - - force-cgi-redirect  : Switch on common security setting for CGI SAPI
      - - frontbase		   : Adds support for the frontbase sql server
      + + ftp				 : Adds FTP (File Transfer Protocol) support
      + + gd				  : Adds support for media-libs/gd (to generate graphics on the fly)
      - - gd-external		 : Use the external version of gd rather than the bundled one (possibly dangerous)
      + + gdbm				: Adds support for sys-libs/gdbm (GNU database libraries)
      + + gmp				 : Adds support for dev-libs/gmp (GNU MP library)
      - - hardenedphp		 : include the hardened php security patch for the php group of ebuilds
      + + hash				: Enable the hash extension
      - - hyperwave-api	   : Adds support for Hyperwave document storage system
      + + iconv			   : Enable support for the iconv character set conversion library
      + + imap				: Adds support for IMAP (Internet Mail Application Protocol)
      - - informix			: Adds support for Informix database
      + + inifile			 : Adds dbm support for .ini files
      - - interbase		   : Adds support for Interbase database
      - - iodbc			   : Adds support for iODBC library
      + + ipv6				: Adds support for IP version 6
      - - java-external	   : Use the external java extension rather than the bundled one
      + + kerberos			: Adds kerberos support
      + + ldap				: Adds LDAP support (Lightweight Directory Access Protocol)
      - - libedit			 : Use the libedit library (replacement for readline)
      - - mcve				: Support for the MCVE credit card payment system
      - - memlimit			: Adds memory usage limiting in supporting programs
      + + mhash			   : Adds support for the mhash library
      + + ming				: Adds support for ming library for creating flash format files
      - - msql				: Adds support for the MSQL database server
      - - mssql			   : Adds support for Microsoft SQL Server database
      + + mysql			   : Adds mySQL Database support
      - - mysqli			  : Adds support for the improved mySQL libraries
      + + ncurses			 : Adds ncurses support (console display library)
      + + nls				 : Adds Native Language Support (using gettext - GNU locale utilities)
      - - oci8				: Adds Oracle 8 Database Support
      - - oci8-instant-client : Use dev-db/oracle-instantclient-basic as Oracle provider instead of requiring a full Oracle server install
      + + odbc				: Adds ODBC Support (Open DataBase Connectivity)
      - - pcntl			   : Adds support for process creation functions
      + + pcre				: Adds support for Perl Compatible Regular Expressions
      - - pdo				 : Enable the bundled PDO extensions
      - - pdo-external		: Use the external pecl-pdo extension rather than the bundled one
      - - pic				 : Build Position Independent Code.  Do not utilize this flag unless you know what you're doing.
      + + posix			   : Adds support for POSIX-compatible functions
      + + postgres			: Adds support for the postgresql database
      - - qdbm				: Adds support for the qdbm (Quick Database Manager) library
      + + readline			: Enables support for libreadline, a GNU line-editing library that almost everyone wants
      - - recode			  : Enables support for the GNU recode library
      + + reflection		  : Enable the reflection extension (Reflection API)
      - - sapdb			   : Adds support for SAP DB
      + + sasl				: Adds support for the Simple Authentication and Security Layer
      + + session			 : Adds persistent session support
      + + sharedext		   : Adds support for building shared extensions in php
      + + sharedmem		   : Adds support for shared memory use
      + + simplexml		   : support for simplexml
      + + snmp				: Adds support for the Simple Network Management Protocol if available
      + + soap				: Adds support for SOAP (Simple Object Access Protocol)
      + + sockets			 : Adds support for tcp/ip sockets
      - - solid			   : Adds support for the Solid database engine
      + + spell			   : Adds dictionary support
      + + spl				 : Adds support for the Standard PHP Library
      + + sqlite			  : Adds support for sqlite - embedded sql database
      + + ssl				 : Adds support for Secure Socket Layer connections
      - - sybase			  : Adds support for the Sybase SQL Database Server
      - - sybase-ct		   : Adds support for Sybase-CT
      + + sysvipc			 : Support for System V-compatible inter-process communication
      - - threads			 : Adds threads support for various packages. Usually pthreads
      - - tidy				: Adds support for HTML Tidy
      + + tokenizer		   : Adds support for the PHP file parser
      + + truetype			: Adds support for FreeType and/or FreeType2 fonts
      + + unicode			 : Adds support for Unicode
      - - vm-goto			 : Use the GOTO Zend-VM
      - - vm-switch		   : Use the SWITCH Zend-VM
      + + wddx				: Adds support for Web Distributed Data eXchange
      + + xml				 : Add support for XML files
      + + xmlreader		   : Enable XMLReader support
      + + xmlrpc			  : Support for xml-rpc library
      + + xmlwriter		   : Enable XMLWriter support
      + + xpm				 : Adds support for XPM graphics format
      + + xsl				 : Check/Support flag for XSL library (version 1)
      - - yaz				 : Adds in optional support for the Z39.50 Protocol for Information Retrieval (YAZ)
      + + zip				 : Enable ZIP file support
      + + zlib				: Adds support for zlib (de)compression
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  4. #4
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: IMAP and CURL not found

    Hi Max,

    Here is my output to the equery
    Code:
    [ Searching for packages matching php... ]
    [ Colour Code : set unset ]
    [ Legend        : Left column  (U) - USE flags from make.conf                     ]
    [                  : Right column (I) - USE flags packages was installed with ]
    [ Found these USE variables for dev-lang/php-5.1.6-r6 ]
     U I
     - - adabas              : Adds support for the Adabas database engine
     - - apache              : Chooses Apache1 support when a package optionally supports Apache1
     + + apache2             : Chooses Apache2 support when a package supports both Apache1 and Apache2
     - - bcmath              : Adds support for libbcmath
     + + berkdb              : Adds support for sys-libs/db (Berkeley DB for MySQL)
     - - birdstep            : Adds support for the Birdstep Database Server
     - - bzip2               : Use the bzlib compression library
     - - calendar            : Adds support for calendars (not using mcal!)
     - - cdb                 : Adds support for the CDB database engine from the author of qmail
     - - cgi                 : Enable CGI SAPI
     - - cjk                 : Adds support for Multi-byte character languages (Chinese, Japanese, Korean)
     + + cli                 : Enable CLI SAPI
     - - concurrentmodphp    : Make it possible to load both mod_php4 and mod_php5 into the same Apache2 instance (experimental)
     + + crypt               : Add support for encryption -- using mcrypt or gpg where applicable
     - - ctype               : Enables ctype functions
     + + curl                : Adds support for client-side URL transfer library
     - - curlwrappers        : Adds support for using curl in streams
     - - db2                 : Enables support for IBM DB2 database server
     - - dbase               : Adds support for dbase file format
     - - dbmaker             : Adds support for dbmaker database server
     - - debug               : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
     - - discard-path        : Switch on common security setting for CGI SAPI
     - - doc                 : Adds extra documentation (API, Javadoc, etc)
     - - empress             : Adds support for the Empress database server
     - - empress-bcs         : Adds local access support for the Empress database server
     - - esoob               : Adds support for Easysoft OOD database
     - - exif                : Adds support for reading EXIF headers from JPEG and TIFF images
     - - fastbuild           : Build PHP quicker (experimental)
     - - fdftk               : Add supports for Adobe's FDF toolkit.
     - - filepro             : Adds support for filePro databases
     - - firebird            : Adds support for the Firebird relational database
     - - flatfile            : Adds dbm support for flat files
     - - force-cgi-redirect  : Switch on common security setting for CGI SAPI
     - - frontbase           : Adds support for the frontbase sql server
     - - ftp                 : Adds FTP (File Transfer Protocol) support
     + + gd                  : Adds support for media-libs/gd (to generate graphics on the fly)
     - - gd-external         : Use the external version of gd rather than the bundled one (possibly dangerous)
     + + gdbm                : Adds support for sys-libs/gdbm (GNU database libraries)
     - - gmp                 : Adds support for dev-libs/gmp (GNU MP library)
     - - hardenedphp         : include the hardened php security patch for the php group of ebuilds
     - - hash                : Enable the hash extension
     - - hyperwave-api       : Adds support for Hyperwave document storage system
     + + iconv               : Enable support for the iconv character set conversion library
     + + imap                : Adds support for IMAP (Internet Mail Application Protocol)
     - - informix            : Adds support for Informix database
     - - inifile             : Adds dbm support for .ini files
     - - interbase           : Adds support for Interbase database
     - - iodbc               : Adds support for iODBC library
     - - ipv6                : Adds support for IP version 6
     - - java-external       : Use the external java extension rather than the bundled one
     - - kerberos            : Adds kerberos support
     - - ldap                : Adds LDAP support (Lightweight Directory Access Protocol)
     - - libedit             : Use the libedit library (replacement for readline)
     - - mcve                : Support for the MCVE credit card payment system
     - - memlimit            : Adds memory usage limiting in supporting programs
     - - mhash               : Adds support for the mhash library
     - - ming                : Adds support for ming library for creating flash format files
     - - msql                : Adds support for the MSQL database server
     - - mssql               : Adds support for Microsoft SQL Server database
     + + mysql               : Adds mySQL Database support
     - - mysqli              : Adds support for the improved mySQL libraries
     + + ncurses             : Adds ncurses support (console display library)
     + + nls                 : Adds Native Language Support (using gettext - GNU locale utilities)
     - - oci8                : Adds Oracle 8 Database Support
     - - oci8-instant-client : Use dev-db/oracle-instantclient-basic as Oracle provider instead of requiring a full Oracle server install
     - - odbc                : Adds ODBC Support (Open DataBase Connectivity)
     - - pcntl               : Adds support for process creation functions
     + + pcre                : Adds support for Perl Compatible Regular Expressions
     - - pdo                 : Enable the bundled PDO extensions
     - - pdo-external        : Use the external pecl-pdo extension rather than the bundled one
     - - pic                 : Build Position Independent Code.  Do not utilize this flag unless you know what you're doing.
     - - posix               : Adds support for POSIX-compatible functions
     + + postgres            : Adds support for the postgresql database
     - - qdbm                : Adds support for the qdbm (Quick Database Manager) library
     + + readline            : Enables support for libreadline, a GNU line-editing library that almost everyone wants
     - - recode              : Enables support for the GNU recode library
     + + reflection          : Enable the reflection extension (Reflection API)
     - - sapdb               : Adds support for SAP DB
     - - sasl                : Adds support for the Simple Authentication and Security Layer
     + + session             : Adds persistent session support
     - - sharedext           : Adds support for building shared extensions in php
     - - sharedmem           : Adds support for shared memory use
     - - simplexml           : support for simplexml
     - - snmp                : Adds support for the Simple Network Management Protocol if available
     - - soap                : Adds support for SOAP (Simple Object Access Protocol)
     - - sockets             : Adds support for tcp/ip sockets
     - - solid               : Adds support for the Solid database engine
     - - spell               : Adds dictionary support
     + + spl                 : Adds support for the Standard PHP Library
     + + sqlite              : Adds support for sqlite - embedded sql database
     + + ssl                 : Adds support for Secure Socket Layer connections
     - - sybase              : Adds support for the Sybase SQL Database Server
     - - sybase-ct           : Adds support for Sybase-CT
     - - sysvipc             : Support for System V-compatible inter-process communication
     - - threads             : Adds threads support for various packages. Usually pthreads
     - - tidy                : Adds support for HTML Tidy
     - - tokenizer           : Adds support for the PHP file parser
     - - truetype            : Adds support for FreeType and/or FreeType2 fonts
     + + unicode             : Adds support for Unicode
     - - vm-goto             : Use the GOTO Zend-VM
     - - vm-switch           : Use the SWITCH Zend-VM
     - - wddx                : Adds support for Web Distributed Data eXchange
     + + xml                 : Add support for XML files
     - - xmlreader           : Enable XMLReader support
     - - xmlrpc              : Support for xml-rpc library
     - - xmlwriter           : Enable XMLWriter support
     - - xpm                 : Adds support for XPM graphics format
     - - xsl                 : Check/Support flag for XSL library (version 1)
     - - yaz                 : Adds in optional support for the Z39.50 Protocol for Information Retrieval (YAZ)
     - - zip                 : Enable ZIP file support
     + + zlib                : Adds support for zlib (de)compression
    As can be seen bot IMAP and CURL are set

    Any other suggestions?

    Cheers

    Norman

  5. #5
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: IMAP and CURL not found

    check your apache error logs. see if there are any errors when loading apache2. you may have to emerge php again to make sure all the extensions are installed properly.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  6. #6
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: IMAP and CURL not found

    Hi I have checked the error logs

    and the only error i have is

    [Mon Oct 30 14:57:24 2006] [error] [client xx.xx.xx.xx] File does not exist: /var/www/cms.domain.tld/htdocs/favicon.ico

    I will reemerge php again and see if this fixes the issue.

    But is there another way to test CURL and IMAP configuration on PHP?

    Cheers

  7. #7
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: IMAP and CURL not found

    I have nwo reemerged php and still no luck with this. Any other advice will be most appreciated.

    Cheers

    Norman

  8. #8
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: IMAP and CURL not found

    This will test the running php for the configuration by creating a file pinfo.php with the following contents.

    Code:
    <?php phpinfo(); ?>
    put it somewhere in your directory that you can see it from internet and see it. Point your web browser at the pinfo.php. This will tell you the exact config of php you are running in apache.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  9. #9
    khinester is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: IMAP and CURL not found

    I have this, is there anything specific i need to look out for?

  10. #10
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: IMAP and CURL not found

    Just look to see if the modules are listed in the output. if not you can check out the files in /etc/php/apache2-php5/ext-active/ make sure the modules you need are not commented with a ; in the beginning of the line.

    also you can check the current running php for apache2. Gentoo give you the ability to have and use multiple versions. Execute the following command to see which version is running with apache2:

    Code:
    php-select apache2
    This will tell you which version is configured for apache2
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •