GnuCash Compile with MySql options (solved)

Discussions Regarding Software

Moderator: Moderators

GnuCash Compile with MySql options (solved)

Postby nobicycle » Wed Jun 13, 2012 10:46

Hello

I am trying to run GnuCash app-office/gnucash-2.4.10 with Mysql as its database. I tried emerge and a manual compile without success. This is what was done:

Code: Select all
su
equo install dev-db/libdbi # needed for gnucash mysql drivers
USE="--enable-dbi"  emerge gnucash


This failed, as judged by using the new set of books wizard ... at the end only XML is available as a Save target. I noticed the configure part of emerge used --disable-dbi .. it did not pickup on USE="--enable-dbi"

Then the manual compile.

Code: Select all
./configure   --enable-compile-warnings --enable-dbi
make
make install


Again, only XML was available as a Save target.

I would appreciate any suggestions.
Best wishes
Last edited by nobicycle on Tue Sep 11, 2012 4:27, edited 1 time in total.
nobicycle
Simple Hen
 
Posts: 60
Joined: Fri Nov 20, 2009 13:55

Re: GnuCash Compile with MySql options (Solved)

Postby nobicycle » Fri Jun 15, 2012 4:07

Not being a portage expert, I ran the portage GUI Porthole. From there the correct USE is visible:
USE="chipcard mysql quotes sqlite webkit" emerge --nospinner =app-office/gnucash-2.4.10

"dbi" is insufficient, mysql is required.
nobicycle
Simple Hen
 
Posts: 60
Joined: Fri Nov 20, 2009 13:55

Re: GnuCash Compile with MySql options

Postby wolfden » Fri Jun 15, 2012 6:41

you should of filed a bug so it can get fixed
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: GnuCash Compile with MySql options

Postby nobicycle » Tue Jun 19, 2012 11:40

Bug 3419 - GnuCash Compile Options
nobicycle
Simple Hen
 
Posts: 60
Joined: Fri Nov 20, 2009 13:55

Re: GnuCash Compile with MySql options

Postby svantoviit » Thu Jun 21, 2012 8:28

Maybe your emerge failed because there is no such useflag as enable-dbi.

Code: Select all
eix gnucash
[I] app-office/gnucash
     Available versions:  2.4.8 2.4.10 {{chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit}}
     Installed versions:  2.4.10(12:35:02 PM 02/26/2012)(cxx doc ofx python -chipcard -debug -hbci -mysql -postgres -quotes -sqlite -webkit)
     Homepage:            http://www.gnucash.org/
     Description:         A personal finance manager


I would try the mysql useflag instead :wink:

Edit: Now I can see, you already discovered it…
User avatar
svantoviit
Technological Hen
 
Posts: 385
Joined: Sun Feb 28, 2010 17:55
Location: Europe


Return to Software in General

Who is online

Users browsing this forum: No registered users and 1 guest