Heya, this might be a long one :)

 courier-authlib-0.59.3]# ./configure --with-redhat

tells me this during the configure:
configure: WARNING: sys/time.h: present but cannot be compiled
configure: WARNING: sys/time.h:     check for missing prerequisite headers?
configure: WARNING: sys/time.h: see the Autoconf documentation
configure: WARNING: sys/time.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/time.h: proceeding with the preprocessor's result
configure: WARNING: sys/time.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## 
-------------------------------------------------- ##
configure: WARNING:     ## Report this to 
[email protected] ##
configure: WARNING:     ## 
-------------------------------------------------- ##

configure: WARNING: sys/select.h: present but cannot be compiled
configure: WARNING: sys/select.h:     check for missing prerequisite 
headers?
configure: WARNING: sys/select.h: see the Autoconf documentation
configure: WARNING: sys/select.h:     section "Present But Cannot Be 
Compiled"
configure: WARNING: sys/select.h: proceeding with the preprocessor's result
configure: WARNING: sys/select.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## 
-------------------------------------------------- ##
configure: WARNING:     ## Report this to 
[email protected] ##
configure: WARNING:     ## 
-------------------------------------------------- ##

configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h:     check for missing prerequisite headers?
configure: WARNING: fcntl.h: see the Autoconf documentation
configure: WARNING: fcntl.h:     section "Present But Cannot Be Compiled"
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING: fcntl.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## 
-------------------------------------------------- ##
configure: WARNING:     ## Report this to 
[email protected] ##
configure: WARNING:     ## 
-------------------------------------------------- ##

configure: WARNING: crypt.h: present but cannot be compiled
configure: WARNING: crypt.h:     check for missing prerequisite headers?
configure: WARNING: crypt.h: see the Autoconf documentation
configure: WARNING: crypt.h:     section "Present But Cannot Be Compiled"
configure: WARNING: crypt.h: proceeding with the preprocessor's result
configure: WARNING: crypt.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## 
-------------------------------------------------- ##
configure: WARNING:     ## Report this to 
[email protected] ##
configure: WARNING:     ## 
-------------------------------------------------- ##

configure: WARNING: termios.h: present but cannot be compiled
configure: WARNING: termios.h:     check for missing prerequisite headers?
configure: WARNING: termios.h: see the Autoconf documentation
configure: WARNING: termios.h:     section "Present But Cannot Be Compiled"
configure: WARNING: termios.h: proceeding with the preprocessor's result
configure: WARNING: termios.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## 
-------------------------------------------------- ##
configure: WARNING:     ## Report this to 
[email protected] ##
configure: WARNING:     ## 
-------------------------------------------------- ##

 and ultimately yields:
checking for mail userid... configure: error: Cannot determine mail user
./configure: line 25368: exit: use: numeric argument required
./configure: line 25368: exit: use: numeric argument required

So I think I tried compiling with a userid and group (it was a late 
night) as a command parameter. This yielded a workable config, but when 
I went to make,

Compiling authdaemon.c
> authdaemon.c:1: error: bad value (generic) for -mtune= switch
> make[2]: *** [authdaemon.lo] Error 1
> make[2]: Leaving directory `/var/src/courier-authlib-0.59.1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/src/courier-authlib-0.59.1'
> make: *** [all] Error 2

So I played around with the mtune variable in the makefile which is set to 
generic. No matter what value I put:
Compiling authdaemon.c
In file included from auth.h:13,
                 from authdaemon.c:7:
/usr/include/sys/types.h:100: error: two or more data types in declaration 
specifiers
In file included from authdaemon.c:16:
/usr/include/unistd.h:243: error: two or more data types in declaration 
specifiers
make[2]: *** [authdaemon.lo] Error 1
make[2]: Leaving directory `/var/src/courier-authlib-0.59.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/courier-authlib-0.59.3'
make: *** [all] Error 2

So I try the rpm, seems ok, i can startup the daemon, yay!
/etc/init.d/courier-authlib start
works, but,
I go to setup courier imap, and I get:

 courier-imap-4.1.2]$ ./configure --with-redhat 
COURIERAUTHCONFIG=/etc/rc.d/init.d/courier-authlib


checking for courierauthconfig... /etc/rc.d/init.d/courier-authlib
./configure: line 19070: test: =: unary operator expected
configure: error: authlib configuration error - /courierlogger not found

Sorry its so long, help!

-------------------------------------------------------------------------
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