Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-09-2016, 09:32 AM   #1
LQ Newbie
Registered: Feb 2016
Posts: 26

Rep: Reputation: Disabled
Question Try to compile a program(SparForte, not mine), and compile can't see a command which IS In path !

Here it is :
output -> everything is ok until "WARNING: Unable to locate the mysql_config command. "
But mysql is there /usr/bin/mysql_config
And $PATH=/usr/gnat/bin:/usr/gtk-3.8.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

So: dammit, what's happening, I can't do anything from now on.
I've already failed installing SparForte from binaries, but as there was only the Linux Mint version, I supposed, that it wasn't smart from the start, and complicated as it was, I thought it couldn't possibly be more so, trying to compile the sources directly.
Please, anyone, please reason a bit this f$%*ù@g obstinate script.
Thanks !
Old 02-10-2016, 02:40 AM   #2
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,861
Blog Entries: 36

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
What is your system info (distro) and where did you download? A quick google search shows and it has wide variety.
Old 02-10-2016, 04:43 AM   #3
LQ Newbie
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled

Sorry, I forgot the most elementary civilities. My name is Debian last version/last of the name,
and I download the sources, there
I add, that I added /usr/bin to /home/mehdi/.profile 's PATH, to be sure. No result. I can use mysql_config while in root, but that "config" script can't.
Old 02-10-2016, 07:00 AM   #4
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 482Reputation: 482Reputation: 482Reputation: 482Reputation: 482
you will need this.
apt-get install mariadb-server
that is mysql ok

Last edited by Drakeo; 02-10-2016 at 07:01 AM.
Old 02-10-2016, 07:17 AM   #5
LQ Newbie
Registered: Feb 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
First, I just run 'apt-get install mariadb-server', letting be every package I could have install to settle this issue, but I didn't do what is on the page. Second, because there was no result, I de-installed all package related to "mysql".
Then, I installed mariadb-server as shown here
mariadb is here, I didn't do anything special to configure it(save from leaving empty the "new password" field), for I don't think I'll ever have to use manually a database. After this, no more 'mysql_config' command available.
I read mysql_config was in libmariadbclient-dev for those who use the drop-in replacement to mysql. After I got it, mysql_config appeared once again. But, the script can't see it more than it could before.

If I'm ok with not having mysql support in my sparforte, Here's the result while running 'make' :
make -C src
make[1]: Entering directory '/home/mehdi/Bureau/sparforte-1.5.1-src/src'
gcc -DGSTREAMER -Wall -c c_gstreamer.c
c_gstreamer.c:2:21: fatal error: gst/gst.h: No such file or directory
#include "gst/gst.h"
compilation terminated.
GNUmakefile:109: recipe for target 'c_gstreamer.o' failed
make[1]: *** [c_gstreamer.o] Error 1
make[1]: Leaving directory '/home/mehdi/Bureau/sparforte-1.5.1-src/src'
GNUmakefile:12: recipe for target 'all' failed
make: [all] Error 2 (ignorée)
Something tells me, that it is unrelated to the databases' issue. I precise that I needed to run ./configure with --make option. Here I just type 'make'

Last edited by AoiHana; 02-10-2016 at 08:01 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I compile program to use command line arguments njac Programming 4 10-03-2008 03:50 AM
Cant compile a program. make command is not working sirphira DamnSmallLinux 2 04-07-2006 05:52 AM
configure: error: Can't find "javac" in your PATH, when install/compile a program... JungMin Programming 5 12-07-2005 05:04 PM
configure: error: Can't find "javac" in your PATH, when install/compile a program... JungMin Linux - Software 4 12-05-2005 11:20 PM
how to type this long command to compile a kde program? parv Programming 6 09-16-2004 05:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration