Re: [GNC] 5.4 build on linux

2023-09-25 Thread David Cousens
Mike

The wiki is working from Australia. relevant page is
https://wiki.gnucash.org/wiki/Building_On_Linux. I built 5.4 on Linux Mint
Victoria on Tuesday with no problems.It is much easier and generally quicker
using cmake and ninja.

sudo apt-get install cmake
sudo apt-get install ninja

will install them. The following commands in a terminal opened at the unpacked
gnucash-5.4 directory will usually build it and install it for use by all users.
The cmake output will tell you if any dependencies are missing.

mkdir build
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local _DWITH_PYTHON=ON ../
ninja
sudo ninja install

David Cousens

On Mon, 2023-09-25 at 15:10 -0700, Mike Commissaris wrote:
> Downloaded the file from both Sourceforge and Git and when I tried to build
> I failed with:
>    make: *** No targets specified and no makefile found.  Stop.
> Thinking the build instructions may have changed I tried to look at the
> Wiki and it appears the
> Wiki is down.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 5.4 build on linux

2023-09-25 Thread Stephen M. Butler

Mike,

I'm running Ubuntu 23.04.  In my GnuCash folder I have a sub-folder 
called gnucash that is a git clone.  From that folder I do a git pull 
and git describe so I know what the latest is.


Then I run a script in the GnuCash folder called build-gnucash that is 
listed below.  That generates a folder called Build-gnucash_5.4-8 (so 
the 8th patch since 5.4).  It built clean.  So now I go into the old 
Build-gnucash-5.3-12 folder and do a sudo make uninstall.  Move to the 
Build-gnucash_5.4-8 folder and do a sudo make install. Upgrade completed.


After a few days in 5.4-8 I'll remove the 5.3-12 folder.  But it is 
there in case I need to fall back


Here is the script that sits in the GnuCash folder.

#!/bin/bash
#
#  build-gnucash
#
# NOte:  do a git pull followed by git checkout of version desired 
before starting script


cd $HOME/Projects/GnuCash/gnucash

GITVER=$(git describe)
MYVER=${GITVER%-*}
MYRPR=Build-gnucash_${MYVER}
echo $MYVER

cd ..

rm -rf $MYRPR  > /dev/null

mkdir $MYRPR

cd $MYRPR

cmake -DCMAKE_INSTALL_PREFIX=/usr/local  ../gnucash

make

echo  ##  sudo make install

--Steve

On 9/25/23 15:10, Mike Commissaris wrote:

Downloaded the file from both Sourceforge and Git and when I tried to build
I failed with:
make: *** No targets specified and no makefile found.  Stop.
Thinking the build instructions may have changed I tried to look at the
Wiki and it appears the
Wiki is down.


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] 5.4 build on linux

2023-09-25 Thread Mike Commissaris
Downloaded the file from both Sourceforge and Git and when I tried to build
I failed with:
   make: *** No targets specified and no makefile found.  Stop.
Thinking the build instructions may have changed I tried to look at the
Wiki and it appears the
Wiki is down.
-- 
Mike
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.