10 messages in net.sourceforge.lists.courier-users[courier-users] Problems building cou...
FromSent OnAttachments
EndaJan 28, 2006 10:44 am 
EndaJan 28, 2006 12:11 pm 
Sam VarshavchikJan 28, 2006 1:53 pm 
EndaJan 28, 2006 3:23 pm 
Egbert JanJan 28, 2006 3:37 pm 
Sam VarshavchikJan 28, 2006 5:51 pm 
EndaJan 29, 2006 8:56 am 
Sam VarshavchikJan 29, 2006 9:17 am 
EndaJan 29, 2006 10:55 am 
Bowie BaileyJan 30, 2006 9:20 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Problems building courier.Actions...
From:Enda (en@codefoundry.com)
Date:Jan 28, 2006 10:44:38 am
List:net.sourceforge.lists.courier-users

Hi Guys,

I am trying to install Courier on a very minimal installation of SuSE Linux 9.3, and am having a problem compiling. SuSE very kindly ignore Courier, and promote Cyrus as an IMAP server, and now that I want to get away from the living hell that is Cyrus, I need to do so from source rather than a nice easy package.

I've gotten over all the dependancy issues, and I configure the sources with the following string:

enda@courier:~/courier-0.52.2> ./configure --with-mailuser=courier --with-mailgroup=courier
--with-paranoid-smtpext --enable-unicode --enable-https=login --with-calendarpurge=90 --with-trashquota

and when I run make, it terminates with the following error:

Compiling courierfilter.c courierfilter.c: In function `main': courierfilter.c:378: error: syntax error before ',' token make[5]: *** [courierfilter.o] Error 1 make[5]: Leaving directory `/home/enda/courier-0.52.2/courier/filters' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/enda/courier-0.52.2/courier/filters' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/enda/courier-0.52.2/courier/filters' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/enda/courier-0.52.2/courier' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/enda/courier-0.52.2/courier' make: *** [all-recursive] Error 1

I ran the compile error through Google and got a link back to this mailinglist, but with an unresolved three message thread.

I then looked at courierfilter.c line 378, and it is: libmail_changeuidgid(MAILUID, MAILGID);

So the compiler has a problem with the value of MAILUID being passed in by the pre-processor. So.... I decide that the best thing to try is to use the UID number and GID number, so.....

enda@courier:~/courier-0.52.2> grep courier /etc/passwd courier:x:1001:1000:courier:/home/courier:/bin/bash enda@courier:~/courier-0.52.2> grep courier /etc/group courier:x:1000:courier

and then I change the paramters I pass into ./configure to enda@courier:~/courier-0.52.2> ./configure --with-mailuser=1001 --with-mailgroup=1000 --with-paranoid-smtpext --enable-unicode --enable-https=login --with-calendarpurge=90 --with-trashquota

And I get the same error.

I've done a make clean and tried a make without passing in values for UID / GID, and I get the exact same error.

I feel I'm going around in circles reading the FAQ and the installation instructions, but clearly I'm not configuring the UID / GID in the right place. Can anybody quickly tell me where I'm going wrong? or wherelse I'm supposed to be priming MAILUID & MAILGID ?

Thanks,