Can't build 1.10 on Arch Linux

Asked by quentindemetz

I'm trying to get Mixxx 1.10 working on my Arch Linux rig.
I downloaded the tarball, but running scons to build the package fails, with this stack trace:

INFO:root:Target Platform: linux
INFO:root:Target Machine: x86_64
INFO:root:Build: debug
INFO:root:Toolchain: gnu
INFO:root:Crosscompile: NO
INFO:root:Qt path: /opt/qt
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
bzr: ERROR: Not a branch: "/home/qdm/downloads/mixxx-1.10.0-beta1/lin64_build/".
In file included from src/configobject.h:23:0,
                 from src/analyserbpm.h:7,
                 from src/analyserbpm.cpp:8:
/opt/qt/include/qkeysequence.h:55:1: error: ‘Q_EXPORT’ does not name a type
/opt/qt/include/qkeysequence.h:56:1: error: ‘Q_EXPORT’ does not name a type
/opt/qt/include/qkeysequence.h:61:29: error: expected initializer before ‘:’ token
In file included from src/configobject.h:24:0,
                 from src/analyserbpm.h:7,
                 from src/analyserbpm.cpp:8:
/opt/qt/include/qdom.h:97:21: error: variable ‘Q_EXPORT QDomImplementation’ has initializer but incomplete type
/opt/qt/include/qdom.h:97:21: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x [enabled by default]
/opt/qt/include/qdom.h:99:1: error: expected primary-expression before ‘public’
/opt/qt/include/qdom.h:99:1: error: expected ‘}’ before ‘public’
/opt/qt/include/qdom.h:99:1: error: expected ‘,’ or ‘;’ before ‘public’
/opt/qt/include/qdom.h:101:31: error: ‘QDomImplementation’ does not name a type
/opt/qt/include/qdom.h:101:49: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/opt/qt/include/qdom.h:101:52: error: expected constructor, destructor, or type conversion before ‘;’ token
/opt/qt/include/qdom.h:102:33: error: declaration of ‘~QDomImplementation’ as non-member
/opt/qt/include/qdom.h:103:5: error: ‘QDomImplementation’ does not name a type
/opt/qt/include/qdom.h:104:29: error: ‘QDomImplementation’ does not name a type
/opt/qt/include/qdom.h:104:47: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/opt/qt/include/qdom.h:104:51: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
/opt/qt/include/qdom.h:104:51: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
/opt/qt/include/qdom.h:105:29: error: ‘QDomImplementation’ does not name a type
/opt/qt/include/qdom.h:105:47: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/opt/qt/include/qdom.h:105:51: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
/opt/qt/include/qdom.h:105:51: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
/opt/qt/include/qdom.h:108:77: error: ‘virtual’ outside class declaration
/opt/qt/include/qdom.h:109:121: error: ‘virtual’ outside class declaration
/opt/qt/include/qdom.h:110:118: error: ‘virtual’ outside class declaration
/opt/qt/include/qdom.h:115:1: error: expected unqualified-id before ‘private’
/opt/qt/include/qdom.h:117:53: error: expected constructor, destructor, or type conversion before ‘;’ token
/opt/qt/include/qdom.h:119:5: error: ‘friend’ used outside of class
/opt/qt/include/qdom.h:120:1: error: expected declaration before ‘}’ token
scons: *** [lin64_build/analyserbpm.o] Error 1

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Mixxx Edit question
Assignee:
No assignee Edit question
Solved by:
William Good
Solved:
Last query:
Last reply:
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) said :
#1

Do you have the Qt development package installed? If so, what version?

Revision history for this message
quentindemetz (quentindemetz) said :
#2

I have qt 4.7.4-3, which I believe also includes the development package.

Revision history for this message
William Good (bkgood) said :
#3

I think arch installs Qt3 in /opt. Try adding `qtdir=/usr/lib/qt` to your scons command line.

Revision history for this message
quentindemetz (quentindemetz) said :
#4

That seemed to do the trick, but I got another compile error two minutes later:

In constructor ‘LADSPAPresetSlot::LADSPAPresetSlot(QWidget*, QDomElement, int, LADSPAPresetManager*, QPalette)’:
src/ladspa/ladspapresetslot.cpp:87:68: error: no matching function for call to ‘ControlPushButton::ControlPushButton(ConfigKey&, bool)’
src/ladspa/ladspapresetslot.cpp:87:68: note: candidates are:
src/controlpushbutton.h:32:5: note: ControlPushButton::ControlPushButton(ConfigKey)
src/controlpushbutton.h:32:5: note: candidate expects 1 argument, 2 provided
src/controlpushbutton.h:28:7: note: ControlPushButton::ControlPushButton(const ControlPushButton&)
src/controlpushbutton.h:28:7: note: candidate expects 1 argument, 2 provided
src/ladspa/ladspapresetslot.cpp:87:25: warning: unused variable ‘control’ [-Wunused-variable]
src/ladspa/ladspapresetslot.cpp:99:64: error: no matching function for call to ‘ControlPushButton::ControlPushButton(ConfigKey&, bool)’
src/ladspa/ladspapresetslot.cpp:99:64: note: candidates are:
src/controlpushbutton.h:32:5: note: ControlPushButton::ControlPushButton(ConfigKey)
src/controlpushbutton.h:32:5: note: candidate expects 1 argument, 2 provided
src/controlpushbutton.h:28:7: note: ControlPushButton::ControlPushButton(const ControlPushButton&)
src/controlpushbutton.h:28:7: note: candidate expects 1 argument, 2 provided
src/ladspa/ladspapresetslot.cpp:143:22: warning: unused variable ‘control’ [-Wunused-variable]
src/ladspa/ladspapresetslot.cpp: In member function ‘void LADSPAPresetSlot::addKnob(int)’:
src/ladspa/ladspapresetslot.cpp:285:9: warning: unused variable ‘length’ [-Wunused-variable]
scons: *** [lin64_build/ladspa/ladspapresetslot.o] Error 1
scons: building terminated because of errors.

Revision history for this message
Best William Good (bkgood) said :
#5

LADSPA isn't working/hasn't for ages, disable it (ladspa=0).

Revision history for this message
RJ Skerry-Ryan (rryan) said :
#6

Please don't compile with ladspa=1 -- that feature is broken and doesn't
compile. Similarly, avoid cmetrics and ipod.

Thanks,
RJ

On Thu, Nov 10, 2011 at 2:01 PM, quentindemetz <
<email address hidden>> wrote:

> Question #178310 on Mixxx changed:
> https://answers.launchpad.net/mixxx/+question/178310
>
> Status: Answered => Open
>
> quentindemetz is still having a problem:
> That seemed to do the trick, but I got another compile error two minutes
> later:
>
> In constructor ‘LADSPAPresetSlot::LADSPAPresetSlot(QWidget*, QDomElement,
> int, LADSPAPresetManager*, QPalette)’:
> src/ladspa/ladspapresetslot.cpp:87:68: error: no matching function for
> call to ‘ControlPushButton::ControlPushButton(ConfigKey&, bool)’
> src/ladspa/ladspapresetslot.cpp:87:68: note: candidates are:
> src/controlpushbutton.h:32:5: note:
> ControlPushButton::ControlPushButton(ConfigKey)
> src/controlpushbutton.h:32:5: note: candidate expects 1 argument, 2
> provided
> src/controlpushbutton.h:28:7: note:
> ControlPushButton::ControlPushButton(const ControlPushButton&)
> src/controlpushbutton.h:28:7: note: candidate expects 1 argument, 2
> provided
> src/ladspa/ladspapresetslot.cpp:87:25: warning: unused variable ‘control’
> [-Wunused-variable]
> src/ladspa/ladspapresetslot.cpp:99:64: error: no matching function for
> call to ‘ControlPushButton::ControlPushButton(ConfigKey&, bool)’
> src/ladspa/ladspapresetslot.cpp:99:64: note: candidates are:
> src/controlpushbutton.h:32:5: note:
> ControlPushButton::ControlPushButton(ConfigKey)
> src/controlpushbutton.h:32:5: note: candidate expects 1 argument, 2
> provided
> src/controlpushbutton.h:28:7: note:
> ControlPushButton::ControlPushButton(const ControlPushButton&)
> src/controlpushbutton.h:28:7: note: candidate expects 1 argument, 2
> provided
> src/ladspa/ladspapresetslot.cpp:143:22: warning: unused variable ‘control’
> [-Wunused-variable]
> src/ladspa/ladspapresetslot.cpp: In member function ‘void
> LADSPAPresetSlot::addKnob(int)’:
> src/ladspa/ladspapresetslot.cpp:285:9: warning: unused variable ‘length’
> [-Wunused-variable]
> scons: *** [lin64_build/ladspa/ladspapresetslot.o] Error 1
> scons: building terminated because of errors.
>
> --
> You received this question notification because you are a member of
> Mixxx Development Team, which is an answer contact for Mixxx.
>

Revision history for this message
quentindemetz (quentindemetz) said :
#7

Thanks Bill Good, that solved my question.