RE: [vchkpw] Install problem

2003-10-16 Thread Alastair Battrick
So then as soon as make my first post to the list I go and search again and
find the answer in the archives :)

If you're looking for the solution yourself:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg11045.html

FYI, zlib was/is installed, but was symlinked to /usr/lib/libz.so.1

Cheers anyway :)
Al

 -Original Message-
 From: Alastair Battrick [mailto:[EMAIL PROTECTED]
 Sent: 16 October 2003 22:00
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Install problem


 Hi

 I'm fairly new to Qmail and vpop, installing on a shiny new RH9 server

 Qmail is installed, Mysql too, and I am trying to get vpopmail 5.2.1 to
 install, using configure with the following options:

 --enable-auth-logging=y
 --enable-mysql-logging=y
 --enable-clear-passwd=y
 --enable-logging=y
 --enable-mysql=y
 --enable-valias=y
 --enable-incdir=/usr/local/mysql/include/
 --enable-libdir=/usr/local/mysql/lib/

 It compiles without error, and (I think) relevant lines from the 'current
 settings' are
 auth inc = -I/usr/local/mysql/include/
 auth lib = -L/usr/local/mysql/lib/  -lmysqlclient -lz

 when I run make, I get the following errors:

 -
 snip
 gcc -I. -I/usr/local/mysql/include/  -g -O2 -Wall -c file_lock.c
 gcc -I. -I/usr/local/mysql/include/  -g -O2 -Wall -c vpalias.c
 rm -f libvpopmail.a
 ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o
 file_lock.o vpalias.o
 cdb/*.o
 ranlib libvpopmail.a
 gcc -I. -I/usr/local/mysql/include/  -g -O2 -Wall -c vchkpw.c
 gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
 ibvpopmail.a -L/usr/local/mysql/lib/  -lmysqlclient -lz -lnsl -lcrypt -lm
 /usr/bin/ld: cannot find -lz
 collect2: ld returned 1 exit status
 make[2]: *** [vchkpw] Error 1
 make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
 make: *** [all-recursive-am] Error 2
 -

 I can see the problem with -lz but I have no gcc dev experience

 Can you help me - what am I doing wrong ?

 Cheers
 Alastair





RE: [vchkpw] install Problem vpopmail

2003-02-11 Thread Roland Schmid
Hi Jonas,

I use vpopmail version 5.2.1 .
that the complete ./configure command I used:
./configure
--prefix=/var/qmail/vpopmail
--enable-roaming-users=y
--enable-clear-passwd=y
--enable-valias=y
--enable-mysql-replication=y
--enable-mysql=y
--enable-sqlincdir=/usr/local/mysql/current/include/mysql
--enable-sqllibdir=/usr/local/mysql/current/lib/mysql

And that's the error message ./configure produces:
configure: error: Unable to find your inc dir, specify --enable-incdir.

What kind of files does vpopmail search in the include path. Maybe I forgot
to install a module in MySQL.

Thanks for your help.

Best regards,
Roland


 Hi Roland,

  I have a question to vpopmail. I want to use vpopmail to easy admin a
  running qmail e-mail-server.
  The ./configure script says one error. the
  flag --enable-sqlincdir=/path/to/include/mysql can't find the
 MySQL Include
  files.

 You did ./configure [...] --enable-sqlincdir=/path/to/include/mysql..?

 Note that you have to adapt this path to reflect the real location of
 your include files.

  But the include files are at that place. (I have MySQL not in
 the default)

 Obviously not, otherwise it would work.

 * Which vpopmail version are you using?
 * Show us your _full_ ./configure command.
 * Show us the _full_ error message.

  How can I fix this error message?

 You'd better fix the problem, not the error message ;-))

 Jonas







Re: [vchkpw] install Problem vpopmail

2003-02-11 Thread Michael Bowe
Are you sure you are using the correct configure command?

vpopmail is telling you you should be using --enable-inc-dir

Looking at a configure --help, I dont see
--enable-sqlincdir or --enable-sqllibdir
as being available/valid options.

Maybe take a look at my vpopmail w/mysql guide at
http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm
to see if that gives you any help

Michael.

- Original Message -
From: Roland Schmid [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 7:55 PM
Subject: RE: [vchkpw] install Problem vpopmail


 Hi Jonas,

 I use vpopmail version 5.2.1 .
 that the complete ./configure command I used:
 ./configure
 --prefix=/var/qmail/vpopmail
 --enable-roaming-users=y
 --enable-clear-passwd=y
 --enable-valias=y
 --enable-mysql-replication=y
 --enable-mysql=y
 --enable-sqlincdir=/usr/local/mysql/current/include/mysql
 --enable-sqllibdir=/usr/local/mysql/current/lib/mysql

 And that's the error message ./configure produces:
 configure: error: Unable to find your inc dir, specify --enable-incdir.

 What kind of files does vpopmail search in the include path. Maybe I
forgot
 to install a module in MySQL.

 Thanks for your help.

 Best regards,
 Roland


  Hi Roland,
 
   I have a question to vpopmail. I want to use vpopmail to easy admin a
   running qmail e-mail-server.
   The ./configure script says one error. the
   flag --enable-sqlincdir=/path/to/include/mysql can't find the
  MySQL Include
   files.
 
  You did ./configure [...] --enable-sqlincdir=/path/to/include/mysql..?
 
  Note that you have to adapt this path to reflect the real location of
  your include files.
 
   But the include files are at that place. (I have MySQL not in
  the default)
 
  Obviously not, otherwise it would work.
 
  * Which vpopmail version are you using?
  * Show us your _full_ ./configure command.
  * Show us the _full_ error message.
 
   How can I fix this error message?
 
  You'd better fix the problem, not the error message ;-))
 
  Jonas
 
 








RE: [vchkpw] install Problem vpopmail

2003-02-11 Thread Roland Schmid
You are right, the configure command was wrong.
--enable-inc-dir
--enable-libdir
worked fine and installation finished without errors!

Thank you.

Best regards,
Roland


 
 Are you sure you are using the correct configure command?
 
 vpopmail is telling you you should be using --enable-inc-dir
 
 Looking at a configure --help, I dont see
 --enable-sqlincdir or --enable-sqllibdir
 as being available/valid options.
 
 Maybe take a look at my vpopmail w/mysql guide at
 http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm
 to see if that gives you any help
 
 Michael.
 
 - Original Message -
 From: Roland Schmid [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 11, 2003 7:55 PM
 Subject: RE: [vchkpw] install Problem vpopmail
 
 
  Hi Jonas,
 
  I use vpopmail version 5.2.1 .
  that the complete ./configure command I used:
  ./configure
  --prefix=/var/qmail/vpopmail
  --enable-roaming-users=y
  --enable-clear-passwd=y
  --enable-valias=y
  --enable-mysql-replication=y
  --enable-mysql=y
  --enable-sqlincdir=/usr/local/mysql/current/include/mysql
  --enable-sqllibdir=/usr/local/mysql/current/lib/mysql
 
  And that's the error message ./configure produces:
  configure: error: Unable to find your inc dir, specify --enable-incdir.
 
  What kind of files does vpopmail search in the include path. Maybe I
 forgot
  to install a module in MySQL.
 
  Thanks for your help.
 
  Best regards,
  Roland
 
 
   Hi Roland,
  
I have a question to vpopmail. I want to use vpopmail to 
 easy admin a
running qmail e-mail-server.
The ./configure script says one error. the
flag --enable-sqlincdir=/path/to/include/mysql can't find the
   MySQL Include
files.
  
   You did ./configure [...] 
 --enable-sqlincdir=/path/to/include/mysql..?
  
   Note that you have to adapt this path to reflect the real location of
   your include files.
  
But the include files are at that place. (I have MySQL not in
   the default)
  
   Obviously not, otherwise it would work.
  
   * Which vpopmail version are you using?
   * Show us your _full_ ./configure command.
   * Show us the _full_ error message.
  
How can I fix this error message?
  
   You'd better fix the problem, not the error message ;-))
  
   Jonas
  
  
 
 
 
 
  




Re: [vchkpw] install Problem vpopmail

2003-02-10 Thread Jonas Pasche
Hi Roland,

 I have a question to vpopmail. I want to use vpopmail to easy admin a
 running qmail e-mail-server.
 The ./configure script says one error. the
 flag --enable-sqlincdir=/path/to/include/mysql can't find the MySQL Include
 files.

You did ./configure [...] --enable-sqlincdir=/path/to/include/mysql..?

Note that you have to adapt this path to reflect the real location of
your include files.

 But the include files are at that place. (I have MySQL not in the default)

Obviously not, otherwise it would work.

* Which vpopmail version are you using?
* Show us your _full_ ./configure command.
* Show us the _full_ error message.

 How can I fix this error message?

You'd better fix the problem, not the error message ;-))

Jonas