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

[solved] Amarok (SVN,1-4.4, 1.4.5) doesn't build?

Tags: None
(comma "," separated)
Frank781
Registered Member
Posts
3
Karma
0
Hi!

I tried to compile the last version of SVN Amarok, 1.4.4 and 1.4.5 version!! (on Mandriva 2007.0)
But no luck! nothing works!

Here's how I did it!

libtaglib0-1.4
libtaglib0-devel-1.4
taglib-1.4
ruby-devel-1.8.5-2
qt4-common-4.1.4-12
qt3-common-3.3.6-18
gcc-4.1.1
xine-lib-1.4.4
kdebase-3.5.4

Here's my configuration :::
CFLAGS="-O2 -march=athlon-xp -pipe" CXXFLAGS="${CFLAGS}" ./configure --prefix=`kde-config --prefix` --with-helix --enable-mysql --with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib --with-mp4v2 --disable-debug --without-arts

I also tried::
CFLAGS="-O2 -march=athlon-xp -pipe" CXXFLAGS="${CFLAGS}" ./configure --prefix=`kde-config --prefix`

or
./configure --prefix=`kde-config --prefix`


I also tried with GCC-3.4.6

but the result is always the  same!!!
ession.lo fht.lo filebrowser.lo hintlineedit.lo htmlview.lo iconloader.lo k3bexporter.lo kbookmarkhandler.lo ktrm.lo lastfm.lo mediabrowser.lo mediadevicemanager.lo medium.lo mediumpluginmanager.lo metabundle.lo metabundlesaver.lo moodbar.lo mountpointmanager.lo multitabbar.lo mydiroperator.lo osd.lo pixmapviewer.lo playerwindow.lo playlist.lo playlistbrowser.lo playlistbrowseritem.lo playlistitem.lo playlistloader.lo playlistselection.lo playlistwindow.lo pluginmanager.lo podcastsettings.lo prettypopupmenu.lo queuemanager.lo refreshimages.lo scancontroller.lo scriptmanager.lo scrobbler.lo sliderwidget.lo smartplaylisteditor.lo socketserver.lo statistics.lo systray.lo tagdialog.lo tagguesser.lo threadmanager.lo tooltip.lo trackpickerdialog.lo tracktooltip.lo transferdialog.lo xmlloader.lo xspfplaylist.lo editfilterdialog.lo Options1.lo Options2.lo Options4.lo Options5.lo Options7.lo Options8.lo dbsetup.lo deletedialogbase.lo firstrunwizard.lo newdynamic.lo organizecollectiondialog.lo podcastsettingsbase.lo scriptmanagerbase.lo tagdialogbase.lo tagguesserconfigdialog.lo trackpickerdialogbase.lo ../../amarok/src/amarokcore/libamarokcore.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la ../../amarok/src/magnatunebrowser/libmagnatunebrowser.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la  -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[4]: *** [libamarok.la] Erreur 1
make[4]: quittant le répertoire « /home/frank/Download/amarok-1.4.5/amarok/src »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/frank/Download/amarok-1.4.5/amarok/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/frank/Download/amarok-1.4.5/amarok »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/frank/Download/amarok-1.4.5 »
make: *** [all] Erreur 2




I have compiled the SVN version (Novembre 8, 2006) without any problem!
So ! why this one doesn't compile well?

Does anyone has an idea on how to build it well?
Thanks for your help!

Last edited by Frank781 on Sun Mar 18, 2007 6:57 pm, edited 1 time in total.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
Passing --without-opengl to configure or installing the opengl libraries should fix this.
Frank781
Registered Member
Posts
3
Karma
0
Hi Marcel!!

Thanks!!!
You were right!!
It builts well now!!
The problem was with a missing opengl file!

I've built it ,firstly, without opengl (passing --without-opengl)  ... and it worked fine!
Secondly, I've checked my opengl librairiies and I've download everything name "mesa .... -devel" (only the "mesa mesa-common-devel libmesagl1-devel" files were already installed!)

    libmesagl1
    libmesagl1-devel
    libmesaglu1
    libmesaglu1-devel
    libmesaglut3
    libmesaglut3-devel
    libmesaglw1
    libmesaglw1-devel
    mesa
    mesa-common-devel
    mesa-demos
    mesa-source
    xmms-mesa

... and everything compiled cleanly and is running fine now (opengl included)!!

Thanks again!

Last edited by Frank781 on Sun Mar 18, 2007 9:25 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]