On Tue, Aug 01, 2006 at 10:47:22AM -0400, Jason Murray wrote:
> So far it looks like libvpopmail is not being recognized. I don't know
> why. When I look in my config.log nothing jumps out at me. I would
> love to send my whole config.log but I tried that, it is too big.
You can post it to a website, and post the URL here.
> So I
> dug into it to see if it had anything that would help. First here is
> the ./configure settings:
> ./configure --with-authvchkpw --without-authdaemon
> --without-authcustom --without-authcram --without-authuserdb
> --without-authshadow --without-authpwd --enable-ltdl-install=no
> MAKE=gmake LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include
> CPPFLAGS=-I/usr/local/include
Hmm, are you sure you can stick environment variable assignments as
arguments to ./configure? Try instead
According to the INSTALL file you can. And empirically it works.
env MAKE=gmake LDFLAGS="-L/usr/local/lib -L/var/vpopmail/lib" \
CPPFLAGS="-I/usr/local/include -I/var/vpopmail/include" ./configure ...etc
I did this and posted the config.log for it as well.
http://www.disillusion.ca/courier-authlib-0.85-config-using-env.log
> There is an error associated with PQsetdbLogin which is fine because I
> don't have PostgreSQL installed.
Errors (i.e. the total failure of ./configure) aren't OK. If it detects
something isn't present that is OK, but if ./configure actually bombs out
then you have a problem. Please post exactly what you see.
I figured out all the complete bombs. One couldn't find gdbm.h in /usr/local/include. That's why I had to put in the -I/usr/local/include and -L/usr/local/lib. I found this a touch odd that the configure wouldn't automatically look in those locations. They are fairly standard. At any rate I put in those vars and configure managed to finish.
> preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards
> qualifiers from pointer target type
> preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth'
> discards qualifiers from pointer target type
> Linking [2]libauthvchkpw.la
>
> *** Warning: linker path does not have real file for library
> -lvpopmail.
> *** I have the capability to make that library automatically link in
> when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libvpopmail and none of the candidates passed a file format
> test
> *** using a file magic. Last file checked:
> /var/vpopmail/lib/libvpopmail.a
Ugh. What does "file /var/vpopmail/lib/libvpopmail.a" say?
# file /var/vpopmail/lib/libvpopmail.a
/var/vpopmail/lib/libvpopmail.a: current ar archive
vpopmail is working. Mail is showing up in the mail store with no errors in the maillog.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
