From: Peter Szinek Date: 2007-11-25T18:47:06+09:00 Subject: Re: can't install hpricot on cygwin Feng Tien wrote: > I'm trying to run scRUBYt on winXp, but found out it just doesn't work. > > So the work around is to use cygwin. > > I'm trying to install Hpricot > > > I keep on getting this error: > > ============ > ERROR: Error installing hpricot: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby.exe extconf.rb install hpricot > checking for main() in -lc...no > creating Makefile > > make gcc -I. -I. -I/usr/lib/ruby/1.8/i386-cygwin -I. -g -02 -c > hpricot_scan.c > make gcc: Command not found > make: *** [hpricot.scan.o] 127 > > =========== > > > I've installed FlexMock using gems just fine in cygwin, so what's wrong? I think the trick is that in FlexMock's case, you did not have to compile anything - but this doesn't hold for Hpricot. You need a C compiler. Unfortunately I have no idea how to get that on cygwin, but it shouldn't be that complicated. Let me know if this solves the problem for you! Cheers, Peter ___ http://www.rubyrailways.com http://scrubyt.org