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 |
how would one uninstall tcpick?
Oh. sudo make uninstall
:D
@williame Adding --std=c89 worked for me!
Thanks
For me adding --std=c89 and removing -m32 worked. Because in newer MacOS versions 32bit is now allowed any more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the gcc (actually its llvm) now needs the config to be: