LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amarok2 & mysql :P (https://www.linuxquestions.org/questions/linux-software-2/amarok2-and-mysql-p-708308/)

Raynus 02-28-2009 11:18 PM

amarok2 & mysql :P
 
i'm compileing the amarok 2.0.1.1
with mysql 5.1.28-rc(build ny buld-mysqle.sh)
with the instruction here

http://amarok.kde.org/wiki/Development/MySQL_Embedded


anyway the amarok still cannot detect my libsql even the ldconfig and removing all of the build folder has been performed

PHP Code:

-----------------------------------------------------------------------------                                                                              
-- 
The following REQUIRED packages could NOT be located on your system.                                                                                    
-- 
Please install them before continuing this software installation.                                                                                       
-----------------------------------------------------------------------------                                                                              
mysqldEmbedded MySQL <http://www.mysql.com>                                                                                                            
-----------------------------------------------------------------------------                                                                              
CMake Error at /usr/local/share/apps/cmake/modules/MacroLogFeature.cmake:93 (MESSAGE):                                                                     
  
ExitingMissing Requirements                                                                                                                            
Call Stack 
(most recent call first):                                                                                                                       
  
CMakeLists.txt:119 (macro_display_feature_log

any ideas?
thx in advance


my Qt is 4.4.3
and compile with configure option -plugin-sql-mysql

and locate libmysql (after make install mysql) showned below
PHP Code:

locate libmysql
/opt/openoffice.org/basis3.0/program/libmysql2.so
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so.15.0.0
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.la
/usr/lib/mysql/libmysqlclient_r.la
/usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql/libmysqlclient_r.so.15
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib/libmysqlclient_r.so.15
/usr/lib/libmysqlclient.so
/usr/lib/libmysqlclient.so.15
/usr/lib/libmysqlclient_r.so 


GlennsPref 03-01-2009 03:19 AM

Lots of ppl have this problem lately.

Firstly, I don't see a mysql binary file in /usr/bin!

Check the location of the executable file.

if not, to the error...

is line 93 (or a line nearby and before 93) refering to an address that does not exist?
Quote:

/usr/local/share/apps/cmake/modules/MacroLogFeature.cmake:93
Maybe it is expecting mysql to be installed in /usr/local/mysql..

Try linking the files to where the program is looking for them.

ln -s filename.directory to /link-directory/filename.directory will create a link(shortcut in m$ speak)like this...

ln -s /usr/lib/mysql/libsqlclient_r.so /usr/local/lib/mysql/libmysqlclient_r.so

But especially find the sql daemon and see if it is started at boot, and

find the mysql executable binary, that should be in /usr/bin or /usr/local/bin


You can check the mysql service with...

service mysql status

to start it

service mysql start ,.. restart, stop, etcetera.


All I got, all the best, Glenn

Raynus 03-01-2009 08:22 AM

Thanksy for your comment Glenn ,

the locate mysql has shown that
PHP Code:

/usr/share/mysql  
/usr/bin/mysql 


is exist


and while trying to start mysql service
the output is below :P
PHP Code:


root
:/etc/rc.> /etc/rc.d/rc.mysqld start
root
:/etc/rc.nohupredirecting stderr to stdout
Starting mysqld daemon with databases from 
/var/lib/mysql
STOPPING server from pid file 
/var/run/mysql/mysql.pid
090301 21
:20:29  mysqld ended 



All times are GMT -5. The time now is 11:01 PM.