Re: Building 2.6.19 on Ubuntu Xenial

2018-02-28 Thread Geert Janssens
Op woensdag 28 februari 2018 02:54:09 CET schreef Adrien Monteleone:
> 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.
> 
The --prefix should not be the path to your executable. What you create with 
your prefix is a directory structure like this:
/usr/local/bin/gnucash/bin (with executable gnucash and so on)
/usr/local/bin/gnucash/lib/
/usr/local/bin/gnucash/etc/
/usr/local/bin/gnucash/share/

Where you most likely would want something like this:
/usr/local/bin (with executable gnucash and so on)
/usr/local/lib/
/usr/local/etc/
/usr/local/share/

For the latter you should set the prefix to /usr/local.

We also generally recommend not to install in prefix /usr or /usr/local as 
both are treated special at runtime. In particular, if you install in /usr/
local, make sure there's not another gnucash version installed in /usr. 
Otherwise you will get unexpected results. For this reason we usually suggest 
to install into /opt/gnucash (for multi-user environments) or even simply in 
$HOME/gnucash (for single user environments).

The option --with-html-engine does nothing any more in the 2.6 series, so it 
can be dropped.

And while for you particular case this should be fine, we generally recommend 
not building directly into the source tree, but rather in a separate build 
directory. That helps solving many small annoyances one could otherwise 
encounter. The separate build directory is to be either a hidden directory in 
the source tree or any directory outside of it.
Personally I usually have something like this:
/
/

With this the commands would become 
sudo apt build-dep gnucash
sudo apt install libdbd-sqlite3
(get a copy of the sources in / before the next step)
cd /
./autogen.sh
cd /
//configure --prefix=/usr/local --enable-compile-warnings 
make
sudo make install


Regards,

Geert


___
gnucash-user mailing list
gnucash-user@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.

Re: Building 2.6.19 on Ubuntu Xenial

2018-02-28 Thread Adrien Monteleone


> On Feb 28, 2018, at 2:47 AM, Geert Janssens  
> wrote:
> 
> Op woensdag 28 februari 2018 02:54:09 CET schreef Adrien Monteleone:
>> 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.
>> 
> The --prefix should not be the path to your executable. What you create with 
> your prefix is a directory structure like this:
> /usr/local/bin/gnucash/bin (with executable gnucash and so on)
> /usr/local/bin/gnucash/lib/
> /usr/local/bin/gnucash/etc/
> /usr/local/bin/gnucash/share/
> 
> Where you most likely would want something like this:
> /usr/local/bin (with executable gnucash and so on)
> /usr/local/lib/
> /usr/local/etc/
> /usr/local/share/
> 
> For the latter you should set the prefix to /usr/local.

I went with the trailing /gnucash because all of the examples on the wiki page 
include it. (the Trusty instructions even specify /usr/bin/gnucash as an 
example) I see now though that there is a warning higher up the page not to use 
the distro location. (I think Ubuntu still leaves /usr/local alone, however, I 
think this will eventually change. It seems some distros are symlinking /usr to 
/usr/local)


> 
> We also generally recommend not to install in prefix /usr or /usr/local as 
> both are treated special at runtime. In particular, if you install in /usr/
> local, make sure there's not another gnucash version installed in /usr. 
> Otherwise you will get unexpected results. For this reason we usually suggest 
> to install into /opt/gnucash (for multi-user environments) or even simply in 
> $HOME/gnucash (for single user environments).

I always built in my $HOME for my own use and never otherwise used /usr or 
/usr/local. Certainly /opt will be the way to go.

> 
> The option --with-html-engine does nothing any more in the 2.6 series, so it 
> can be dropped.

I thought I had read that somewhere but when I saw it in the instructions and 
didn’t see any caveat...

> 
> And while for you particular case this should be fine, we generally recommend 
> not building directly into the source tree, but rather in a separate build 
> directory. That helps solving many small annoyances one could otherwise 
> encounter. The separate build directory is to be either a hidden directory in 
> the source tree or any directory outside of it.
> Personally I usually have something like this:
> /
> /

I’ll adopt this as a best practice from now on. Thanks.
> 
> With this the commands would become 
> sudo apt build-dep gnucash
> sudo apt install libdbd-sqlite3
> (get a copy of the sources in / before the next step)
> cd /
> ./autogen.sh
> cd /
> //configure --prefix=/usr/local --enable-compile-warnings 
> make
> sudo make install

I uninstalled and re-installed, and still unfortunately, the build is not 
registering the mime type properly and not creating a proper desktop file. (I’m 
having fits doing this manually as well, not sure why as I’m following the 
official Ubuntu guides.)

I tried the GetDeb package only to run into the same problems.(something is 
definitely wacky here)

I instead opted to install 2.6.12 from the Xenial repos for him and he’ll have 
to wait for an OS upgrade for a GnuCash upgrade. Maybe I’ll give a go at making 
a snap for 3.0. Everything seems to work properly with launcher and Dash access 
and the ability to double-click to open the file if he wants, so I’ll stop 
there.

Thanks for the help though.
> 
> 
> Regards,
> 
> Geert

___
gnucash-user mailing list
gnucash-user@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.

How to get summary journal entries

2018-02-28 Thread Stefan Riha
Hi,

I'm a beginner and I'd like to examine how sales and expenses change assets
and liabilities (a.k.a ."summary journal entry", see e.g. Accounting
workbook for dummies by J. Tracey, link to google books below).

I found that the cash flow report almost gets me there, but not quite. If I
choose the income accounts I'm interested in, it lists the affected assets,
but it doesn't show how much each income account is contributing
individually (if I understand correctly, the sum of selected income
accounts should then equal the difference between "Money In" and "Money
Out".)

Is there a way to get summary journals in gnucash?

If not, would it be easy to implement this in the existing cash flow
reports?

Thanks for your help!


https://books.google.com.au/books?id=ZeVcYteHJKcC&pg=PA105&lpg=PA105&dq=examining+how+sales+and+expenses+change+assets+and+liabilities&source=bl&ots=Em7-PL1WDz&sig=PWR07S58Bbj3tar5uYGQrkbzdGU&hl=en&sa=X&ved=0ahUKEwiC1Ymc3snZAhUKp5QKHRy2BNYQ6AEIKTAA#v=onepage&q=examining%20how%20sales%20and%20expenses%20change%20assets%20and%20liabilities&f=false
___
gnucash-user mailing list
gnucash-user@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.


upgrading GNUcash on Ubuntu

2018-02-28 Thread Steve Cohen
Been using gnucash for more than 6 months and I was wondering if there's
an upgrade.  I'm using Ubuntu 14.04.5 LTS and they only support gnucash
1:2.6.1-2.  The GNUcash website recommends going with what the
distribution provides, but I wonder if there are new features I'd be
interested in in the latest version.

Has anyone done the Gnucash upgrade this way?  Is there info anywhere
about doing it?  I'm technical enough to pull it off.  Is it worth it?
Are there release notes I might look at that would tell me whether I
even want to do it?

Thanks
___
gnucash-user mailing list
gnucash-user@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.


Re: How to get summary journal entries

2018-02-28 Thread Adrien Monteleone
Stefan,

Not really, on either count. There is no predefined report, even playing with 
account selection, that is going to get what you are looking for. It also is 
not easy to create custom reports.

The closest I could get was to choose only asset accounts for a cash flow 
report. That did tell me how much each revenue account contributed to those 
assets, and how much each expense took away from them, but the Income Statement 
gave me the exact same numbers. (as well they should)

But fret not.

I read over those pages you linked and honestly, they are quite pedantic. I 
really don’t see the point. Yes, the Income Statement DOES tell you how sales 
and expenses affected the financial position of the business, at least partly. 
So does a Statement of Cash Flows. The Balance Sheet tells you what that 
position is. A comparison of Balance Sheets will tell you how much certain 
positions changed.

All that chapter does is restate everything already found on the main financial 
reports. No new information is gleaned from doing so. No questions are answered.

Saying the business collected $25M in cash doesn’t tell me anything interesting 
or useful.

Did they end up (after outlays) with MORE or LESS cash than they started with?

What do they NEED the cash for? Are they planning an expansion? Remodel? New 
equipment? Paying dividends?

Can they meet their current liabilities or are they having to shuffle the bills 
and take out short-term (or worse - PAYROLL) loans to keep afloat?

Just saying that, “revenues resulted in collecting $25M in cash and an 
additional $1M in receivables” answers none of these interesting and very 
pertinent questions.

Now, did receivables go down? Are clients paying better than before? That’s an 
interesting cash-flow question that affects the financial health of the 
business.

As well, saying the business increased their inventory by $200K doesn’t by 
itself mean much. Perhaps they had too little and couldn’t realize their full 
sales potential. Or perhaps they are already overbought and they are chasing 
sales with goods. (that’s a losing proposition in case you didn’t know)

If they are buying too much inventory and cash is tight, that is the likely the 
biggest reason for their stress.

Looking at how much they bought, how much they sold, and how much they have 
left is important, but it has to be in the context of what their inventory 
level needs to be for their sales targets. Just regurgitating in a ’summary’ 
doesn’t serve any purpose other than to take up time and paper and ink.

I’ll digress, but I read that chapter to instruct you to simply rephrase 
selected parts of the main reports using more words and call it a ’summary’ as 
if something useful had been done.

I’d junk that book and opt for a real accounting text book. There are many 
excellent examples online, or you can buy used copies for half-price or less at 
any college bookstore.


Regards,
Adrien

> On Feb 28, 2018, at 5:24 PM, Stefan Riha  wrote:
> 
> Hi,
> 
> I'm a beginner and I'd like to examine how sales and expenses change assets
> and liabilities (a.k.a ."summary journal entry", see e.g. Accounting
> workbook for dummies by J. Tracey, link to google books below).
> 
> I found that the cash flow report almost gets me there, but not quite. If I
> choose the income accounts I'm interested in, it lists the affected assets,
> but it doesn't show how much each income account is contributing
> individually (if I understand correctly, the sum of selected income
> accounts should then equal the difference between "Money In" and "Money
> Out".)
> 
> Is there a way to get summary journals in gnucash?
> 
> If not, would it be easy to implement this in the existing cash flow
> reports?
> 
> Thanks for your help!
> 
> 
> https://books.google.com.au/books?id=ZeVcYteHJKcC&pg=PA105&lpg=PA105&dq=examining+how+sales+and+expenses+change+assets+and+liabilities&source=bl&ots=Em7-PL1WDz&sig=PWR07S58Bbj3tar5uYGQrkbzdGU&hl=en&sa=X&ved=0ahUKEwiC1Ymc3snZAhUKp5QKHRy2BNYQ6AEIKTAA#v=onepage&q=examining%20how%20sales%20and%20expenses%20change%20assets%20and%20liabilities&f=false
> ___
> gnucash-user mailing list
> gnucash-user@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.

___
gnucash-user mailing list
gnucash-user@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 usin

Re: Quick question regarding gnucash assembling

2018-02-28 Thread John Ralls


> On Feb 28, 2018, at 8:16 PM, just me mailto:d...@mail.ru>> 
> wrote:
> 
> Hi John,
> 
> may I ask you, maybe I am doing something wrong or it can be issue with
> cmake scripts, but my version is always linked against guile1.8
> regardless of any tried options...
> 
> I am under Arch Linux, up to date, it has guile package (2.2 version),
> guile2.0 (2.0 version), and there is a possibility to install guile1.8
> (1.8 version)
> 
> I tried to cmake with
> -D GUILD_EXECUTABLE=/usr/bin/guild -D GUILE_EXECUTABLE=/usr/bin/guile
> (for 2.2 version)
> -D GUILD_EXECUTABLE=/usr/bin/guild2.0 -D
> GUILE_EXECUTABLE=/usr/bin/guile2.0 (for 2.0) version
> also tried without any options
> 
> It compiles just fine, for any options set, both in the presence of
> guile1.8 and without it...
> 
> But when running it, not having guile1.8 installed, it dumps a core
> because of segfault. Stracing shows that it is looking libguile.so.17
> which is a part of guile1.8 package...
> 
> I was need it urgently, so I simply installed guile1.8, but I am
> feeling that it is wrong, it have to be linked against that user have
> installed...
> 
> So is it my mistake somehow, or assembly scripts issue? Could you
> advise please?

Andrei,

You may not. Please address all inquiries to the user list, 
gnucash-user@gnucash.org  or the developer 
list, gnucash-de...@gnucash.org . 

As it happens I’m not the expert on anything to do with Guile so it’s 
particularly misguided to ask me anything about it.

You need to tell us what version of GnuCash you’re building, the CMakeLists.txt 
have diverged rather a lot between maint and unstable/master.

Regards,
John Ralls
___
gnucash-user mailing list
gnucash-user@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.

Re: upgrading GNUcash on Ubuntu

2018-02-28 Thread Adrien Monteleone
Steve,

You can try adding the GetDeb repo. They have 2.6.12 for 14.04, which is the 
same version in the Xenial standard repo. So if you upgraded the OS to Xenial, 
that’s as far as you’d get upgrade wise with Gnucash. (thought GetDeb for 
Xenial backports 2.6.17) - see here: 
https://wiki.gnucash.org/wiki/Ubuntu#GnuCash_.40_GetDeb

You could also compile it yourself. The current version is 2.6.19. I did just 
successfully compile it, twice, but I had some issues with the Dash and Unity 
Launchers. You might have better luck. I used to build regularly on Lucid and 
Precise without incident so I suspect there was likely something wacky about my 
particular environment. (I was building a system for someone else and due to 
time constraints decided to stick with the Distro package, otherwise, I’d still 
be fiddling with it to make it work) Check out the wiki for build instructions: 
https://wiki.gnucash.org/wiki/Building

If you run into any snags, just ask, someone here will help out.
 
Regards,
Adrien

> On Feb 28, 2018, at 5:47 PM, Steve Cohen  wrote:
> 
> Been using gnucash for more than 6 months and I was wondering if there's
> an upgrade.  I'm using Ubuntu 14.04.5 LTS and they only support gnucash
> 1:2.6.1-2.  The GNUcash website recommends going with what the
> distribution provides, but I wonder if there are new features I'd be
> interested in in the latest version.
> 
> Has anyone done the Gnucash upgrade this way?  Is there info anywhere
> about doing it?  I'm technical enough to pull it off.  Is it worth it?
> Are there release notes I might look at that would tell me whether I
> even want to do it?
> 
> Thanks
> ___
> gnucash-user mailing list
> gnucash-user@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.

___
gnucash-user mailing list
gnucash-user@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.