Search:  
Gentoo Wiki

Hydrogen_on_OSX

Mac OS Series

Image:Gentoo-osx.png

HOWTOs

FAQs

Other

Let's get Hydrogen to work on Mac OS X 10.3.5

Contents

Getting a working QT installation

Getting it

Installing it

Edit ~/.profile

File: ~/.profile
QTDIR=/Developer/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH

export QTDIR PATH MANPATH DYLD_LIBRARY_PATH
cd /Developer
gnutar xzf qt-mac-3.3.3.tar.bz2
mv qt-3.3.3-mac qt
source ~/.profile
cd $QTDIR
./configure -thread -qt-gif
make

Go out and have lunch with a friend, or pleasure yourself some other way (be creative) QT takes a long time to compile on my iBook G4 1ghz with 384 megs of ram.

Installing FLAC

This process will not build FLAC on all machines. There is a problem, possibly with some Fortran libraries. Hopefuylly more information will be added by people wiser than I on this topic to help those who cannot compile FLAC using Gentoo OSX.

Now we need to compile and install Hydrogen

Getting it

 (Alternatively, you can download the CVS tarball as well.)

Installing it

cd ~/Desktop/hydrogen-0.9.0
./configure --disable-oss-support
make
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH" sudo ./configure --disable-oss-support
make
sudo make install

Now link in your /bin directory using:

sudo ln -s /direcorty/where/hydrogen/installed /bin/hydrogen

Notes

If hydrogen is configured without jack support, you will get output like this after configure.

Code: jack's configure
-----------------------------------------------------------------
 Hydrogen 0.9.0 configuration:
-----------------------------------------------------------------

        Source code location:   .
        Prefix                  /usr/local
        Images path             /usr/local/share/hydrogen
        Use ALSA Sequencer:     no
        Debug messages:         no
        Jack support:           no
        OSS support:            no
        LRDF support:           no
        FLAC support:           yes

        Features list =  (FLAC) (OSS)

-----------------------------------------------------------------
Now type make to build Hydrogen.
-----------------------------------------------------------------

make failed when building oss support You must disable with ./configure --disable-oss-support

Make process goes fine until libtool at then end, then this error appears:

ExportSongDialog.moc.o  ../lib/libhydrogen.a ../lib/xml/libtinyxml.a ../lib/drivers/libdrivers.a ../lib/fx/libfx.a ../lib/smf/libsmf.a  -lqt-mt -lpng -lz -lm -ljpeg -lXext -lX11  -lSM -lICE -lpthread  -lpthread
mkdir .libs
libtool: link: cannot find the library `'
make[3]: *** [hydrogen] Error 1

TODO

alsa lib for midi support

See Also

Retrieved from "http://www.gentoo-wiki.info/Hydrogen_on_OSX"

Last modified: Tue, 18 Apr 2006 23:20:00 +0000 Hits: 14,266