Skip to Content

Compiling under Ubuntu Dapper

2 replies [Last post]
phrontist
Offline
Joined: 04/17/2010

Trying to compile the latest unstable version from SVN I get the following:

cd plugins && make -f Makefile
make[1]: Entering directory `/home/bjorn/Desktop/hydrogen/plugins'
cd wasp && make -f Makefile
make[2]: Entering directory `/home/bjorn/Desktop/hydrogen/plugins/wasp'
cd wasp_booster && make -f Makefile
make[3]: Entering directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_boos ter'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_boost er'
cd wasp_noisifier && make -f Makefile
make[3]: Entering directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_nois ifier'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_noisi fier'
cd wasp_xshaper && make -f Makefile
make[3]: Entering directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_xsha per'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/home/bjorn/Desktop/hydrogen/plugins/wasp/wasp_xshap er'
make[2]: Leaving directory `/home/bjorn/Desktop/hydrogen/plugins/wasp'
make[1]: Leaving directory `/home/bjorn/Desktop/hydrogen/plugins'
cd libs && make -f Makefile
make[1]: Entering directory `/home/bjorn/Desktop/hydrogen/libs'
cd hydrogen && make -f Makefile
make[2]: Entering directory `/home/bjorn/Desktop/hydrogen/libs/hydrogen'
test -d hydrogen.gch/ || mkdir -p hydrogen.gch/
g++ -x c++-header -c -pipe -g -Wall -Wall -W -O2 -D_REENTRANT -DALSA_SUPPORT -D JACK_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DLRDF_SUPPORT -DOSS_SUPPORT -DQT_N O_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mks pecs/default -I. -I../.. -Iinclude -I/usr/include/qt3 src/Precompiled.h -o hydro gen.gch/c++
src/Precompiled.h:19:20: error: QLibrary: No such file or directory
src/Precompiled.h:20:16: error: QDir: No such file or directory
make[2]: *** [hydrogen.gch/c++] Error 1
make[2]: Leaving directory `/home/bjorn/Desktop/hydrogen/libs/hydrogen'
make[1]: *** [sub-hydrogen] Error 2
make[1]: Leaving directory `/home/bjorn/Desktop/hydrogen/libs'
make: *** [sub-libs] Error 2

So I've tried pointing it to QT, to no avail:

bjorn@bucephalus:~/Desktop/hydrogen$ export QTDIR=/usr/share/qt3/lib
bjorn@bucephalus:~/Desktop/hydrogen$ ./configure

-----------------------------------------------------------------
Starting Hydrogen configuration...
-----------------------------------------------------------------

* QTDIR = /usr/share/qt3/lib

* Searching for QT library in /usr/share/qt3/lib *** Not found ***

*** ERROR: QT library not found. Maybe QTDIR isn't properly set.

Variations include /usr/share/qt3/, /usr/share/qt4/, and /usr/share/qt4/lib.

Any ideas?

MrBouncy
Offline
Joined: 04/17/2010

Hi, the configure script is not well-equipped to deal with the Debian/Ubuntu style directory layout for the QT packages.

I was able to build a fresh checkout last night by starting with the following command:

QTDIR=/usr/share/qt4 qmake-qt4 -makefile -recursive all.pro prefix=/usr/local/stow/hydrogen-svn

I then created the config.h file by hand with the 2 #define statements found in the configure script.

afterwards compilation and installation went off without a hitch..

intbakaint
Offline
Joined: 04/17/2010

Fatherhood is pretending the present you love most is soap on-a-rope. -Bill Cosby