Created
July 26, 2012 03:18
-
-
Save chorrell/3180044 to your computer and use it in GitHub Desktop.
Install taglib-ruby gem on a 64 bit SmartMachine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download the required TagLib lib | |
mkdir src | |
cd src | |
curl -OL https://github.com/downloads/taglib/taglib/taglib-1.7.2.tar.gz | |
tar xvf taglib-1.7.2.tar.gz | |
cd taglib-1.7.2 | |
# Make sure cmake and gcc are installed | |
pkgin -y install cmake | |
pkgin -y install gcc-compiler | |
# Set the things up for 64 bit | |
export CFLAGS='-m64 -I/opt/local/include' | |
export CPPFLAGS='-I/opt/local/include -D_REENTRANT -I/usr/include' | |
export CXXFLAGS='-m64 -L/opt/local/lib/amd64' | |
export LDFLAGS='-m64 -I/opt/local/include -L/opt/local/lib -L/opt/local/lib/amd64' | |
cmake -DCMAKE_INSTALL_PREFIX=/opt/local . | |
make | |
make install | |
gem install taglib-ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment