Hello,

I use full courier suite with little modification on servers running
fully updated Centos 3.8. But I can't build Courier 0.56.

There is errors:


$ rpmbuild -ta --without fax courier-0.56.0.tar.bz2
.....
make[2]: Entering directory `/home/zarhi/rpm/BUILD/courier-0.56.0/tcpd'
Compiling tlsclient.c
Compiling tlspasswordcache.c
Compiling spipe.c
Compiling libcouriertls.c
Compiling tlsinfo.c
libcouriertls.c: In function `get_func':
libcouriertls.c:696: warning: passing arg 2 of `d2i_SSL_SESSION' from
incompatible pointer type
Compiling tlscache.c
Compiling argparse.c
Compiling tcpd.c
Compiling tcpdaccess.c
Compiling tcpremoteinfo.c
Compiling starttls.c
.....
Compiling cmlmsubunsub.C
Compiling cmlmsubunsubmsg.C
Compiling webmlmd.C
Compiling webmlmdcmlm.C
webmlmd.C: In function `void
webmlmd::do_admin_update(std::list<std::string,
   std::allocator<std::string> >&)':
webmlmd.C:609: syntax error before `+' token
webmlmd.C:615: no matching function for call to
`getline(std::istringstream
   (&)(...), std::string&)'
webmlmd.C:626: syntax error before `+' token
webmlmd.C:632: no matching function for call to
`getline(std::istringstream
   (&)(...), std::string&)'
Compiling webmlmddirs.C
make[3]: *** [webmlmd.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/home/zarhi/rpm/BUILD/courier-0.56.0/courier'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/zarhi/rpm/BUILD/courier-0.56.0/courier'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/zarhi/rpm/BUILD/courier-0.56.0/courier'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.10186 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.10186 (%build)


My modification to couruer 0.54:

$ diff -u localmail.c.org localmail.c
--- localmail.c.org     2005-02-04 04:29:21.000000000 +0200
+++ localmail.c 2006-02-17 16:58:42.000000000 +0200
@@ -232,6 +232,14 @@
                                _exit(EX_TEMPFAIL);
                        }

+/* zarhi */
+                        if (chdir(homedir))
+                        {
+                                mkdir(homedir,0700);
+                                chown(homedir,u,g);
+                        }
+/* zarhi */
                        if (chdir(homedir))
                        {
                                clog_msg_str(homedir);

$ cat /etc/courier/maildroprc
xfilter "/usr/bin/spamc -s 512000"

`/usr/bin/test -d $HOME/Maildir`

if ( $RETURNCODE != 0 )
{
  `maildirmake $HOME/Maildir`
}



Any help will be highly appreciated.

Thanks in advance,
Svetozar Mihailov






-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to