Hydrogen on OSX
From Gentoo Linux Wiki
|
Let's get Hydrogen to work on Mac OS X 10.3.5
Contents |
[edit] Getting a working QT installation
[edit] Getting it
- Download QT/Mac Free edition from The QT/Mac page on Trolltech.com
- Follow the instructions on This page to install it. Make sure you include thread support
[edit] 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
- NOTE: Use the -qt-gif option only if you want gif support
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.
[edit] Installing FLAC
- Go to the FLAC download page on sourceforge and download the source tarball. extract
- you know the drill: ./configure && make && make install
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.
[edit] Now we need to compile and install Hydrogen
[edit] Getting it
- Download the hydrogen-0.9.0 tarball from the Hydrogen site
(Alternatively, you can download the CVS tarball as well.)
- extract it and set your favorite console app (i use iTerm) to the hydrogen directory, compile
[edit] Installing it
cd ~/Desktop/hydrogen-0.9.0 ./configure --disable-oss-support make
- If you would like to compile Hydrogen to use JackOSX you can use this string when compiling.
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
[edit] 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
[edit] TODO
alsa lib for midi support

