

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
2 messages in net.sourceforge.lists.courier-users[courier-users] compile problems fc6| From | Sent On | Attachments |
|---|---|---|
| John | May 19, 2007 7:13 pm | |
| Gordon Messmer | May 20, 2007 1:32 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] compile problems fc6 | Actions... |
|---|---|---|
| From: | John (con...@bapudi.com) | |
| Date: | May 19, 2007 7:13:03 pm | |
| List: | net.sourceforge.lists.courier-users | |
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 cour...@lists.sourceforge.net ## 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 cour...@lists.sourceforge.net ## 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 cour...@lists.sourceforge.net ## 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 cour...@lists.sourceforge.net ## 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 cour...@lists.sourceforge.net ## 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!







