Building problem on FreeBSD 8.1
Donald Allen
donaldcallen at gmail.com
Fri Jan 28 10:45:46 EST 2011
On Fri, Jan 28, 2011 at 10:27 AM, John Ralls <jralls at ceridwen.us> wrote:
>
> 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?
>
They weren't but setting those environment variables helps matters. Also
needed is LDFLAGS=/usr/local/lib (otherwise it complains about the gettext
package not being install, when it is). After doing that, configure
completes, apparently happy. But running make produces
dca at octavian:/usr/home/dca/Software/Gnucash/gnucash-2.4.0$ make
make all-recursive
Making all in .
rm -f make-gnucash-potfiles.tmp
sed < > make-gnucash-potfiles.tmp -e 's:@-SRCDIR-@:.:g' -e 's:@-PERL-@
:/usr/bin/perl:g'
Syntax error: redirection unexpected
*** Error code 2
Stop in /usr/home/dca/Software/Gnucash/gnucash-2.4.0.
*** Error code 1
Stop in /usr/home/dca/Software/Gnucash/gnucash-2.4.0.
*** Error code 1
Stop in /usr/home/dca/Software/Gnucash/gnucash-2.4.0.
So not quit there yet.
Thanks for your help, John.
/Don
>
> Regards,
> John Ralls
>
>
More information about the gnucash-devel
mailing list