This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok doesn't launched on FreeBSD

Tags: amarok amarok amarok
(comma "," separated)
User avatar
smooky
Registered Member
Posts
6
Karma
0
OS

Amarok doesn't launched on FreeBSD

Fri Feb 25, 2011 10:37 pm
Hi guys,
please help me to run Amarok on my FreeBSD.

I've installed Amarok from FreeBSD ports was successful. When I tried to launch Amarok there is just shown splash screen. Here is debug log when I tried to launch from the command line:

# amarok --debug
Code: Select all
amarok(7166)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase
amarok: BEGIN: App::App()
amarok:   BEGIN: void App::continueInit()
amarok:     BEGIN: EngineController::EngineController()
amarok:     END__: EngineController::EngineController() [Took: 0s]
amarok:     BEGIN: void EngineController::initializePhonon()
amarok:       [EngineController] Tick Interval (actual):  100
amarok:     END__: void EngineController::initializePhonon() [Took: 0.31s]
amarok:     BEGIN: MainWindow::MainWindow()
amarok:       BEGIN: void CollectionManager::init()
amarok:         [PluginManager] Plugin trader constraint:  "[X-KDE-Amarok-framework-version] == 60 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"
amarok:         [CollectionManager] Received [ "7" ] collection plugin offers
amarok:         BEGIN: void CollectionManager::loadServices(const QList<KSharedPtr<KService> >&)
amarok:           [CollectionManager] Initialising "mysqle-collection"
mysql_embedded: Can't find file: '/var/db/mysql/mysql/plugin.frm' (errno: 13)
110226  4:10:05 InnoDB: The InnoDB memory heap is disabled
110226  4:10:05 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110226  4:10:05 InnoDB: Compressed tables use zlib 1.2.3
110226  4:10:05 InnoDB: Initializing buffer pool, size = 128,0M
110226  4:10:05 InnoDB: Completed initialization of buffer pool
110226  4:10:05  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /var/db/mysql/ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.


Environment:

# uname -a
Code: Select all
FreeBSD karfagen.mshome 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Sat Feb 19 09:20:48 NOVT 2011     smooky@karfagen.mshome:/usr/obj/usr/src/sys/KARFAGEN  i386


#/usr/local/kde4/bin/kded4 --version
Code: Select all
Qt: 4.7.1
KDE Development Platform: 4.5.5 (KDE 4.5.5)
KDE Daemon: $Id: kded.cpp 1156841 2010-07-29 19:59:05Z zander $


# ls /var/db/pkg | grep amarok
Code: Select all
amarok-2.4.0


# ls /var/db/pkg | grep mysql
Code: Select all
mysql-client-5.5.9
mysql-server-5.5.9


# ll /var/db/mysql/mysql | grep plugin
Code: Select all
-rw-rw-r--  1 mysql  mysql       0 21 feb 03:17 plugin.MYD
-rw-rw-r--  1 mysql  mysql    1024 21 feb 03:17 plugin.MYI
-rw-rw-r--  1 mysql  mysql    8586 21 feb 03:17 plugin.frm


# ll /var/db/mysql | grep ibdata
Code: Select all
-rw-rw-r--  1 mysql  mysql  35651584 25 feb 18:36 ibdata1


# cat /usr/home/smooky/.kde4/share/apps/amarok/my.cnf
Code: Select all
[embedded]
datadir = /usr/home/smooky/.kde4/share/apps/amarok/mysqle
default-storage-engine = MyISAM
loose-innodb = 0
skip-grant-tables = 1
myisam-recover = FORCE
key_buffer_size = 16777216
character-set-server = utf8
collation-server = utf8_bin


So, what's wrong?

Thanks.


FreeBSD 8.1, Kubuntu 10.10, KDE 4.5.5, KDE Russian Localization Team
valoriez
KDE CWG
Posts
625
Karma
3
OS
I've no idea what these might be called in FreeBSD, but libmysqlclient and libmysqld-pic are installed on my system (Kubuntu). You might try finding something similar.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar