Re[2]: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Tren Blackburn

Hi Gabriel;

I've written Sam and asked him about this.  I'll let you know as soon as I
hear anything.

Regards,

Tren.

On Fri, 7 Sep 2001, Gabriel Ambuehl wrote:

> -BEGIN PGP SIGNED MESSAGE-
>
> Hello Tren,
>
> Friday, September 07, 2001, 2:53:15 PM, you wrote:
>
> > I've talked to Ken and this seems to be the best way at the
> > moment...but that might change.
>
>
> Well perhaps someone should speak to Sam instead and ask him to
> either
> integrate a call to su into courier-imap's make (and either build as
> root or simply change the perms temporarily) or make it build as root
> (can't see why this shouldn't be done).
>
>
>
> Best regards,
>  Gabriel
> †
>
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.5i
>
> iQEVAwUBO5jroMZa2WpymlDxAQHkhQgAnXTUpNgDtD+Y/Kw6GkXcyqCDxH61P3/A
> ZklO7CScIH9mRHTXA3CvjEvUncXEKWOfas0rQa2fMIjplXDfvNfE8PGtaHWQeFpp
> D5WGEycccSjZlaMc2cQFsUjSQe0ZI5jf/ZMm91PO3iOu94ruE85XiguE9DsqyoXh
> 7Qq05kFMBbyQ34NldNcLWFkQtMjb7jZR8JDmRs/kRaPoZy9pkJTUPi44oMXaOh0G
> xJmZuyyfRpyh+afm+sDYkwyJ+NaRucwKn7PDZ4mMcC9Fl/msU0yx92AKW9TRV4TZ
> n9RnP0SmR6sL9iHsYd3hX3hasB3FT5RHwhK0rJggr0hVztwE0Ks49w==
> =Sp7y
> -END PGP SIGNATURE-
>
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.eotnetworks.com   -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Re[2]: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Tren,

Friday, September 07, 2001, 2:53:15 PM, you wrote:

> I've talked to Ken and this seems to be the best way at the
> moment...but that might change.


Well perhaps someone should speak to Sam instead and ask him to
either
integrate a call to su into courier-imap's make (and either build as
root or simply change the perms temporarily) or make it build as root
(can't see why this shouldn't be done).



Best regards,
 Gabriel
†

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO5jroMZa2WpymlDxAQHkhQgAnXTUpNgDtD+Y/Kw6GkXcyqCDxH61P3/A
ZklO7CScIH9mRHTXA3CvjEvUncXEKWOfas0rQa2fMIjplXDfvNfE8PGtaHWQeFpp
D5WGEycccSjZlaMc2cQFsUjSQe0ZI5jf/ZMm91PO3iOu94ruE85XiguE9DsqyoXh
7Qq05kFMBbyQ34NldNcLWFkQtMjb7jZR8JDmRs/kRaPoZy9pkJTUPi44oMXaOh0G
xJmZuyyfRpyh+afm+sDYkwyJ+NaRucwKn7PDZ4mMcC9Fl/msU0yx92AKW9TRV4TZ
n9RnP0SmR6sL9iHsYd3hX3hasB3FT5RHwhK0rJggr0hVztwE0Ks49w==
=Sp7y
-END PGP SIGNATURE-




RE: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread lao nightwolf
 
Sorry for sending this back in html, but you cannot define this anymore in hotmail. (I searched all over..)
 
Thank you Tren.  It does the make but when I do make check then I get another error:
 
.
INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=148, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0make[1]: *** [check] Error 1make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/imap'make: *** [check-recursive] Error 1
Can you help me with this one too?
 
Thank you!
 
Cheers,
lao
> 
>Problem is the fact that the latest versions of vpopmail set the 
>~vpopmail/lib directory as 0711. Change the perms of the directory to 
>0755 and also the libvpopmail.a file to 0644. _ONLY_ keep this done for 
>as long as you're compiling courier imap. Once you're done, revert the 
>old perms. 
> 
>This was done as a security fix so that only root would have access to 
>the vpopmail libs (and the compiled in DB passwords contained within), 
>but since you have to compile with a non-root user, you need to fix the 
>permissions temporarilly. 
> 
>I've talked to Ken and this seems to be the best way at the moment...but 
>that might change. 
> 
>Regards, 
> 
>Tren. 
> 
>PS. Please don't send HTML email to the list...for those of us without 
>a gui mail client, or an older mail client that doesn't handle HTML, it 
>makes it difficult to read. 
> 
>-Original Message- 
>From: lao nightwolf [mailto:[EMAIL PROTECTED]] 
>Sent: Friday, September 07, 2001 5:46 AM 
>To: [EMAIL PROTECTED] 
>Subject: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3 
> 
> 
>Hello, 
> 
>I've been trying to compile the latest courier-imap 1.3.10 with vpopmail 
>5.0pre3 but while compiling I get following error: 
> 
>./configure command: 
> 
>courier-imap: 
> --without-ipv6 \ 
> --without-authdaemon \ 
> --enable-workarounds-for-imap-client-bugs \ 
> --without-authcustom \ 
> --without-authcram \ 
> --without-authuserdb \ 
> --without-authpam \ 
> --without-authshadow \ 
> --without-authpwd \ 
> --without-authldap \ 
> --with-authmysql \ 
> 
>configure goes fine, but when doing make I have following error 
> 
>error: 
> 
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql 
>-I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.c 
>gcc -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. 
>-I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a 
>../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail 
>-L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt 
>/usr/bin/ld: cannot find -lvpopmail 
>collect2: ld returned 1 exit status 
>make[1]: *** [authvchkpw] Error 1 
>make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib' 
>make: *** [all-recursive] Error 1 
> 
> 
>I also had the same error when using vpopmail 4.9.10, when using just 
>"./configure --with-authmysql" 
>When adding --without-authvchkpw it compiles without any problems but 
>then I ofcourse can't authenticate. 
> 
>Can someone give me help here? 
> 
>Thanks in advance! 
> 
>Cheers, 
>lao 
> 
>lao nightwolf -ansi/ascii/vga drawer/demo coder/txt 
> 
> 
> 
>Get more from the Web. FREE MSN Explorer download : 
>http://explorer.msn.com 
> 
Get your FREE download of MSN Explorer at http://explorer.msn.com


RE: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Tren Blackburn

Problem is the fact that the latest versions of vpopmail set the
~vpopmail/lib directory as 0711.  Change the perms of the directory to
0755 and also the libvpopmail.a file to 0644.  _ONLY_ keep this done for
as long as you're compiling courier imap.  Once you're done, revert the
old perms.  

This was done as a security fix so that only root would have access to
the vpopmail libs (and the compiled in DB passwords contained within),
but since you have to compile with a non-root user, you need to fix the
permissions temporarilly.

I've talked to Ken and this seems to be the best way at the moment...but
that might change.

Regards,

Tren.

PS.  Please don't send HTML email to the list...for those of us without
a gui mail client, or an older mail client that doesn't handle HTML, it
makes it difficult to read.

-Original Message-
From: lao nightwolf [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 5:46 AM
To: [EMAIL PROTECTED]
Subject: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3


Hello,

I've been trying to compile the latest courier-imap 1.3.10 with vpopmail
5.0pre3 but while compiling I get following error:

./configure command:

courier-imap:
--without-ipv6 \
--without-authdaemon \
--enable-workarounds-for-imap-client-bugs \
--without-authcustom \
--without-authcram \
--without-authuserdb \
--without-authpam \
--without-authshadow \
--without-authpwd \
--without-authldap \
--with-authmysql \

configure goes fine, but when doing make I have following error

error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql
-I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.c
gcc  -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I..
-I./..  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail
-L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib'
make: *** [all-recursive] Error 1


I also had the same error when using vpopmail 4.9.10, when using just
"./configure --with-authmysql"
When adding --without-authvchkpw it compiles without any problems but
then I ofcourse can't authenticate.

Can someone give me help here?

Thanks in advance!

Cheers,
lao

lao nightwolf -ansi/ascii/vga drawer/demo coder/txt



Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com




problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread lao nightwolf
Hello,   I've been trying to compile the latest courier-imap 1.3.10 with vpopmail 5.0pre3 but while compiling I get following error:   ./configure command:   courier-imap:    --without-ipv6 \    --without-authdaemon \    --enable-workarounds-for-imap-client-bugs \    --without-authcustom \    --without-authcram \    --without-authuserdb \    --without-authpam \    --without-authshadow \    --without-authpwd \    --without-authldap \    --with-authmysql \   configure goes fine, but when doing make I have following errorerror:   gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.cgcc  -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt/usr/bin/ld: cannot find -lvpopmailcollect2: ld returned 1 exit statusmake[1]: *** [authvchkpw] Error 1make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib'make: *** [all-recursive] Error 1   I also had the same error when using vpopmail 4.9.10, when using just "./configure --with-authmysql" When adding --without-authvchkpw it compiles without any problems but then I ofcourse can't authenticate.   Can someone give me help here?   Thanks in advance!   Cheers, lao lao nightwolf -ansi/ascii/vga drawer/demo coder/txtGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com