LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2006, 03:05 AM   #1
turab
LQ Newbie
 
Registered: Jun 2006
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
imap installation problem


Hello friends,
I need your help regarding imap installation. I have downloaded the source code from ftp://ftp.cac.washington.edu/imap/im...06221518.tar.Z
and saved it at /usr/local

#tar -zxvf imap-2006.DEV.SNAP-0606221518.tar.Z
#cd imap-2006.DEV.SNAP-0606221518
#make lnp SSLTYPE=none
#mkdir include
#mkdir lib
#cp /usr/local/imap-2006.DEV.SNAP-0606221518/c-client/*.h /usr/local/imap-2006.DEV.SNAP-0606221518.tar.Z/c-client/include

#cp /usr/local/imap-2006.DEV.SNAP-0606221518/c-client/*.c /usr/local/imap-2006.DEV.SNAP-0606221518.tar.Z/c-client/lib

#ln -s /usr/local/imap-2004b.DEV.SNAP-0606221518/c-client/c-client.a /usr/local/imap-2004b.DEV.SNAP-0606221518/lib/libc-client.a

these steps i followed to install imap
but i am unable to include imap with php.

./configure
[root@lynx php-5.1.4]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/lib/mysql --with-imap=/usr/local/imap-2006.DEV.SNAP-0606161827

[root@lynx php-5.1.4]# make && make install

/bin/sh /download/php-5.1.4/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/imap/ -I/download/php-5.1.4/ext/imap/ -DPHP_ATOM_INC -I/download/php-5.1.4/include -I/download/php-5.1.4/main -I/download/php-5.1.4 -I/usr/include/libxml2 -I/download/php-5.1.4/ext/date/lib -I/usr/local/imap-2006.DEV.SNAP-0606161827/include -I/usr/local/include/mysql -I/download/php-5.1.4/TSRM -I/download/php-5.1.4/Zend -I/usr/include -g -O2 -prefer-non-pic -c /download/php-5.1.4/ext/imap/php_imap.c -o ext/imap/php_imap.lo
/download/php-5.1.4/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text'
/usr/local/imap-2006.DEV.SNAP-0606161827/include/utf8.h:538: error: previous declaration of 'utf8_mime2text' was here
/download/php-5.1.4/ext/imap/php_imap.c:78: error: conflicting types for 'utf8_mime2text'
/usr/local/imap-2006.DEV.SNAP-0606161827/include/utf8.h:538: error: previous declaration of 'utf8_mime2text' was here
make: *** [ext/imap/php_imap.lo] Error 1


[root@lynx php-5.1.4]# uname -r
2.6.9-34.EL

kindly help me out to integrate imap with php-5.1.4

Thanks in advance.
Regards,
Turab
 
Old 06-26-2006, 12:33 PM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Why don't you install and use a binary of the excellent BincImap (simple to install, simple to use)? Or something similar?

Yves.
 
  


Reply



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
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
courier imap installation problem...needs vpopmail rnj Fedora 0 10-07-2004 03:55 AM
New IMAP installation lhoff Linux - Networking 8 05-01-2003 12:07 PM
UW IMAP problem downloading IMAP folders nuzzy Linux - Software 1 04-17-2003 04:25 AM
IMAP installation Problems saravanan1979 Linux - Networking 0 01-13-2002 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:24 AM.

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
Open Source Consulting | Domain Registration