Fresh Install on CentOS

12 views
Skip to first unread message

k...@24601.uk

unread,
Nov 10, 2018, 3:56:09 AM11/10/18
to tinymux
Hello all,

I'm hoping for a bit of advice - I'm about to completely refresh the CentOS VPS on which I run my MUX, reset it to defaults and reinstall everything. One issue I hope to resolve is that I've been unable to get TinyMUX to install correctly with the SQL config options since the VPS SQL updated to MariaDB - I'm unfortunately still something of a beginner with Linux and I struggle a bit with it.

The issue seems to be that I can't find the right file locations for MariaDB to specify when configuring the install script during the TinyMUX install. I managed it fine before the update to MariaDB a few times, but now I simply can't get it to work. Could anybody point me in the right direction please?

While I'm at it, I'll also be reinstalling an smtp server so TinyMUX can send emails - could anybody recommend a nice simple program that will simply act as a server to allow TinyMUX to email out? I think I asked this question a couple of years ago, but I'm asking again just in case there's something newer out there anybody might have come across.

Any advice appreciated, thank you in advance! :)

/<

Stephen Dennis

unread,
Nov 10, 2018, 11:18:31 AM11/10/18
to tin...@googlegroups.com
Because FreeBSD typically puts non-FreeBSD things under /usr/local, the TinyMUX configure scripts do try a few places. Ultimately, this is still just guesswork. To control where it looks for these things, try the following ./configure options:

  --with-mysql-include=PATH
                          set the include path for SQL header files
  --with-mysql-libs=PATH  set the library path for SQL library files

I haven't tried compiling against MariaDB, yet, so there may be something deeper going on. But, give the above a try first.


--

---
You received this message because you are subscribed to the Google Groups "tinymux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinymux+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kristian Hansen

unread,
Nov 11, 2018, 7:53:04 AM11/11/18
to tin...@googlegroups.com
Thanks Stephen :) That is the approach I have been trying - using those two include options to specify paths - but I'm either not getting the paths right, or, as you say, something deeper is going on.
IIRC, the only way I managed to get the SQL integration to work in the past was by having mysql-devel installed, and then specifying a path that appeared as a result of that install, but now, whatever path I try, it doesn't seem to work.
It was a long time ago, and unfortunately I've never really got my head around the file locations on CentOS/FreeBSD (or anything else for that matter!), so it was very much a trial-and-error approach based on previous postings in this list, and a few Google results.
I'm going to have another crack at it as soon as I have time (I hope this afternoon), and hopefully then I will have some more information which may help with diagnosis.
Thanks again,
/<

Virus-free. www.avast.com

Michael McConnell

unread,
Nov 11, 2018, 7:58:40 AM11/11/18
to tin...@googlegroups.com, Kristian Hansen
Do you have the mariadb-devel package installed? You need that to compile anything against MariaDB.

-- Soruk
(in another life as a CentOS sysadmin)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Michael McConnell

unread,
Nov 11, 2018, 9:43:00 AM11/11/18
to Kristian Hansen, tin...@googlegroups.com
No need to nuke your VPS, just do: sudo yum -y install mariadb-devel

...then rerun configure and rebuild TinyMUX.

On November 11, 2018 2:25:09 PM GMT, Kristian Hansen <k...@24601.uk> wrote:
I'm honestly not sure - I did try quite a few things last time I attempted to get it working, and installing mariadb-devel seems like something I would have tried, but it got to the point I was just trying anything and probably making a worse mess. Is there a command I can use to find out, or a particular directory I could check exists? 

 I'm probably going to go ahead with a brand new VPS refresh anyway, ensure I have installed mariadb-devel, and see what happens. Then at least I'll have a clearer picture to give you guys trying to help me, instead of plumbing the depths of my memory (which isn't so great these days). Thanks for the heads up! :)

/<

k...@24601.uk

unread,
Nov 15, 2018, 9:26:58 AM11/15/18
to tinymux

Just an update on this - I had actually got my wires crossed, and the mariadb issue was on another OS (Raspbian). The issue here was that my CentOS 6 VPS is 64-bit, and so I needed to point the configure script at the 64-bit mysql libraries. I now have SQL queries running nicely from within TinyMux... well almost, but that's a story for another thread.

Thanks to Brazil and Soruk for their assistance on this one, a clear cut case of my still being a Linux noob after several years of running my MUX on a CentOS VPS!!

/<
Reply all
Reply to author
Forward
0 new messages