[vchkpw] What if mysql was preinstalled?
I am trying to install vpopmail, and I have a small problem. I started installing vpopmail according to Michael Bowes mysql/vpopmail guide found here... http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm When I got to the part about installing mysql, I realized that mysql was already installed when I loaded Redhat 9. I decided that rather than try to remove it, I would try to use the installation I already had and just configure it accordingly. Well, I managed to work thru that and everything seemed OK until I got to the part where you do a ./configure and there are a bunch of parameters you pass to it like --enable-domain-quotas=n \. I guess there were about 10 of these. Well, the installation didn't go much farther. I got a whole bunch of errors when I did a make afterwards because the paths for the incdir and the libdir are not where they should be. I'm sure if I went thru the installation exactly as Michael Bowes specified, those directories would be exactly where they should be. However, I don't even have a directory for /usr/local/mysql/, much less the lib or include directories. So my question is: Where can I find the needed files, or will this even be a problem? What sort of files are found under the lib and include directories that I need to be concerned about? I have found that most all of the needed files for this installation were actually on the drive, but were not in the locations I expected them to be. _ Express yourself with MSN Messenger 6.0 -- download now! http://www.msnmessenger-download.com/tracking/reach_general
Re: [vchkpw] What if mysql was preinstalled?
On Thursday, Sep 4, 2003, at 19:09 US/Eastern, Don Walters wrote: When I got to the part about installing mysql, I realized that mysql was already installed when I loaded Redhat 9. I decided that rather than try to remove it, I would try to use the installation I already had and just configure it accordingly. Well, I managed to work thru that and everything seemed OK until I got to the part where you do a ./configure and there are a bunch of parameters you pass to it like --enable-domain-quotas=n \. I guess there were about 10 of these. if you're not already using it, install apt from http://apt.freshrpms.net/ ... this is a port of debian's apt system, written as a wrapper around rpm (instead of being a wrapper around dpkg like it is on debian.) very handy, IMHO every redhat machine should have it. then do apt-get update to download (or update) your list of which versions of each package are available, and then apt-get mysql-devel to download and install the package with the files you need. once it's installed, rpm -ql mysql-devel will show you what files it installed, and you can tell which directory names to give on your ./configure command line. peace. --- | John Simpson - KG4ZOW - Programmer at Large | | [EMAIL PROTECTED]http://www.jms1.net/ | --- PGP.sig Description: PGP signature
Re: [vchkpw] What if mysql was preinstalled?
Try doing : locate mysql_version.h or perhaps locate my_base.h The dir that contains these files would be the dir you plug into vpopmail's --enable-incdir Next you could try doing : locate libmysqlclient.a The dir that contains this file would be the dir you plug into vpopmail's --enable-libdir Michael. - Original Message - From: Don Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 05, 2003 9:09 AM Subject: [vchkpw] What if mysql was preinstalled? I am trying to install vpopmail, and I have a small problem. I started installing vpopmail according to Michael Bowes mysql/vpopmail guide found here... http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm When I got to the part about installing mysql, I realized that mysql was already installed when I loaded Redhat 9. I decided that rather than try to remove it, I would try to use the installation I already had and just configure it accordingly. Well, I managed to work thru that and everything seemed OK until I got to the part where you do a ./configure and there are a bunch of parameters you pass to it like --enable-domain-quotas=n \. I guess there were about 10 of these. Well, the installation didn't go much farther. I got a whole bunch of errors when I did a make afterwards because the paths for the incdir and the libdir are not where they should be. I'm sure if I went thru the installation exactly as Michael Bowes specified, those directories would be exactly where they should be. However, I don't even have a directory for /usr/local/mysql/, much less the lib or include directories. So my question is: Where can I find the needed files, or will this even be a problem? What sort of files are found under the lib and include directories that I need to be concerned about? I have found that most all of the needed files for this installation were actually on the drive, but were not in the locations I expected them to be. _ Express yourself with MSN Messenger 6.0 -- download now! http://www.msnmessenger-download.com/tracking/reach_general