LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amaroK compile error (https://www.linuxquestions.org/questions/linux-software-2/amarok-compile-error-406532/)

jaakkop 01-22-2006 10:15 AM

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?

carl0ski 01-23-2006 04:51 AM

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

jaakkop 01-23-2006 11:23 AM

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?

jaakkop 01-23-2006 11:28 AM

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.

jaakkop 01-23-2006 12:47 PM

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


All times are GMT -5. The time now is 08:25 PM.