From: oladarula@... (Oliver) Date: 2002-07-16T21:46:26+09:00 Subject: Re: error compiling ruby-libxml Markus Jais wrote in message news:... > I just downloaded ruby-libxml-20020709 > and tried to compile it on my linux machine > > I have > ruby 1.6.6 > and > libxml 2.4.22 > > I get this error after calling make: > > gcc -fPIC -g -O2 -g -Wall -I/usr/local/include -I/usr/local/include/libxml2 > -I/usr/local/include/libxml2 -I/usr/local/lib/ruby/1.6/i686-linux -I. > -I/usr/local/include -DHAVE_ZLIB_H -DHAVE_DOCBCREATEFILEPARSERCTXT -c -o > ruby_xml_sax_parser.o ruby_xml_sax_parser.c > ruby_xml_sax_parser.c: In function `ruby_xml_sax_parser_new': > ruby_xml_sax_parser.c:21: parse error before `emptySAXHandlerStruct' > ruby_xml_sax_parser.c:52: `emptySAXHandlerStruct' undeclared (first use in > this function) > ruby_xml_sax_parser.c:52: (Each undeclared identifier is reported only once > ruby_xml_sax_parser.c:52: for each function it appears in.) > make: *** [ruby_xml_sax_parser.o] Error 1 > same here. FreeBSD 4.6 gcc 2.95.3 20010315 Ruby 1.6.7 (although not that relevant ;))