so I just did:
yum install gcc-c++ autoconf make

 and deleted the ext directory and tried 'gem install pg' and go the
same error.

in the mkmf.log  I saw this:

------------------------------
"gcc -E -I. -I/usr/lib/ruby/1.8/i386-linux -I.  -D_FILE_OFFSET_BITS=64
-I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -
mtune=atom -fasynchronous-unwind-tables -fno-strict-aliasing  -fPIC
conftest.c -o conftest.i"

checked program was:
/* begin */
1: #include <libpq-fe.h>
/* end */
---------------------

 I saw that the build deletes conftest.c, so I created a conftest.c
with just:
#include <libpq-fe.h>
then ran the gcc command above and it created a conftest.i file








-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to