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

Amarok 2.2 compiling - make error

Tags: None
(comma "," separated)
FarSk
Registered Member
Posts
7
Karma
0
OS

Amarok 2.2 compiling - make error

Tue Oct 06, 2009 6:53 am
Hi,

I receive this error, compiling amarok, when i go to do make command:
Code: Select all
[  6%] Building CXX object src/CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/mimefiletyperesolver.o
/home/jnanatapas2/sources/amarok-2.2.0/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp: In member function ‘virtual TagLib::File* MimeFileTypeResolver::createFile(const char*, bool, TagLib::AudioProperties::ReadStyle) const’:
/home/jnanatapas2/sources/amarok-2.2.0/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:76: error: expected type-specifier before ‘TagLibExtras’
/home/jnanatapas2/sources/amarok-2.2.0/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:76: error: cannot convert ‘int*’ to ‘TagLib::File*’ in return
/home/jnanatapas2/sources/amarok-2.2.0/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:76: error: expected ‘;’ before ‘TagLibExtras’
/home/jnanatapas2/sources/amarok-2.2.0/shared/taglib_filetype_resolvers/mimefiletyperesolver.cpp:76: error: ‘TagLibExtras’ has not been declared
make[2]: *** [src/CMakeFiles/amaroklib.dir/__/shared/taglib_filetype_resolvers/mimefiletyperesolver.o] Errore 1
make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Errore 2
make: *** [all] Errore 2


How can I solve this problem?
I installed both taglib 1.6 and taglib-extras 1.0.1...

Thank you for your attention!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Did you erase the previous CMakeCache?
All PATH set correctly?
Taglib compiled with ASF and MP4 enabled?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
libtag1-dev and libtag-extras-dev are installed?

m0nk


If men could get pregnant, abortion would be a sacrament.
FarSk
Registered Member
Posts
7
Karma
0
OS

Re: Amarok 2.2 compiling - make error

Tue Oct 06, 2009 10:31 am
I erased cmakecache.txt and it has worked, but once i have installed amarok does not work because of mysql, i had compiled mysql 5.1.39 but doing cmake I received following error:

Code: Select all
CMake Error at src/collection/mysqlecollection/CMakeLists.txt:54 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlecollection/CMakeLists.txt:57 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlservercollection/CMakeLists.txt:54 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlservercollection/CMakeLists.txt:57 (STRING):
  string sub-command REPLACE requires four arguments.


:-(
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Amarok 2.2 compiling - make error

Tue Oct 06, 2009 10:37 am
FarSk wrote:I erased cmakecache.txt and it has worked, but once i have installed amarok does not work because of mysql, i had compiled mysql 5.1.39 but doing cmake I received following error:

Code: Select all
CMake Error at src/collection/mysqlecollection/CMakeLists.txt:54 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlecollection/CMakeLists.txt:57 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlservercollection/CMakeLists.txt:54 (STRING):
  string sub-command REPLACE requires four arguments.


CMake Error at src/collection/mysqlservercollection/CMakeLists.txt:57 (STRING):
  string sub-command REPLACE requires four arguments.




What is your CMake version?


--
Mark Kretschmann - Amarok Developer
FarSk
Registered Member
Posts
7
Karma
0
OS

Re: Amarok 2.2 compiling - make error

Tue Oct 06, 2009 10:49 am
markey wrote:What is your CMake version?


2.6.2-1ubuntu1
FarSk
Registered Member
Posts
7
Karma
0
OS
I have also compiled last cmake version (2.6.4) yet nothing..

:((
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Perhaps you should start with a complete new and clean builddir.
Remove your old amarok build dir
Unpack the source, cd into the directory and mkdir build.
cd build and
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=/usr ..

So all you have to do next time is cleanup or remove the build directory.

Anyway, could you post these lines here, plz.
line 54 to 58 from
src/collection/mysqlecollection/CMakeLists.txt
and line 54 to 58 fom
src/collection/mysqlservercollection/CMakeLists.txt

m0nk


If men could get pregnant, abortion would be a sacrament.
FarSk
Registered Member
Posts
7
Karma
0
OS
I have installed but when I execute program it doesn't work!

Code: Select all
amarok --debug
<unknown program name>(5036)/: Communication problem with  "amarok" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." "


:?
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
You updated from which version of Amarok?

m0nk


If men could get pregnant, abortion would be a sacrament.
FarSk
Registered Member
Posts
7
Karma
0
OS
Dieter Schroeder wrote:You updated from which version of Amarok?

m0nk


2.1.8
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
2.1.8? I assume 2.1.80, which was 2.2 betasomething in Ubuntu.
Ever tried to remove $HOME/.kde/share/config/amarok* ?
And perhaps $HOME/.kde/share/apps/amarok, too ?

m0nk


If men could get pregnant, abortion would be a sacrament.
FarSk
Registered Member
Posts
7
Karma
0
OS
Dieter Schroeder wrote:2.1.8? I assume 2.1.80, which was 2.2 betasomething in Ubuntu.


Yes, sorry.

Ever tried to remove $HOME/.kde/share/config/amarok* ?
And perhaps $HOME/.kde/share/apps/amarok, too ?


certainly!


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]