Created
October 19, 2012 07:35
-
-
Save dezull/3916748 to your computer and use it in GitHub Desktop.
sqlite3-pcre
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
#!/bin/bash | |
# with macports installed | |
sudo port install sqlite3 && | |
git clone https://github.com/oojah/sqlite3-pcre.git sqlite3-pcre && | |
cd sqlite3-pcre && | |
gcc -shared -o pcre.so -L/opt/local/lib -lsqlite3 -lpcre -Werror pcre.c -I/opt/local/include && | |
sudo cp pcre.so /opt/local/lib/sqlite3 && | |
echo ".load /opt/local/lib/sqlite3/pcre.so" > ~/.sqliterc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment