Hi,
I'm running openSUSE 15.0 and i want to install drumkv1-0.9.7. Qt5 and libsndfile all there.
./configure --prefix=/usr/lib64/lv2/drumkv1.lv2 (in order to get the lv2 for use with Ardour)
exits with:
checking for Qt major version... ./configure: line 4249: **Unknown** + 0: syntax error: operand expected (error token is "**Unknown** + 0")
But curiously I can overcome this with starting the same command with sudo, i.e. as root. Then everything runs smooth.
After that I type 'make' and this is the whole output:
make[1]: Entering directory '/home/user/make/drumkv1-0.9.7'
cd src/ && ( test -e Makefile.src_core || /usr/bin/qmake-qt5 -o Makefile.src_core /home/user/make/drumkv1-0.9.7/src/src_core.pro ) && make -f Makefile.src_core
make[2]: Entering directory '/home/user/make/drumkv1-0.9.7/src'
/usr/bin/qmake-qt5 -o Makefile.src_core src_core.pro
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_param.o drumkv1_param.cpp
drumkv1_param.cpp:27:10: fatal error: QDomDocument: No such file or directory
#include
^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile.src_core:475: .obj_core/drumkv1_param.o] Error 1
make[2]: Leaving directory '/home/user/make/drumkv1-0.9.7/src'
make[1]: *** [drumkv1.mak:45: sub-src-src_core-pro-make_first] Error 2
make[1]: Leaving directory '/home/user/make/drumkv1-0.9.7'
Trying the same as root leads to the same.
Any idea what's wrong and what I can do?
Thanks in advance.
re. Installing problems
one thing:
./configure --prefix=/usr
will do exactly what you wish--please do not add anything else besides
/usr
.second thing: retry again after running `
./autogen.sh clean
` and then again (yes, again), `./autogen.sh
`...hth.
cheers
Thanks for your reply. I did
Thanks for your reply. I did it as you told.
But unfortunately it ran in a similar way. Configure only as root. And make exits with an error message. But as a difference, this time 5 more lines beginning with "g++" came through before the error. (Maybe it's the still the same as before, though, as another try with "make" shows the same shortened output as mentioned in my initial post. So I guess it just foregoes the processes already finished in the first instance).
This is the full output:
user@linux-frx0:~/make/drumkv1-0.9.7> make
Info: creating stash file /home/user/make/drumkv1-0.9.7/.qmake.stash
make[1]: Entering directory '/home/user/make/drumkv1-0.9.7'
cd src/ && ( test -e Makefile.src_core || /usr/bin/qmake-qt5 -o Makefile.src_core /home/user/make/drumkv1-0.9.7/src/src_core.pro ) && make -f Makefile.src_core
make[2]: Entering directory '/home/user/make/drumkv1-0.9.7/src'
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1.o drumkv1.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_config.o drumkv1_config.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_formant.o drumkv1_formant.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_resampler.o drumkv1_resampler.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_sample.o drumkv1_sample.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_wave.o drumkv1_wave.cpp
g++ -c -pipe -ffast-math -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I.moc_core -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj_core/drumkv1_param.o drumkv1_param.cpp
drumkv1_param.cpp:27:10: fatal error: QDomDocument: No such file or directory
#include
^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile.src_core:475: .obj_core/drumkv1_param.o] Error 1
make[2]: Leaving directory '/home/user/make/drumkv1-0.9.7/src'
make[1]: *** [drumkv1.mak:45: sub-src-src_core-pro-make_first] Error 2
make[1]: Leaving directory '/home/user/make/drumkv1-0.9.7'
make: *** [Makefile:128: core] Error 2
re. Installing problems
please run all ./configure && make as under your regular user, not root or sudo. please.
one other question is whether you have all of
libqt5-qtbase-devel
packages installed properly (namelylibQt5Xml-devel
)also please make sure you have installed
lv2-devel
for the LV2 plugin build to succeed.hth.
cheers
In fact installing the devel
In fact installing the devel packages helped!
But, still, running configure as user doesn't work (see initial post). Furhtermore I had to copy the lv2 directory by hand into the /usr area. But now I am able to start the plugin within Ardour.
I not yet worked it all through. Just clicked around a bit. And at one point the GUI crashed, bringing down Ardout with it. But maybe that's a different issue.
At least I guess the installing problem is solved now, although on a somewhat unusual way.
Thanks a lot until now.
Add new comment