#1  
Old 6th June 2009, 12:19
slyzen slyzen is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Amarok compilation

hi,

as a newbie with linux, I followed this fantastic guide to build my amarok from svn. It worked quite well, but now I would like to enable mySql, so I tried to execute the ./configure --enable-mysql from the /amarok/build/ directory but bash says something like "unknown file or directory".

I got all the build-essentials stuff.

So I watched into config files from the build directory and tried to set that
/* MySql database support enabled */
#define USE_MYSQL 1
.. in the config-amarok.h before running the make command .. but it didn't change anything ..

please, could you explain me what I should do ?

thanks

sly
Reply With Quote
Sponsored Links
  #2  
Old 7th June 2009, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Please go to the source directory, run
Code:
make clean
and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 7th June 2009, 18:36
slyzen slyzen is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I executed the make clean in build directory, it was succesful, but there is still no configure.

I also tried to delete the build dir and to repeat the following sequence :

Code:
cd ${HOME}/kde/src/amarok
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/kde -DCMAKE_BUILD_TYPE=debugfull ${HOME}/kde/src/amarok
./configure --enable-mysql < that fails 
make
make install
What should I do ? Is there a switch on the cmake command ?
Reply With Quote
  #4  
Old 7th June 2009, 18:44
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,126
Thanks: 4
Thanked 43 Times in 40 Posts
Default

if you follow that howto you will also setup the according mysqle as requried. there's no need for the --enable-mysql option as amarok 2 only works with mysqle.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 7th June 2009, 20:19
slyzen slyzen is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok. MySql embedded means that I can't see amarok DB from a mysql client ?

I currently use KMySqlAdmin and I con't see this DB..
Reply With Quote
  #6  
Old 7th June 2009, 20:27
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,126
Thanks: 4
Thanked 43 Times in 40 Posts
 
Default

because it's embedded mysql residing in the user's amarok application folder and not where the usual mysel dbs are.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu kernel compilation doesn't reflect changes mjimeno Kernel Questions 1 20th July 2008 12:50
Problems with Amarok jsdieorksw HOWTO-Related Questions 1 14th May 2008 17:14
Amarok woes with Ipod davidblaine Desktop Operation 5 16th March 2008 12:43
Errors during ISP compilation gimi Installation/Configuration 4 18th July 2006 16:23
HTTPD and Clamav Compilation Tribal-Dolphin Developers' Forum 2 29th August 2005 07:26


All times are GMT +2. The time now is 04:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.