LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2012, 06:56 AM   #1
blacknite
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
PHP configure error with imap not work


when i configure php on suse 10 , i hava a error

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

##the end of the config.log

collect2: ld returned 1 exit status
configure: failed program was:
#line 49211 "configure"
#include "confdefs.h"


#if defined(__GNUC__) && __GNUC__ >= 4
# define PHP_IMAP_EXPORT __attribute__ ((visibility("default")))
#else
# define PHP_IMAP_EXPORT
#endif

PHP_IMAP_EXPORT void mm_log(void){}
PHP_IMAP_EXPORT void mm_dlog(void){}
PHP_IMAP_EXPORT void mm_flags(void){}
PHP_IMAP_EXPORT void mm_fatal(void){}
PHP_IMAP_EXPORT void mm_critical(void){}
PHP_IMAP_EXPORT void mm_nocritical(void){}
PHP_IMAP_EXPORT void mm_notify(void){}
PHP_IMAP_EXPORT void mm_login(void){}
PHP_IMAP_EXPORT void mm_diskerror(void){}
PHP_IMAP_EXPORT void mm_status(void){}
PHP_IMAP_EXPORT void mm_lsub(void){}
PHP_IMAP_EXPORT void mm_list(void){}
PHP_IMAP_EXPORT void mm_exists(void){}
PHP_IMAP_EXPORT void mm_searched(void){}
PHP_IMAP_EXPORT void mm_expunged(void){}

char mail_newbody();
int main() {
mail_newbody();
return 0;
}
 
Old 12-03-2012, 10:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,330

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by blacknite View Post
when i configure php on suse 10 , i hava a error

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

##the end of the config.log
collect2: ld returned 1 exit status
configure: failed program was:
#line 49211 "configure"
#include "confdefs.h"
Do you mean openSUSE 10 or SLES 10?? Either way, you don't have to compile PHP from source...you can install it with zypper or through the GUI in YAST. The package you're missing is php5-imap, so you can just install that along with the pre-compiled PHP and be done.
 
Old 12-03-2012, 08:59 PM   #3
blacknite
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
qqq

Quote:
Originally Posted by TB0ne View Post
Do you mean openSUSE 10 or SLES 10?? Either way, you don't have to compile PHP from source...you can install it with zypper or through the GUI in YAST. The package you're missing is php5-imap, so you can just install that along with the pre-compiled PHP and be done.

my system is SLES 10. when i zypper install php5-imap. the problem still。 this is my configure Parameter:
./configure --prefix=/data/blacknite/php-test/php5 --host=x86_64-pc-linux-gnu --disable-cli --enable-cgi --enable-fastcgi --disable-discard-path --disable-force-cgi-redirect --without-pear --enable-bcmath --with-bz2 --disable-calendar --disable-ctype --without-curl --without-curlwrappers --disable-dbase --disable-dom --disable-exif --without-fbsql --without-fdftk --disable-filter --disable-ftp --with-gettext --without-gmp --disable-ipv6 --disable-json --without-kerberos --disable-libxml --disable-mbstring --with-mcrypt --without-msql --without-mssql --with-ncurses --with-openssl --with-openssl-dir=/usr --disable-pcntl --disable-pdo --without-pgsql --without-pspell --without-recode --disable-simplexml --disable-shmop --without-snmp --disable-soap --enable-sockets --without-sybase --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --disable-tokenizer --disable-wddx --disable-xml --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --disable-zip --with-zlib --disable-debug --enable-dba --without-cdb --with-db4 --disable-flatfile --with-gdbm --disable-inifile --without-qdbm --without-freetype-dir --without-t1lib --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --with-mysql=/usr/local/mysql --with-readline --without-libedit --without-mm --without-sqlite --with-pic --with-config-file-path=/usr/local/php5/lib/php.ini --enable-pdo --with-pdo-mysql=/usr/local/mysql --with-curl --enable-ctype --enable-json --enable-filter --enable-dom --enable-hash --with-magickwand --with-imap --enable-libxml --enable-mbstring --enable-simplexml --with-kerberos --with-imap-ssl --with-snmp --enable-soap --enable-xml --with-mhash --enable-posix
 
Old 12-04-2012, 10:27 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,330

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by blacknite View Post
my system is SLES 10.
Then you're paying for support from SuSE/Novell. You should call them.
Quote:
when i zypper install php5-imap. the problem still。 this is my configure Parameter:
A zypper install of that package installs it. You don't have to configure/compile ANYTHING after that. The package is installed.

What are you trying to do/accomplish that you can't do with the pre-compiled PHP packages?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-imap error saran_redhat Linux - Newbie 6 12-04-2009 05:23 AM
yum install php-imap doesn't work on CentOS? guest Linux - Server 10 04-29-2009 03:39 AM
courier-imap configure error??????? namgayp Linux - Server 0 07-27-2007 01:23 AM
error: /bin/sh './configure' failed for authlib , while installing courier IMAP putquery8581 Red Hat 0 09-30-2004 02:12 AM
PHP/IMAP open error heartache. costasm Programming 2 04-08-2004 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration