Madhusudan Singh writes:
Hi
I am trying to compile courier IMAP server on FreeBSD 5.3-RELEASE and ran into the following problem upon make (all done as a normal user as the documentation states) :
ar cru libimapd.a mainloop.o imaptoken.o imapwrite.o capability.o smap.o smapsnapshot.o
ranlib libimapd.a
Compiling imaplogin.c
imaplogin.c:35:25: courierauth.h: No such file or directory
imaplogin.c:36:30: courierauthdebug.h: No such file or directory
imaplogin.c:156: warning: "struct authinfo" declared inside parameter list
imaplogin.c:156: warning: its scope is only this definition or declaration, which is probably not what you want
imaplogin.c: In function `login_callback':
Configure concluded successfully (had installed courier-authlib from ports) :
./configure --enable-unicode --enable-mimetypes
What is the problem above ?
courier-authlib installed its header files in a directory that your C compiler does not search by default, so it can't find it when you build Courier-IMAP.
Rebuild courier-authlib and specify the --without-stdheaderdir option. See courier-authlib's INSTALL.
pgpBgsNWG2pWB.pgp
Description: PGP signature
