Building 2.6.19 on Ubuntu Xenial

Adrien Monteleone adrien.monteleone at gmail.com
Tue Feb 27 23:37:07 EST 2018


It seems I spoke too soon.

While the build went fine and I can launch the app from CLI, I can’t seem to get a proper .desktop file to be recognized by Unity, or successfully ‘Add to Dash/Lock to Launcher’ after a CLI run. (any such launcher wants to lock as ‘Unsaved book’ and won’t launch anything if clicked - it just pulses)

Apparently, the build did not properly or fully register its mime type, so I can’t launch the app from clicking the saved book. (yes I checked for an xml mime file, which does exist, and I added application/x-gnucash to the /etc/mime.types file as well.) I also had to cp the icons to their appropriate locations, the build didn’t do this either.

I may have to just install the GetDeb version instead for time’s sake.

Regards,
Adrien

> On Feb 27, 2018, at 7:54 PM, Adrien Monteleone <adrien.monteleone at gmail.com> wrote:
> 
> Indeed, following a combination of the Trusty instructions and then part of the sequence for Autotools from the 2.8 instructions did the trick, without incident or missing dependencies. (I slightly modified the exact wiki commands because I wanted the sqlite3 backend, and AqBanking)
> 
> I guess I was prematurely unsure of the result.
> 
> Now just to make a custom launcher for Unity…
> 
> Thanks for the help!
> ----------
> 
> For posterity, I used the following command sequence:
> 
> sudo apt build-dep gnucash
> sudo apt install libdbd-sqlite3
> ./configure --prefix=/usr/local/bin/gnucash --enable-compile-warnings --with-html-engine=webkit
> make
> sudo make install
> 
> The app launched fine.
> 
> If anyone knows of any problems with this approach, please advise, otherwise, this is done.
> 
> Regards,
> Adrien
> 
>> On Feb 27, 2018, at 11:41 AM, Adrien Monteleone <adrien.monteleone at gmail.com> wrote:
>> 
>> Thanks Dave,
>> 
>> I forgot about the README.dependencies file. I’ll take a look.
>> 
>> I knew I was going to get some useful feedback from gcc and ./configure, I just didn’t know how messy it was going to be.
>> 
>> I appreciate the tips on prefix and paths. That explains why I had trouble with a recent build of 2.7 turning into a mess with an older 2.6 from the official repo still installed. Sometimes you find instructions that assume you know all the implications of a choice, I guess I didn’t.
>> 
>> Glad to know you successfully built 2.6.19 on 4.13.0-36 as that’s the same one I’m working with.
>> 
>> I’ll give it a go this afternoon.
>> 
>> Regards,
>> Adrien
>> 
>>> On Feb 27, 2018, at 12:05 AM, DaveC49 <davidcousens at bigpond.com> wrote:
>>> 
>>> Just an additional comment Adrien,
>>> 
>>> ./configure usually checks all the dependencies. First time I compiled
>>> gnucash from sources I just reran ./configure installing any packages it
>>> flagged as missing. i've just recompiled 2.6.19 on Linux Mint 18.3 (Ubuntu
>>> 16.04 derivative updated to Linux kernel version 4.13.0-36) without any
>>> hassles and it's working fine. 
>>> 
>>> David
>>> 
>>> 
>>> 
>>> -----
>>> David Cousens
>>> --
>>> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
>>> _______________________________________________
>>> gnucash-user mailing list
>>> gnucash-user at gnucash.org
>>> To update your subscription preferences or to unsubscribe:
>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>> -----
>>> Please remember to CC this list on all your replies.
>>> You can do this by using Reply-To-List or Reply-All.
>> 
> 



More information about the gnucash-user mailing list