RE: [vchkpw] Vpopmail w/ MySQL, courier-imap issue

2002-12-14 Thread Andre Fortin
Heya,

For the archives, the reason for this is that vpopmail was not built with
the --enable-incdir and --enable-libdir options.  Vpopmail itself was able
to find the necessary MySQL files, however this information was not
available to Courier via vpopmail.a - for this reason, courier could not
find the mysql header files.

Andre

-Original Message-
From: Jesse Guardiani [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 12:57 PM
To: Andre Fortin; vpopmail
Subject: Re: [vchkpw] Vpopmail w/ MySQL, courier-imap issue


That's strange. Did you:

gmake install-strip

on vpopmail before compiling courier-imap?

I wonder why it's referencing your vpopmail src directory?


Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


- Original Message -
From: Andre Fortin [EMAIL PROTECTED]
To: vpopmail [EMAIL PROTECTED]
Sent: Saturday, December 14, 2002 2:37 AM
Subject: [vchkpw] Vpopmail w/ MySQL, courier-imap issue


 Heya..

 Having some issues with courier-imap. I am using vpopmail w/ MySQL auth,
and
 all works well.. However, when trying to compile Courier (running 'make'
as
 normal user, and ~vpopmail/lib is readable), I get the error at the end of
 this email (it is long so I wont put it in the middle of my message).

 OS: FreeBSD 4.7
 Vpopmail configure line:

/configure  --enable-default-domain=personainternet.com --enable-clear-passw

d=y --enable-ip-alias-domains=y --enable-hard-quota --enable-defaultquota=50
 00 --enable-mysql=y --enable-mysql-replication=y

 Courier configure line:

./configure --prefix=/usr/local/courier-imap --disable-root-check --without-

authpam --without-authldap --without-authpwd --without-authmysql --without-a

uthpgsql --without-authshadow --without-authuserdb --without-authcustom --wi
 thout-authcram --without-authdaemon --with-authvchkpw

 Any help is appreciated, thanks in advance.


 Andre





 -

 Error:


 Compiling modauthvchkpw.c
 gcc  -I/var/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authvchkpw
 modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a
../md5/libmd5.a
 ../sha1/libsha1.a -L/var/vpopmail/lib -lvpopmail -lm -lcrypt
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x30): undefined reference to
 `mysql_init'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x54): undefined reference to
 `mysql_real_connect'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x6f): undefined reference to
 `mysql_error'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0xa3): undefined reference to
 `mysql_real_connect'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0xba): undefined reference to
 `mysql_error'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x10b): undefined reference to
 `mysql_query'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x122): undefined reference to
 `mysql_error'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x141): undefined reference to
 `mysql_store_result'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x14f): undefined reference to
 `mysql_free_result'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x164): undefined reference to
 `mysql_select_db'
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_read':
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x1b6): undefined reference to
 `mysql_init'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x1da): undefined reference to
 `mysql_real_connect'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x205): undefined reference to
 `mysql_real_connect'
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function
 `vauth_open_read_getall':
 /usr/src/vpopmail-5.2.1/vauth.c:234: undefined reference to `mysql_init'
 /usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to
 `mysql_real_connect'
 /usr/src/vpopmail-5.2.1/vauth.c:243: undefined reference to
 `mysql_real_connect'
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain':
 /usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to `mysql_query'
 /usr/src/vpopmail-5.2.1/vauth.c:240: undefined reference to
 `mysql_store_result'
 /usr/src/vpopmail-5.2.1/vauth.c:242: undefined reference to
 `mysql_free_result'
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser':
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x4f5): undefined reference to
 `mysql_query'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x509): undefined reference to
 `mysql_store_result'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x517): undefined reference to
 `mysql_free_result'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x52c): undefined reference to
 `mysql_error'
 /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw':
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x605): undefined reference to
 `mysql_query'
 /usr/src/vpopmail-5.2.1/vauth.c(.text+0x61e

[vchkpw] Vpopmail w/ MySQL, courier-imap issue

2002-12-13 Thread Andre Fortin
Heya..

Having some issues with courier-imap. I am using vpopmail w/ MySQL auth, and
all works well.. However, when trying to compile Courier (running 'make' as
normal user, and ~vpopmail/lib is readable), I get the error at the end of
this email (it is long so I wont put it in the middle of my message).

OS: FreeBSD 4.7
Vpopmail configure line:
/configure  --enable-default-domain=personainternet.com --enable-clear-passw
d=y --enable-ip-alias-domains=y --enable-hard-quota --enable-defaultquota=50
00 --enable-mysql=y --enable-mysql-replication=y

Courier configure line:
./configure --prefix=/usr/local/courier-imap --disable-root-check --without-
authpam --without-authldap --without-authpwd --without-authmysql --without-a
uthpgsql --without-authshadow --without-authuserdb --without-authcustom --wi
thout-authcram --without-authdaemon --with-authvchkpw

Any help is appreciated, thanks in advance.


Andre





-

Error:


Compiling modauthvchkpw.c
gcc  -I/var/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authvchkpw
modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a
../sha1/libsha1.a -L/var/vpopmail/lib -lvpopmail -lm -lcrypt
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x30): undefined reference to
`mysql_init'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x54): undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x6f): undefined reference to
`mysql_error'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0xa3): undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0xba): undefined reference to
`mysql_error'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x10b): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x122): undefined reference to
`mysql_error'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x141): undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x14f): undefined reference to
`mysql_free_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x164): undefined reference to
`mysql_select_db'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_read':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x1b6): undefined reference to
`mysql_init'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x1da): undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x205): undefined reference to
`mysql_real_connect'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_open_read_getall':
/usr/src/vpopmail-5.2.1/vauth.c:234: undefined reference to `mysql_init'
/usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-5.2.1/vauth.c:243: undefined reference to
`mysql_real_connect'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain':
/usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to `mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c:240: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c:242: undefined reference to
`mysql_free_result'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x4f5): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x509): undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x517): undefined reference to
`mysql_free_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x52c): undefined reference to
`mysql_error'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x605): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x61e): undefined reference to
`mysql_error'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x635): undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x661): undefined reference to
`mysql_num_rows'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x706): undefined reference to
`mysql_fetch_row'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x82e): undefined reference to
`mysql_free_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x842): undefined reference to
`mysql_free_result'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deldomain':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x8a2): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x8b6): undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x8c4): undefined reference to
`mysql_free_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x8ee): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x902): undefined reference to
`mysql_store_result'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x910): undefined reference to
`mysql_free_result'
/var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deluser':
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x97a): undefined reference to
`mysql_query'
/usr/src/vpopmail-5.2.1/vauth.c(.text+0x993): undefined reference to