Make sure you have gcc installed.
which gcc
must return
/usr/bin/gcc
When I tried easy_install readline, I got the same error. Only when I loaded tar and tried to manually create it did I notice what it said
checking whether make sets $(MAKE)... no checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/roneill/readline-6.2.4.1/rl/readline-lib': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
that I understood what the real problem was. I did not use this particular laptop and did not use Xcode to install command line tools. As soon as I did this, everything worked correctly.
source share