LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-22-2006, 10:15 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
amaroK compile error


Distro: Slackware-current
KDE: 3.5 (packages from kde repos)
Arts: 1.5.0
QT: 3.3.4
X11: 6.9.0
GCC: 3.4.5

----

I tried compiling the newest amaroK, 1.3.8, and removed the old one I had (1.3.7). During the "make", I got this error:
http://pastebin.com/517534

So then I configured amarok with the option "--without-arts". Now it got it compiled but crashes when I try to play anything.

I downgraded the KDE and arts to the packages that can be found from "-current" repos and then tried to compile but got the same error.

Now I got kinda tired of this so I fetched the older version of amaroK, 1.3.7, but it still gave me the same error, which is weird 'cause it worked previously.

Any idea what might cause the problem?

Last edited by jaakkop; 01-23-2006 at 10:02 AM.
 
Old 01-23-2006, 04:51 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
i had issues building it the other day

i had to update
taglib
taglib-devel
make

and the --qt switches broke the make so removed them

i settled on this with 1.3.8
runs faster than i thought it would
(i chose gstreamer over xine --without-gstreamer will work too)

./configure --without-opengl --prefix=`kde-config --prefix` --without-arts --without-xine; make

Last edited by carl0ski; 01-23-2006 at 04:53 AM.
 
Old 01-23-2006, 11:23 AM   #3
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
I already have the latest taglib. I compiled it with the option "--without-arts" (to get it compiled) but it still crashes. As you may notice I upgraded my GCC, could this make any difference?
 
Old 01-23-2006, 11:28 AM   #4
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
I downgraded GCC back to 3.3.6 and tried to compile but got this:
Code:
Making all in xine
make[5]: Entering directory `/tmp/build-amarok/amarok-1.3.7/amarok/src/engine/xine'
rm -rf xineconfigbase.h;
/usr/lib/qt/bin/uic ./xineconfigbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> xineconfigbase.h ;
/usr/lib/qt/bin/uic: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/opt/kde/bin/kconfig_compiler ./xinecfg.kcfg ./xinecfg.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f xinecfg.h ; exit $ret ;  fi
if /bin/sh ../../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I/usr/include -I/opt/kde/include -I/usr/lib/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -march=i486 -mcpu=i686 -O1 -pipe -Wformat-security -Wmissing-format-attribute -MT xine-scope.lo -MD -MP -MF ".deps/xine-scope.Tpo" -c -o xine-scope.lo xine-scope.c; \
then mv -f ".deps/xine-scope.Tpo" ".deps/xine-scope.Plo"; else rm -f ".deps/xine-scope.Tpo"; exit 1; fi
/usr/lib/qt/bin/moc ./xine-engine.h -o xine-engine.moc
if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I/usr/include -I/opt/kde/include -I/usr/lib/qt/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=i486 -mcpu=i686 -O1 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT xine-engine.lo -MD -MP -MF ".deps/xine-engine.Tpo" -c -o xine-engine.lo xine-engine.cpp; \
then mv -f ".deps/xine-engine.Tpo" ".deps/xine-engine.Plo"; else rm -f ".deps/xine-engine.Tpo"; exit 1; fi
In file included from xine-engine.cpp:14:
xine-config.h:62: error: syntax error before `*' token
xine-config.h:59: error: base `XineGeneralEntry' with only non-default
   constructor in class without a constructor
xine-config.h:74: error: syntax error before `*' token
xine-config.h:87: error: syntax error before `*' token
xine-config.h:84: error: base `XineIntEntry' with only non-default constructor
   in class without a constructor
xine-config.h:110: error: 'QPtrList' is used as a type, but is not defined as a
   type.
xine-config.h:111: error: syntax error before `*' token
xine-config.h: In member function `virtual QWidget* XineConfigDialog::view()':
xine-config.h:96: error: `m_view' undeclared (first use this function)
xine-config.h:96: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[5]: *** [xine-engine.lo] Error 1
make[5]: Leaving directory `/tmp/build-amarok/amarok-1.3.7/amarok/src/engine/xine'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/build-amarok/amarok-1.3.7/amarok/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/build-amarok/amarok-1.3.7/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build-amarok/amarok-1.3.7/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build-amarok/amarok-1.3.7'
make: *** [all] Error 2
Btw, I don't use Gstreamer as the engine. I have used xine and still want to use xine as the engine.
 
Old 01-23-2006, 12:47 PM   #5
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
Well heh, I solved it myself I downgraded my X11 to the one that came with Slack 10.2 and it compiled just fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
amarok error dave`2005 Slackware 12 01-17-2006 01:58 PM
amarok error mapesju Slackware 1 10-19-2005 07:47 AM
Amarok users..does anyone else get this error? RoaCh Of DisCor Linux - Software 2 08-05-2005 10:47 AM
I'm trying to install amarok-1.1.1 and i get an error... gbdavidx Slackware 5 12-04-2004 05:21 PM
Why do I get an error when I try to compile amaroK? or any software for that matter. EThitop Linux - Newbie 19 06-21-2004 12:36 AM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration