Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


courier-imap compile error!

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
shunchu



Joined: 18 Apr 2004
Posts: 19

Posted: Wed May 05, 2004 6:02 pm    Post subject: courier-imap compile error!  

Hi,

I have the following setup... Please help:
Redhat 9 Small
Sendmail (for now... going to upgrade to either Postfix or qmail)

I'd like to install courier-imap and did managet to get the latest source. But when trying to configure, error messages on missing library occurred (fixed that w/ RPMs from Redhat).

After ./configure, I tried to "make" from the source, but it gave me this error:

Code: ... snip....

Compiling maildirsearch.c
source='maildirsearchC.cpp' object='maildirsearchC.o' libtool=no \
depfile='.deps/maildirsearchC.Po' tmpdepfile='.deps/maildirsearchC.TPo' \
depmode=none /bin/sh ./../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.      -c -o maildirsearchC.o `test -f 'maildirsearchC.cpp' || echo './'`maildirsearchC.cpp
In file included from maildirsearchC.cpp:7:
maildirsearch.h:97: syntax error before `;' token
make[2]: *** [maildirsearchC.o] Error 1
make[2]: Leaving directory `/home/shun.chu/courier-imap-3.0.3/maildir'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/shun.chu/courier-imap-3.0.3/maildir'
make: *** [all-recursive] Error 1

Any ideas what else I need? Or can someone tell me where I can just get an RPM and get this over with?? I tried getting it from www.courier-mta.org, but it seems to have been down...

Found another copy at www.qmailtoaster.com. But "rpm -i [package]" doesn't seem to install it... just unpacks a lot of stuff to /usr/src/redhat/

Thanks...
Back to top  
krag



Joined: 17 Apr 2004
Posts: 4

Posted: Wed May 05, 2004 6:13 pm    Post subject:  

Courier-mta.org seems down for me too.

Try http://courier.sourceforge.net/ or if you just want courier IMAP, http://www.inter7.com/courierimap.htm


FWIW I installed from src.rpm on fedora and it worked ok.


Krag.
Back to top  
shunchu



Joined: 18 Apr 2004
Posts: 19

Posted: Wed May 05, 2004 6:18 pm    Post subject:  

krag wrote: Courier-mta.org seems down for me too.

Try http://courier.sourceforge.net/ or if you just want courier IMAP, http://www.inter7.com/courierimap.htm


FWIW I installed from src.rpm on fedora and it worked ok.
Thanks... Can you tell me which rpm package you got and where? I might just do that as well...
Back to top  
krag



Joined: 17 Apr 2004
Posts: 4

Posted: Wed May 12, 2004 4:00 pm    Post subject:  

I know it's probably too late now but just for the record I make a rpm from the courier source, as per the instructions.

I couldn't be bothered to mess around with editing the .spec file to remove compatibility for ldap/postgresql so I just apt-get installed'd the packages it wanted.

It builds each module (eg mysql/ldap/postgres) as seperate rpms, so once they're built you can just install the core courier rpm plus any you need (like mysql), delete the RPMS you don't need, and also rpm -e the packages you installed.

Yes, I'm lazy :D

HTH
Krag.
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1