Compilation error on RH8.0

Klaus Dahlke klaus.dahlke@gmx.de
Mon, 4 Nov 2002 21:30:01 +0100


On Wed, 30 Oct 2002 12:58:29 -0800
Ian Clarke <ian@freenetproject.org> wrote:

> I am getting the following error while compiling Gnucash on Redhat 8.0 
>  with sql support:
>  
> > Making all in sql
> > make[4]: Entering directory 
> > `/usr/src/redhat/SOURCES/gnucash-1.6.8/src/engine/sql'
> > make[4]: *** No rule to make target `../libgncengine.la', needed by 
> > `libgnc_postgres.la'.  Stop.
> > make[4]: Leaving directory 
> > `/usr/src/redhat/SOURCES/gnucash-1.6.8/src/engine/sql'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory 
> > `/usr/src/redhat/SOURCES/gnucash-1.6.8/src/engine'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/src/redhat/SOURCES/gnucash-1.6.8/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/redhat/SOURCES/gnucash-1.6.8'
> > make: *** [all-recursive-am] Error 2
> 
> Any advice would be appreciated,
> 
> Ian.
> 

Ian,

please see my pstings from Aug, 25 this year. I guess it will also work for you:

I stil cannot manage to get gnucash-1.6.8 compiled in a staight forward
manner. For gnucash-1.6.6 everything is fine. I do a './configure
--prefix=/opt/gnome --enable-sql' and it runs through fine. Also during
compilation no errors. For gnucash-1.6.8 and './configure
--prefix=/opt/gnome --enable-sql' the compilation stops with the error
mentioned above. To by-pass this, I did a ./configure
--prefix=/opt/gnome', then 'make' and the compilation ended successful.
Then, I created new Makefiles by ./configure --prefix=/opt/gnome
--enable-sql' and compiled again. As 'libgncengine.la' is now present,
the compilation is successful and it seems, gnucash-1.6.8 seems to work.


Cheers,
Klaus