cmake error and local collection trouble

View: New views
5 Messages — Rating Filter:   Alert me  

cmake error and local collection trouble

by Sergei Andreev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After upgrading to kubuntu 9.10 I have troubles with local collection - amarok
simply does not see it.
http://pic.ipicture.ru/uploads/091110/876/ZO1UMumKiF.png
All config are the same as in 9.04



Another problem is when I am trying to compile latest git-push I have cmake
error:

CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):
  file Internal CMake error when trying to open file:                        
  /usr/include/phonon/phononnamespace.h for reading.                        
Call Stack (most recent call first):                                        
  /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45
(_phonon_find_version)
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
  /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)                
  CMakeLists.txt:71 (find_package)  
_______________________________________________
Amarok mailing list
Amarok@...
https://mail.kde.org/mailman/listinfo/amarok

Re: cmake error and local collection trouble

by Kolja Dummann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi seajey,

did you upgrade with the upgrade manager? If yes, I had the same
problem but doing a "aptitude build dep amarok" fixed it. But I don't
remember if i had removed all the packages before. So you may have to
do this if it does not work instantly.

cheers Kolja.
_______________________________________________
Amarok mailing list
Amarok@...
https://mail.kde.org/mailman/listinfo/amarok

Re: cmake error and local collection trouble

by Sergei Andreev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 10 November 2009 17:11:36 Kolja Dummann wrote:
> Hi seajey,
>
> did you upgrade with the upgrade manager? If yes, I had the same
> problem but doing a "aptitude build dep amarok" fixed it. But I don't
> remember if i had removed all the packages before. So you may have to
> do this if it does not work instantly.

No I've performed semiclean install: formatted root partition, new user and
manualy coping configs from old one.

BTW attaching full cmake log.

[cmake_amarok.log]

~$ agp
Already up-to-date.          
-- Taglib found: -L/home/seajey/myRepo/Amarok/lib -ltag
-- Taglib-Extras found: -L/home/seajey/myRepo/Amarok/lib -ltag-extras
-- Building git version v2.2.0-697-g7d69678                          

-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so                
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):
  file Internal CMake error when trying to open file:                        
  /usr/include/phonon/phononnamespace.h for reading.                        
Call Stack (most recent call first):                                        
  /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45 (_phonon_find_version)
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
  /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)                
  CMakeLists.txt:71 (find_package)                                            


-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib    
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4                                      
-- Checking if the QtScript Qt Bindings are installed.                    
-- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/phonon;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib/libQtScript.so;/usr/lib/libQtCore.so;/usr/lib/libQtGui.so;-L/usr/lib;-lkdecore;-lkdeui                                                                    
-- QtBindings found                                                                                                                                                                        
-- Found MySQL: /home/seajey/usr/include/mysql, /usr/lib/libmysqlclient.so                                                                                                                  
-- Found MySQL Embedded: /home/seajey/usr/include/mysql, /home/seajey/usr/lib/mysql/libmysqld.a                                                                                            
-- Strigi API needs 'signed char'                                                                                                                                                          
-- Found liblastfm: /usr/include/lastfm, /usr/lib/liblastfm.so                                                                                                                              
-- checking for one of the modules 'libgpod-1.0'                                                                                                                                            
-- checking for one of the modules 'gdk-pixbuf-2.0'                                                                                                                                        
-- Could NOT find Gdk  (missing:  GDK_INCLUDE_DIRS GDK_LIBRARIES)                                                                                                                          
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)                                                    
-- Libgcrypt found: /lib/libgcrypt.so                                                                                                                                                      
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so                                                        
-- Found GObject includes : /usr/include/glib-2.0/gobject                                                                                                                                  
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)                                                    
                                                                                                                                                                                           
-----------------------------------------------------------------------------                                                                                                              
-- The following external packages were located on your system.                                                                                                                            
-- This installation will have the extra features provided by these packages.                                                                                                              
-----------------------------------------------------------------------------                                                                                                              
   * kdelibs - The toolkit Amarok uses to build                                                                                                                                            
   * qtscript-qt - QtScript Qt Bindings                                                                                                                                                    
   * mysqld - Embedded MySQL                                                                                                                                                                
   * zlib - zlib                                                                                                                                                                            
   * qca2 - Qt Cryptographic Architecture                                                                                                                                                  
   * strigi - Index metadata of files                                                                                                                                                      
   * liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists                                                                      
   * curl - cURL provides the necessary network libraries required by mp3tunes.                                                                                                            
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.                                                                                                                              
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.                                                                                
   * gobject - Required by mp3tunes.                                                                                                                                                        
   * loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.                                                                                                    
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes                                                                                                                
   * glib2 - Required by libgpod and mp3tunes                                                                                                                                              
                                                                                                                                                                                           
-----------------------------------------------------------------------------                                                                                                              
-- The following OPTIONAL packages could NOT be located on your system.                                                                                                                    
-- Consider installing them to enable more features from this software.                                                                                                                    
-----------------------------------------------------------------------------                                                                                                              
   * libgpod (0.7.0 or higher)  <http://sourceforge.net/projects/gtkpod/>                                                                                                                  
     Support Apple iPod audio devices                                                                                                                                                      
   * Gdk (2.0.x or higher)  <http://developer.gnome.org/arch/imaging/gdkpixbuf.html>                                                                                                        
     Support for artwork on iPod audio devices via GdkPixbuf                                                                                                                                
   * libmtp (0.3.0 or higher)  <http://libmtp.sourceforge.net/>                                                                                                                            
     Enable Support for portable media devices that use the media transfer protocol                                                                                                        

-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!
-- Taglib found: -L/home/seajey/myRepo/Amarok/lib -ltag
-- Taglib-Extras found: -L/home/seajey/myRepo/Amarok/lib -ltag-extras
-- Building git version v2.2.0-697-g7d69678                          

-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so                
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):
  file Internal CMake error when trying to open file:                        
  /usr/include/phonon/phononnamespace.h for reading.                        
Call Stack (most recent call first):                                        
  /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45 (_phonon_find_version)
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
  /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)                
  CMakeLists.txt:71 (find_package)                                            


-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib    
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4                                      
-- Checking if the QtScript Qt Bindings are installed.                    
-- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/phonon;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib/libQtScript.so;/usr/lib/libQtCore.so;/usr/lib/libQtGui.so;-L/usr/lib;-lkdecore;-lkdeui                                                                    
-- QtBindings found                                                                                                                                                                        
-- Found MySQL: /home/seajey/usr/include/mysql, /usr/lib/libmysqlclient.so                                                                                                                  
-- Found MySQL Embedded: /home/seajey/usr/include/mysql, /home/seajey/usr/lib/mysql/libmysqld.a                                                                                            
-- Strigi API needs 'signed char'                                                                                                                                                          
-- Found liblastfm: /usr/include/lastfm, /usr/lib/liblastfm.so                                                                                                                              
-- checking for one of the modules 'libgpod-1.0'                                                                                                                                            
-- checking for one of the modules 'gdk-pixbuf-2.0'                                                                                                                                        
-- Could NOT find Gdk  (missing:  GDK_INCLUDE_DIRS GDK_LIBRARIES)                                                                                                                          
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)                                                    
-- Libgcrypt found: /lib/libgcrypt.so                                                                                                                                                      
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so                                                        
-- Found GObject includes : /usr/include/glib-2.0/gobject                                                                                                                                  
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                                                                  
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)                                                    

-----------------------------------------------------------------------------
-- The following external packages were located on your system.              
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build                              
   * qtscript-qt - QtScript Qt Bindings                                      
   * mysqld - Embedded MySQL                                                
   * zlib - zlib                                                            
   * qca2 - Qt Cryptographic Architecture                                    
   * strigi - Index metadata of files                                        
   * liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
   * curl - cURL provides the necessary network libraries required by mp3tunes.                                      
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.                                                        
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.          
   * gobject - Required by mp3tunes.                                                                                
   * loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.                              
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes                                          
   * glib2 - Required by libgpod and mp3tunes                                                                        

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.      
-- Consider installing them to enable more features from this software.      
-----------------------------------------------------------------------------
   * libgpod (0.7.0 or higher)  <http://sourceforge.net/projects/gtkpod/>    
     Support Apple iPod audio devices                                        
   * Gdk (2.0.x or higher)  <http://developer.gnome.org/arch/imaging/gdkpixbuf.html>
     Support for artwork on iPod audio devices via GdkPixbuf                        
   * libmtp (0.3.0 or higher)  <http://libmtp.sourceforge.net/>                    
     Enable Support for portable media devices that use the media transfer protocol

-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Ошибка 1

real    0m1.653s
user    0m0.780s
sys     0m0.220s
-- Taglib found: -L/home/seajey/myRepo/Amarok/lib -ltag
-- Taglib-Extras found: -L/home/seajey/myRepo/Amarok/lib -ltag-extras
-- Building git version v2.2.0-697-g7d69678                          

-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so                
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:19 (file):
  file Internal CMake error when trying to open file:                        
  /usr/include/phonon/phononnamespace.h for reading.                        
Call Stack (most recent call first):                                        
  /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:45 (_phonon_find_version)
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
  /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)                
  CMakeLists.txt:71 (find_package)                                            


-- Found KDE 4.3 include dir: /usr/include
-- Found KDE 4.3 library dir: /usr/lib    
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Checking if the QtScript Qt Bindings are installed.
-- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/phonon;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib/libQtScript.so;/usr/lib/libQtCore.so;/usr/lib/libQtGui.so;-L/usr/lib;-lkdecore;-lkdeui
-- QtBindings found
-- Found MySQL: /home/seajey/usr/include/mysql, /usr/lib/libmysqlclient.so
-- Found MySQL Embedded: /home/seajey/usr/include/mysql, /home/seajey/usr/lib/mysql/libmysqld.a
-- Strigi API needs 'signed char'
-- Found liblastfm: /usr/include/lastfm, /usr/lib/liblastfm.so
-- checking for one of the modules 'libgpod-1.0'
-- checking for one of the modules 'gdk-pixbuf-2.0'
-- Could NOT find Gdk  (missing:  GDK_INCLUDE_DIRS GDK_LIBRARIES)
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)
-- Libgcrypt found: /lib/libgcrypt.so
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libmtp is not installed (install the package which contains libmtp.pc if you want to support this feature)

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build
   * qtscript-qt - QtScript Qt Bindings
   * mysqld - Embedded MySQL
   * zlib - zlib
   * qca2 - Qt Cryptographic Architecture
   * strigi - Index metadata of files
   * liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
   * curl - cURL provides the necessary network libraries required by mp3tunes.
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.
   * gobject - Required by mp3tunes.
   * loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
   * glib2 - Required by libgpod and mp3tunes

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * libgpod (0.7.0 or higher)  <http://sourceforge.net/projects/gtkpod/>
     Support Apple iPod audio devices
   * Gdk (2.0.x or higher)  <http://developer.gnome.org/arch/imaging/gdkpixbuf.html>
     Support for artwork on iPod audio devices via GdkPixbuf
   * libmtp (0.3.0 or higher)  <http://libmtp.sourceforge.net/>
     Enable Support for portable media devices that use the media transfer protocol

-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Ошибка 1

real    0m0.911s
user    0m0.680s
sys     0m0.200s


_______________________________________________
Amarok mailing list
Amarok@...
https://mail.kde.org/mailman/listinfo/amarok

Re: cmake error and local collection trouble

by Bugzilla from mitchell@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreev Sergei wrote:

> On Tuesday 10 November 2009 17:11:36 Kolja Dummann wrote:
>> Hi seajey,
>>
>> did you upgrade with the upgrade manager? If yes, I had the same
>> problem but doing a "aptitude build dep amarok" fixed it. But I don't
>> remember if i had removed all the packages before. So you may have to
>> do this if it does not work instantly.
>
> No I've performed semiclean install: formatted root partition, new user and
> manualy coping configs from old one.
What if you use a fresh config? Are files on your local filesystem or on
mounts of some sort?

--Jeff



_______________________________________________
Amarok mailing list
Amarok@...
https://mail.kde.org/mailman/listinfo/amarok

signature.asc (203 bytes) Download Attachment

Re: cmake error and local collection trouble

by Sergei Andreev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, I have solved the problem with clean build.

There was some package structure changes since Jaunty so old amarok-from-git
HowTo for kubuntu is outdated now.

Now all things works nicely like before OS upgrade.

_______________________________________________
Amarok mailing list
Amarok@...
https://mail.kde.org/mailman/listinfo/amarok