Amarok compilation

Discussion in 'Desktop Operation' started by slyzen, Jun 6, 2009.

  1. slyzen

    slyzen New Member


    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 ?


  2. falko

    falko Super Moderator

    Please go to the source directory, run
    make clean
    and try again.
  3. slyzen

    slyzen New Member

    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 :

    cd ${HOME}/kde/src/amarok
    mkdir build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=${HOME}/kde -DCMAKE_BUILD_TYPE=debugfull ${HOME}/kde/src/amarok
    [B]./configure --enable-mysql[/B][B][COLOR="Blue"] < that fails [/COLOR][/B]
    make install 
    What should I do ? Is there a switch on the cmake command ?
  4. sjau

    sjau Local Meanie

    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.
  5. slyzen

    slyzen New Member

    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..
  6. sjau

    sjau Local Meanie

    because it's embedded mysql residing in the user's amarok application folder and not where the usual mysel dbs are.

Share This Page