Building problem on FreeBSD 8.1

John Ralls jralls at ceridwen.us
Fri Jan 28 10:27:22 EST 2011


On Jan 28, 2011, at 5:39 AM, Donald Allen wrote:

> On a FreeBSD 8.1, I've downloaded the 2.4 tarball. When I run 'configure', I
> get
> 
> checking for gzopen in -lz... yes
> configure: External QOF Disabled.  Using Internal QOF Code.
> checking dbi/dbi.h usability... no
> checking dbi/dbi.h presence... no
> checking for dbi/dbi.h... no
> configure: error: Unable to find dbi/dbi.h
> 
> But
> 
> dca at octavian:/usr/home/dca/Software/Gnucash/gnucash-2.4.0$ find /usr/local
> -name dbi.h -print
> /usr/local/include/dbi/dbi.h
> dca at octavian:/usr/home/dca/Software/Gnucash/gnucash-2.4.0$
> 
> I probably could fix this with a symlink in /usr/include, but isn't this
> what configure is for, to understand the configuration and generate the
> makefiles accordingly? The BSDs, unlike Linux, tend to put installed
> packages in /usr/local, so I'm guessing this would be a problem on OpenBSD
> and NetBSD as well. Perhaps I'm missing something here, so I thought I'd
> check with all of you before trying the symlink hack.

Is "-I/usr/local/include" in your $CFLAGS and/or $CPPFLAGS?

Regards,
John Ralls



More information about the gnucash-devel mailing list