14 messages in net.sourceforge.lists.courier-usersRe: [courier-users] --with-authmysql ...
FromSent OnAttachments
Hannes GruberJul 23, 2002 2:37 am 
Juha SaarinenJul 23, 2002 3:29 am 
Hannes GruberJul 23, 2002 4:08 am 
Juha SaarinenJul 23, 2002 4:32 am 
Christian HuldtJul 23, 2002 6:16 am 
Klaus KranzJul 23, 2002 10:39 am 
Kenny OlanoJul 23, 2002 10:58 am 
chrJul 23, 2002 11:35 am 
p dont thinkJul 23, 2002 5:53 pm 
Hannes GruberJul 24, 2002 12:45 am 
Hannes GruberJul 24, 2002 12:51 am 
Christian HuldtJul 24, 2002 2:50 am 
Klaus KranzJul 24, 2002 4:58 am 
p dont thinkJul 24, 2002 9:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] --with-authmysql specified but no mysqlclient.soActions...
From:p dont think (pdon@yahoo.com)
Date:Jul 24, 2002 9:17:41 am
List:net.sourceforge.lists.courier-users

Indeed. Mine installed OK, but still no mysqlclient.so is on the box. Try doing a find for mysql_config and I'll bet if you have it at all, it's not in the right place. Originally, I had it in the wrong place and I copied it to /usr/bin and everything installed correctly.

I was nervous about moving that file like that, so I went ahead and installed mysql-server rpm, which put that file there anyway...

--- Christian Huldt <ch@solvare.net> wrote:

At 09.50 +0200 02-07-24, Hannes Gruber wrote:

THX p dont! Trying to get back to the point. I can not imagine, that I am the only one having that sort of problems without being able to solve it.

$ ./configure --with-authmysql

The it fails with: checking for mysql_config... no checking for mysql_connect... no configure: error: --with-authmysql specified but no mysqlclient.so configure: error: ./configure failed for authlib

I think it would help showing the right path to mysqlclient.so to configure, setting the options: --with-mysql-libs= --with-mysql-includes= or via: CPPFLAGS= CFLAGS= LDFLAGS= or both ;-)

If you add the the path to the directory containing mysql_config to your PATH I think you could get away with this. At least I did...

mysql_config is a little shell script that doesn't do much more than keeping track of where different mysql files are

But as I cannot find the file on the system I do not know what to set. Does anyone who is running courier with authmysql successfully, have the file in question on his system? # find / -name mysqlclient.so

not me... I believe that is short hand for libmysqlclient.so, and that checking for mysql_connect... no is the unsuccessful attempt to find a library that provides the mysql_connect function.

With mysql_config in your PATH that would hopefully be checking for mysql_connect... yes and no error...

THX, Hannes

p dont think wrote:

no offense intended, but Klaus must be on drugs or isn't paying attention. the file(s) he mentions have nothing to do with libraries and the configure script. making a table in mysql has nothing to do with compilation/installation of the courier-imap package.

that said, there seems to be a lot of confusion and as many answers as there are people having this problem. as for me, the easiest way around this mess was to install the mysql-server rpm. it doesn't seem like courier should need it (and it probably doesn't in the end), but that was the easiest way out for me at the time.

--- chr <ch@solvare.net> wrote:

Hi Klaus!

I didn't have such a file before running configure (or make or..) successfully, my file says: # authmysqlrc created from authmysqlrc.dist by sysconftool indicating that it was created as part of the installation (or compile or configure)

And is a database with a suitable table really needed just to compile? Sounds unusual, and I actually got it going without one...

On Tue, 23 Jul 2002, Klaus Kranz wrote:

Hi !

Take a look at this file "xxx/courier-xx-x/authlib/authmysqlrc". !!!You have to make your changes there before you run the ./configure script!!!!!! Read the README.authmysql and create a table as shown in the file.

----- Original Message ----- From: "Christian Huldt" <ch@solvare.net> To: "courier-users" <cour@lists.sourceforge.net> Sent: Tuesday, July 23, 2002 3:09 PM Subject: Re: [courier-users] --with-authmysql specified but no mysqlclient.so

Installing Courir with Authmysql will not work, I have tired already a lot of possibilities, but I could not get it

running.

I had to create a symlink to mysql_config in /usr/local/bin (adjusting my path would probably have sufficed) and do ./configure --with-mysql-libs=/usr/local/mysql/lib... --with-mysql-includes=/usr/local/mysql... in the authlib directory .

It seems the configure script in the authlib dir takes more msql specific arguments than the top level one (or perhaps its just that the configure script in the authlib dir gives you hints for mysql specific stuff when you do ./configure --help)

Anyway, it worked for me...

--<>------------------------------------------- Zufallszitat: I cannot believe in a God who wants to be praised all the time. - Friedrich Wilhelm Nietzsche (1844-1900)

!!! www.usw.at !!!

nimm die Herausforderung an