Thanks Steve,  I'll try the setup you used.  I was able to build 2.6.21 with my approach, but it doesn't use cmake.

I did notice the line with ice-9/boot... and the undefined variable, but had no idea what it was about.  Apparently it is common with scheme.

The path where the other .go files have been put is $HOME/build-32/lib/gnucash/scm/ccache/2.0/gnucash so it seems there is a valid place to put the core-utils.go file, but i'm really not sure.

I see how you did the build and will give it a try.  Mike


On 08/03/2018 11:41 AM, Stephen M. Butler wrote:

On 08/03/2018 11:12 AM, Michael via gnucash-user wrote:
Thanks for the reply David,

I am building in ~/build-32.  Extracted tar file is in
~/Downloads/Applications/gnucash-3.2.

Command (from build-32) is 'cmake
-DCMAKE_INSTALL_PREFIX=$HOME/build-32 -DWITH_AQBANKING=OFF
../Downloads/Applications/gnucash-3.2'. Then make (with '>& log.txt'
added).


Is this where you want the final installation to live?  I let mine
default to the usual system folders.  I also wonder if you want the
final install in the same folder to which cmake does the compile (which
would be the current working directory which you identified as
$HOME/build-32.

Based on the log it is having trouble with -- [ 30%] Generating
../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go
There is this interesting line -- ice-9/boot-9.scm:109:20: Undefined
variable: gnc-build-userdata-path

So if you go up two levels from $HOME/build-32 should take you to the
/home folder.  Do you have a lib directory there?

I have mine in a different folder ($HOME/Projects/GnuCash/gnucash-3.2
and I made a folder $HOME/Projects/GnuCash/mybuild
and then did these commands:

cd mybuild
cmake ../gnucash-3.2
make
sudo make install


So, I think it wants you to have an empty folder at the same level as 
$HOME/Downloads/Applications/gnucash-32 (say 
$HOME/Downloads/Applications/Build-GC-3.2) and be sitting in that folder when 
you issue 'cmake -DCMAKE_INSTALL_PREFIX=$HOME/build-32 -DWITH_AQBANKING=OFF 
../gnucash-3.2'
Then staying there issue the 'make >& log.txt'
then 'make install'
(sudo not needed as you are doing it in your own work space).

--Steve



Output of log.txt is attached.

I have built on a similar machine, so I believe you are right that
something in the over dependencies is wrong although I followed the
same instructions from the wiki.  Mike


On 08/03/2018 04:47 AM, David Cousens wrote:
Mike,

It may be possible that there is a dependency that cmake doesn't check
for that may be missing. There would normally be an error message in
the output somewhere just before the "recipe for target failed"
message. If when you run make you use
make >& log.txt
you can dump the make output to a logfile and search it with the text
editor (xed). The other alternative is to edit the preferences for the
terminal and make sure the limit scrolllback checkbox is not set. You
can copy terminal output by selecting it, right click and copy or use
CTRL-Shift-C.

If you can post the make output either directly (if not too long) or
use a pastebin if it is very long, we should be able to help sort the
problem. If you are using Nabble you can attach files or attach then to
the email.

It would also help if you post the commands you used to setup the build
directory and the cmake command you used as the cmake command syntax is
very sensitive to the relative positioning of the source and build
directories.

David Cousens

_______________________________________________
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.

Reply via email to