Created
April 14, 2011 14:05
-
-
Save jedi4ever/919537 to your computer and use it in GitHub Desktop.
buiding sphinx .deb with fpm
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
wget http://sphinxsearch.com/files/sphinx-0.9.9.tar.gz | |
rm -rf sphinx-0.9.9 | |
tar -xzvf sphinx-0.9.9.tar.gz | |
cd sphinx-0.9.9 | |
./configure --with-pgsql --without-mysql --prefix=/usr | |
rm -rf /tmp/install-sphinx-0.9.9 | |
mkdir /tmp/install-sphinx-0.9.9 | |
make install DESTDIR=/tmp/install-sphinx-0.9.9 | |
# We need to specify the arch as it not picked up automagically | |
# arch=$(uname -m) -> says i686 but it complains about | |
# package architecture (i686) does not match system (i386) | |
fpm -sdir -a i386 -t deb -n sphinx -v 0.9.9 -C /tmp/install-sphinx-0.9.9 -p sphinx-VERSION_ARCH. | |
deb usr/bin usr/etc usr/var | |
#Created /home/vagrant/sphinx-0.9.9/sphinx-0.9.9_i386.deb | |
sudo dpkg -i sphinx-0.9.9_i386.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment