toaster_setup.pl -s pre

Started by jeffwbent, March 09, 2004, 09:18:09 AM

Previous topic - Next topic

jeffwbent

It begins to compile mysql 3.x, and ends in an error since I already have mysql 4.x installed.

Can someone point me in the right direction?  I have a number of things installed already like Apache and would like those left alone.  In /usr/local/etc/toaster-watcher.conf I have a "0" on the appropriate lines, so I'm kind of lost at this point.

Thanks,

Jeff

P.S. I am already running Qmail / vpopmail with several virtual domains but am not satisfied with the install.  This toaster looks like the thing.  If anyone can point me to some good reading on how to make the transition, it would be much appreciated.

davidcl

If your packages are installed from the FreeBSD ports/packages collection, the toaster usually does not try to install over them.  Did you perhaps build MySQL from source rather than from the port?

jeffwbent

Thanks for the reply so soon.  I'm sure I did install mysql from the ports collection.

jeffwbent

I just ran portupgrade and here is the last part of the output:

===>   Compressing manual pages for mysql-client-4.0.18_1===>   Running ldconfig /sbin/ldconfig -m /usr/local/lib/mysql===>   Registering installation for mysql-client-4.0.18_1===>  Cleaning for libtool-1.3.5_2===>  Cleaning for mysql-client-4.0.18_1--->  Cleaning out obsolete shared libraries[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 95 packages found (-0 +1) . done]


Also ran portsdb -u and -U.

Ran toaster_setup.pl -s pre again and got the following (last part):

InstallPort: installing mysql323-client...running: make  install clean===>  Installing for mysql-client-3.23.58_2===>  mysql-client-3.23.58_2 conflicts with installed package(s):       mysql-client-4.0.17      They install files into the same place.      Please remove them first with pkg_delete(1).*** Error code 1Stop in /usr/ports/databases/mysql323-client.SysCmd: make  install cleanSysCmd: result: 256done.InstallPort: mysql323-client      FAILEDFATAL FAILURE: Install of mysql323-client failed. Please fix and try again. at lib/Mail/Toaster/Setup.pm line 1949


Could it be that toaster_setup is looking for a v3.x MySQL and since it doesn't find it because I have v4.x, it tries to install it?  I hope I don't have to downgrade MySQL because it is currently in use and I'd rather leave it alone. I won't be using MySQL w/this toaster anyway. BTW, I'm running FreeBSD 4.9. Thanks.

jeffwbent

Let me know if I'm beating a dead horse. Smile  Just wanted to include the following from the documentation:
Quote:


Set install_mysql to zero if you don't want the MySQL server installed, or if you already have it. Set it to 1 if you want MySQL 3.x, or 4 if you want MySQL 4.x.



And this from my /usr/local/etc/toaster-watcher.conf:
####################################### You can pass the major number of some programs# if you with to install a particular version# 0 = do not install# 1 = install# other = install particular version# port  = install from FreeBSD ports# Extra options are noted after the # where available                                 install_squirrelmail           = 0install_apache                 = 0   # 0, 1, 2install_apache_user            = wwwinstall_mysql                  = 0   # 0, 1, 4install_mysql_ssl              = 0install_mysql_linuxthreads     = 0install_mysql_optimized        = 0install_mysql_dir              = /var/db/mysql<snip>

davidcl

This thread seems like it might be relevant:

http://www.tnpi.biz/cgi-bin/ezmlm.cgi?3:sss:5920:baldeopfbgnedhojjbbo#b" target="_blank">http://www.tnpi.biz/cgi-bin/ezmlm.cgi?3:sss:5920:baldeopfbgnedhojjbbo#b

There's no final answer there, but it may help figure out what's going on.

matt

Jeff, since you are using MySQL 4, select that in toaster-watcher.conf.  toaster_setup.pl will detect your installed version of MySQL 4 and skip along.

Matt

jeffwbent

Thank-you, matt.  It worked like a charm that time.  Also, thank-you davidcl for your reply.