Install problem 1.7.6 - Unk Library

John Reynolds gnucash@reynj.fastmail.fm
Sun, 05 Jan 2003 20:26:23 -0500


On 06 Jan 2003 02:10:04 +1100, "Conrad Canterford"
<conrad@mail.watersprite.com.au> said:
> On Sun, 2003-01-05 at 15:24, John Reynolds wrote:
> > The new error is similar, and at the same place:
> > 
> > checking if guile needs our copy of (guile www)... yes
> > checking for gnome-config... /opt/gnome/bin/gnome-config
> > checking for xmlNewDoc in -lxml... no
> > configure: error: Could not link sample xml program
> > 
> > Now it does not complain about the missing lib, just that it can't link
> > to it. I ran ldconfig (after checking its usage). Still same error. Any
> > ideas on this one. Thank you all for your kindness.
> > John
> 
> The very first thing I'd check is that you installed the libxml-devel
> package and NOT the libxml2-devel package. Gnucash uses libxml 1.
> 
> If that isn't the problem, have a look at the config.log file in the top
> level of your source tree - at the bottom of that file you should see
> the actual compile/link that causes the error, and you can often find a
> more meaningful error there. Feel free to respond to this list with what
> you find if it isn't immediately obvious.
> 
> Conrad.
> -- 
> Conrad Canterford  (conrad@mail.watersprite.com.au)
> 

Conrad,

On closer examination of the log, it appears to me that the problem is
'confdefs.h'.

<snip>
configure:7095: parse error before numeric constant
configure: failed program was:
#line 7075 "configure"
#include "confdefs.h"
<snip>

The only problem is I don't know what to do about it. I'm guessing I
reinstall something, but is it the gcc header files or some other
file/lib?

Thanks,

John