What I forgot to say was that I think that expat.h is the important header file, and forget about having it find xmlparse.h. I compiled it under x86 Linux as well, and it still didn't find xmlparse.h there, either. Concentrate on having it find expat.h. I find sometimes that hardcoding it into the configure script works well. You might try that. Tobias DiPasquale wrote: > Alun and folks, > > I just built/installed expat, Ruby, XMLRPC and XMLParser on a Mac OS X > 10.0.4 box, and they all built fine. > > Here was the configure output from XMLParser: > > >.ruby extconf.rb > >checking for xmlparse.h... no > >checking for expat.h... yes > >checking for XML_ParserCreate() in -lexpat... yes > >checking for XML_SetNotStandaloneHandler()... yes > >checking for XML_SetParamEntityParsing()... yes > >checking for XML_SetExternalParsedEntityDeclHandler()... no > >checking for XML_SetDoctypeDeclHandler()... yes > >checking for ntohl() in -lsocket... no > >creating Makefile > > As you can see, it didn't find xmlparse.h, but did find expat.h. It seems > that XMLParser wants to find the header files for expat in some directory > called "xmlparse", as in /usr/local/include/xmlparse. See if they are there > and try that out. Sorry I couldn't be more help. > > Alun ap Rhisiart wrote: > > > Hi, > > > > I've just finished (?) writing an XML course for our training company, > > and I am determined not to give the impression in demos that Java is the > > only way to do any of this. As things stand, the few programming > > exercises (DOM and SAX) are in Java, since we need to specify a language > > that a reasonable number of attendees will know. For the demos, though, > > I am also using Python and Ruby (and probably Smalltalk, possibly Perl). > > I have XML-RPC working fine, but I am having trouble with XMLparser. I > > have NQXML installed okay, but I will need a validating parser. > > I have downloaded expat 1.95.1 and it installs fine (into > > /usr/local/lib); this is on Mac OS X v10.0.4. Whenever I try > > > > ruby extconf.rb > > > > I get "checking for xmlparse.h... no > > checking for expat.h... no" > > These files are both in /usr/local/include. I have tried > > > > ruby extconf.rb --with-xmlparse-include=/usr/local/include > > > > and > > > > ruby extconf.rb --with-xmlparse-include=/usr/local > > > > but always the same error message. No doubt I am doing something stupid: > > anyone see it? Incidentally, is expat still being actively developed (eg > > xml-schemas 2001)? Just wondering whether we should be wrapping xerces. > > > > regards, > > > > Alun ap Rhisiart