I have been trying to setup an imap server on my linux box with Fedora Core
7.  When I initially set it up from rpms, I found out after configuring
everything that the rpm that I installed, that it didn't include the
libauthmysql, and I have already configured the other pieces to use that for
storing the users.  So I downloaded the latest version of courier-authlib,
0.62.4, but when I ran the configure script for courier-authlib, I got the
following errors:

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
> preceden
> ce
> 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:     ##
> -------------------------------------------------- ##
>

However, since those were just warnings, and not errors, and everything else
ran fine, I actually tried runnign the compilation.  When I actually try to
run make, I get the following error:



> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./libltdl -I/usr/include/mysql
> -g -
> pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-s
> ize=4 -m64 -mtune=athlon64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOU
> RCE -fno-strict-aliasing -fwrapv -g -O2 -Wall -I.. -I./.. -MT authdaemon.lo
> -MD
> -MP -MF .deps/authdaemon.Tpo -c authdaemon.c  -fPIC -DPIC -o
> .libs/authdaemon.o
> In file included from courierauth.h:10,
>                  from auth.h:15,
>                  from authdaemon.c:6:
> /usr/include/sys/types.h:100: error: two or more data types in declaration
> speci
> fiers
> authdaemon.c: In function â?~auth_callback_defaultâ?T:
> authdaemon.c:107: warning: implicit declaration of function â?~chdirâ?T
> make[2]: *** [authdaemon.lo] Error 1
> make[2]: Leaving directory `/tmp/mailserver/courier-authlib-0.62.4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/mailserver/courier-authlib-0.62.4'
> make: *** [all] Error 2
>

I tried using older versions available on sourceforge, and ran into the same
issues with each.  HALP!

Thanks,
Neil
------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to