Re: gnumeric 1.0.5 xml linking error



On Thu, Mar 21, 2002 at 11:53:37AM -0500, Ronald Odle wrote:
Don't know if this works for anyone else, but ...

I was having the same problem.  Checked my /usr/include directory and
found that I had two xml subdirectories:  gnome-xml and libxml.  Changed
the name of libxml and gnumeric-1.0.4 compiled without a hitch.  Then
changed the name of the libxml subdirectory back to it's original name. 
Didn't need to uninstall or reinstall anything.

  If you have a /usr/include/libxml or /usr/local/include/libxml
subdirectory, you're in trouble. 
  Libxml1 includes are under $prefix/include/gnome-xml
  Libxml2 includes are under $prefix/include/libxml2

Any $prefix/include/libxml would be a remain of an old libxml
or libxml2 installation and must be removed.
Then make sure that xml-config --cflags and/or xml2-config --cflags
points to the right directories.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]