------art_996_1760189.1195984478972
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Just to be extra clear: if you build it on WinXP you don't need to install
GCC. If you want to built it in Cygwin, you'll probably need GCC.

On 11/25/07, Andrei Maxim <andrei / andreimaxim.ro> wrote:
>
> Feng,
>
> Check your Cygwin installation and make sure you have gcc installed. It's
> under compilers or something like that. It seems that the line that's
> throwing the error is
>
>
> make gcc: Command not found
>
>
> I have a somewhat limited experience with Ruby, Windows XP and Cygwin but
> I remember that a gem installed from the Windows command line will work in
> Cygwin too (at least it's present when I issue a `gem list`)
>
> On 11/25/07, Feng Tien <pood.forums / gmail.com> 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?
> >
> > When trying to install Mechanize, I get the exact same message, can't
> > make hpricot.
> > --
> > Posted via http://www.ruby-forum.com/.
> >
> >
>
>
> --
> Andrei Maxim
> http://andreimaxim.ro
>



-- 
Andrei Maxim
http://andreimaxim.ro

------art_996_1760189.1195984478972--