Created
February 27, 2012 00:55
-
-
Save eThikas/1920224 to your computer and use it in GitHub Desktop.
Get TCPICK working on mac
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 | |
mkdir temp | |
cd temp | |
wget http://downloads.sourceforge.net/project/tcpick/tcpick/0.2.1/tcpick-0.2.1.tar.gz | |
tar zxvf tcpick-0.2.1.tar.gz | |
cd tcpick-0.2.1 | |
CFLAGS="-m32" ./configure | |
echo "char *lookup();" >> src/lookup.h | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For me adding --std=c89 and removing -m32 worked. Because in newer MacOS versions 32bit is now allowed any more.