Skip to content

Instantly share code, notes, and snippets.

@eThikas
Created February 27, 2012 00:55
Show Gist options
  • Save eThikas/1920224 to your computer and use it in GitHub Desktop.
Save eThikas/1920224 to your computer and use it in GitHub Desktop.
Get TCPICK working on mac
#!/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
@williame
Copy link

williame commented Jun 2, 2014

I think the gcc (actually its llvm) now needs the config to be:

CFLAGS="-m32 --std=c89" ./configure

@devinrhode2
Copy link

how would one uninstall tcpick?

@devinrhode2
Copy link

Oh. sudo make uninstall :D

Copy link

ghost commented Oct 22, 2017

@williame Adding --std=c89 worked for me!
Thanks

@111andre111
Copy link

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