Results 1 to 4 of 4

Thread: How to install Gnucash 2.4

  1. #1
    Join Date
    Jun 2008
    Location
    Deerfield, Massachusetts
    Posts
    155

    Default How to install Gnucash 2.4

    Gnucash 2.4 has been released and I'd like to install it in my OpenSuSE 11.3 system. It isn't in any of the repositories that I have listed, although it might be in some repository I don't know about. If it's not in a repository, then I'll have to build it from source.

    I downloaded the source package and attempted to build it, starting with configure. I got as far as this:

    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
    The perl-DBI package is installed, so that's probably not what it's looking for.

    So what do I need to do to install Gnucash 2.4?

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,645

    Default Re: How to install Gnucash 2.4

    You probably need the perl-DBI dev package since it is looking for a header file dbi/dbi.h

  3. #3
    Join Date
    Jun 2008
    Location
    Deerfield, Massachusetts
    Posts
    155

    Default DBI support

    There doesn't seem to be a perl-DBI development package, or at least none that I can find. Since my post I've learned that there's a --disable-dbi option on configure that bypasses the error, though I don't know the consequences of using it. However, with that option plus adding a few RPMs needed to satisfy dependencies, I finally managed to create a usable version of gnucash.

  4. #4

    Default Re: DBI support

    Quote Originally Posted by pwabrahams View Post
    There doesn't seem to be a perl-DBI development package, or at least none that I can find. Since my post I've learned that there's a --disable-dbi option on configure that bypasses the error, though I don't know the consequences of using it. However, with that option plus adding a few RPMs needed to satisfy dependencies, I finally managed to create a usable version of gnucash.
    The consequence of using --enable-dbi is that you will able to use MySQL,sqlite3 and postgres sql to store your data instead of flat files that Gnucash uses now. If you do not want to store your data in some database and flat files are OK for you then I do not think it should be any problem.
    This is from the announcement section of Gnucash

    Major changes in the 2.4.0 release include;

    • In addition to the XML backend, Gnucash can now use a SQLite3, MySQL or PostgreSQL database to store the data. This is a new implementation using libdbi. It supports all features including the business features. In order to build with this, add --enable-dbi to the configure command. In addition to the libdbi-dev package for your distribution, you will also need the appropriate DBD (libdbi driver) package for sqlite3, mysql or postgresql.
    I was able to install libdbi-dev from this repo Index of /repositories/devel:/libraries:/c_c++/openSUSE_11.3
    --
    Vivek Bhat
    Linux User #496540
    Dell 620 S Desktop, 8GB, Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz, openSuSE Leap 42.1
    +Plasma 5, Kernel 4.1.20-11-default x86_64

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •