Re: [proaudio] Hydrogen (9999) fails to compile

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


> Olof Kindgren write:
>> src/local_file_mgr.cpp:878: error: 'VERSION' was not declared in this
>> scope
>> make[2]: *** [objs/local_file_mgr.o] Error 1
>> make[2]: Leaving directory
>> `/var/tmp/portage/media-sound/hydrogen-9999/work/hydrogen-9999/libs/hydrogen'
>> make[1]: *** [sub-hydrogen-make_default] Error 2
>> make[1]: Leaving directory
>> `/var/tmp/portage/media-sound/hydrogen-9999/work/hydrogen-9999/libs'
>> make: *** [sub-libs-make_default] Error 2
>>  *
>>  * ERROR: media-sound/hydrogen-9999 failed.
>>  * Call stack:
>>  *               ebuild.sh, line   49:  Called src_compile
>>  *             environment, line 2597:  Called die
>>  * The specific snippet of code:
>>  *       emake -j1 || die "emake failed"
>>  *  The die message:
>>  *   emake failed
>>  *
>>  * If you need support, post the topmost build error, and the call stack
>> if relevant.
>>  * A complete build log is located at
>> '/var/tmp/portage/media-sound/hydrogen-9999/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/media-sound/hydrogen-9999/temp/environment'.
>>  * This ebuild used the following eclasses from overlays:
>>  *   /usr/portage/local/layman/pro-audio/eclass/exteutils.eclass
>>  *
>>
>>  * Messages for package media-sound/hydrogen-9999:
>>
>>  *
>>  * ERROR: media-sound/hydrogen-9999 failed.
>>  * Call stack:
>>  *               ebuild.sh, line   49:  Called src_compile
>>  *             environment, line 2597:  Called die
>>  * The specific snippet of code:
>>  *       emake -j1 || die "emake failed"
>>  *  The die message:
>>  *   emake failed
>>
>> Hydrogen fails to emerge with this error. It's a bit strange, because I
>> checked out the lastest version from the SVN repository and after som
>> configure file hacking it compiled just fine. Isn't the ebuild from the
>> same repository?
>>
>>
>> //Olof
>>
>>
>>
>
> I've had the same problem for ages now...could you post you patch please?
>
>
> Thanks,
> Philipp
>
>
>
>
>

It's not much of a patch. Just check out the repo
(svn co http://hydrogen-music.org/svn/trunk hydrogen)

edit configure and change this line

if test -f $X/lib/libQtCore.a -o -f $X/lib/libQtCore.so -o -d
$X/lib/QtCore.framework -o -f $X/lib/libQtCore.dylib; then

to this line

if test -f $X/lib/qt4/libQtCore.a -o -f $X/lib/qt4/libQtCore.so -o -d
$X/lib/qt4/QtCore.framework -o -f $X/lib/qt4/libQtCore.dylib; then

....and run ./configure && make && make install

hopefully it works :)

//Olof




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/