jb605

Member
Dec 5, 2003
14
0
151
I tried to compile imap with php, but it does not get compiled even though I checked the box.

The compile output regarding imap is:

checking for cyrus imap support... no
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no

Don't understand why imap is not support, because that is what I am trying to recompile php to achieve.

Does anybody have any idea why imap gets ignored when php is recompiled by running apache update?

My WHM and Cpanel have been updated to the most recent version.

I have searched the forum, read all imap related threads, none really mentioned any solution that works for me.

Imap has been working fine before for two years, it is only missingly recently when I tried to recompile php with icon.

Thanks much in advance.
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
jb605 said:
I tried to compile imap with php, but it does not get compiled even though I checked the box.

The compile output regarding imap is:

checking for cyrus imap support... no
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
What Php version are you trying to compile IMAP with?
 

jb605

Member
Dec 5, 2003
14
0
151
Same here. I have tried all vailable version in cPanel. None of them will compile with imap.

I also submitted a ticket to cpanel, but got one reply so far.

========================================================

To: [email protected]
From: "xxxx" <[email protected]>
Subject: imap does not compile with php
Date: 2006-05-21 12:15:17

Hi, I am trying to compile imap with php. Even though I checked the box in
front of imap when updating apache, my php has no imap support.

Can you please let me know why and how can I fix this?

Server information:
WHM 10.8.0 cPanel 10.8.1-S114
RedHat Enterprise 3 i686 - WHM X v3.1.0

Thanks.

From: "xxxx" <[email protected]>
Date: 2006-05-22 12:52:30

Dear Customer,
This is happening because you have some non-cpanel compatible RPMs installed,
may I go ahead and uninstall these?
--
Thank You,
Matt Dees
Technical Support
cPanel

Did you know cPanel is hosting a training seminar? Find further
information at
http://trainingseminar.cpanel.net
or call Billy Vierra at
713 529 0800 x4033

From: [email protected]
Date: 2006-05-22 19:49:20

Can you please tell me what RPMs do you mean? I don't want to break the server
by uninstalling some crucial service.

Please note I have imap running for more than one years without problem, it
only occurs recently when I tried to recompile php to include iconv, then php
does not pickup the imap option that I checked, for whatever reason.

Thanks

From: [email protected]
Date: 2006-05-23 23:30:44

Hi, would you please update the ticket and answer my question?

Thanks,
 

zigzam

Well-Known Member
May 9, 2005
206
0
166
I have nothing but a stock cpanel setup and it wont compile with IMAP. I would try it again today, but I see a lot of people are having issues.
 

jb605

Member
Dec 5, 2003
14
0
151
Thanks, Zigzam.

I am not really sure why cpanel would say it does not support imap. How does it check that? I'd appreciate if you or somebody can shed some light on this.
 

maokob

Member
Jan 20, 2004
16
0
151
I've just run easypache again. but still no luck.

This is the code I'm getting.
Code:
./buildscript: line 789: /usr/local/cpanel/src/3rdparty/bsd/imap/Makefile.new: No such file or directory
mv: cannot stat `/usr/local/cpanel/src/3rdparty/bsd/imap/Makefile.new': No such file or directory
./buildscript: line 792: cd: /usr/local/cpanel/src/3rdparty/bsd/imap: No such file or directory
make: *** No rule to make target `imap'.  Stop.
 

kerriritter

Active Member
Oct 25, 2004
31
0
156
Courier-IMAP

Could it be because CPanel is wanting everyone on Courier IMAP with maildir instead of the IMAP with mbox services so regular IMAP no longer compiles?

Courier-IMAP made a horrible mess of all the mailboxes on one server and I asked them for help in correcting them. Their response:

"There is no easy way to accomplish this. Our priority is getting everyone converted to maildir. If you are experiencing problems with courier/maildir, you should submit a ticket so that we can help you get courier/maildir running successfully on your server."
 

jackie46

BANNED
Jul 25, 2005
536
0
166
Well its probably failing on the compile. Did you run it under VERBOSE? If it fails to compile like many of the modules like FLASH fail to compile it wont be included or your php will fail to work at all.
 

maokob

Member
Jan 20, 2004
16
0
151
cpanelnick said:
The imap code has been updated to be more compatible with the old system. Updating to the latest EDGE/CURRENT/RELEASE before building will also correct it.
I updated to the latest release. then compiled with imap module.
guess what.

fixed! :D :D :D
 

xprt5

Well-Known Member
Apr 6, 2003
72
0
156
Houston
This has been fixed in the new buildapache.sea available at http://layer2.cpanel.net or just remove the one currently in /home/cpapachebuild/ then run /scripts/easyapache again and it will auto grab the newest one and compile Apache/PHP with it.
 

yourwayit

Member
May 25, 2006
13
0
151
Since the update we've been having a similar issue but I ran across this wonderful error :

: /usr/local/cpanel/src/3rdparty/bsd/imap-2004g: No such file or directory
make: *** No rule to make target `imap'. Stop.

Hard to compile something that doesn't exist. I checked and the imap-2004g in fact does not exist, but imap-2002e-cpanel/ does.

I suspect that if you find the source for this package into the directory it will start working after compiling again but I have not tested this yet.
 

yourwayit

Member
May 25, 2006
13
0
151
ok. The problems seems to be that the buildscript being used by easyapache has an invalid make command entered for imap :

make imap

No such argument exists in the imap-2004g. It should be make slx instead. I don't know how to get the change to 'stick' though, everytime I edit the file it reverts back to the original within a couple of seconds.

Does anyone know how to permanently edit the buildscript file?