You are not logged in.

#1 2019-04-08 07:01:52

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

[SOLVED] Need help compiling gnucash from source

I am trying to compile gnucash from source (I know that this might break the system and it's recommended to installed from repo. Gnucash in repo is just too old).

've installed cmake, cmake-data, ninja-build, gcc and g++.

GNU source directory: /downloads//gnucash-3.5
Installing it to: /tmp/gnucash
Build directory:  /downloads/gnu-build

The error says "A required package was not found". I am not sure which one is it.

toor@bunsenlabs:~/downloads/gnu-build$ cmake -D CMAKE_INSTALL_PREFIX=/tmp/gnucash /home/toor/downloads/gnucash-3.5/
-- Checking for module 'glib-2.0>=2.40'
--   
CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
  CMakeLists.txt:194 (gnc_pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/toor/downloads/gnucash-3.5/CMakeFiles/CMakeOutput.log".

Last edited by linux_user (2019-04-08 18:07:44)


"Blind faith to authority is the greatest enemy of truth."

Offline

#2 2019-04-08 07:08:10

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Need help compiling gnucash from source

See also "/home/toor/downloads/gnucash-3.5/CMakeFiles/CMakeOutput.log".

Anything there?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2019-04-08 07:21:52

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

damo wrote:
See also "/home/toor/downloads/gnucash-3.5/CMakeFiles/CMakeOutput.log".

Anything there?

Nothing to my eyes. Searched using Find tool for keywords 'package' too. The fact that the log doesn't have timestamp is even more frustrating. Here's the output -> https://pastebin.com/LYfAQr7n


"Blind faith to authority is the greatest enemy of truth."

Offline

#4 2019-04-08 08:42:45

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Need help compiling gnucash from source

^Which building instructions are you following? The official one?

Later on, I will try it, just for the academic purpose ... I used to be quite a good software 'make'-er, I wonder weather I still have this power  big_smile

Also, you can install the GnuCash from here ...

Last edited by iMBeCil (2019-04-08 08:43:58)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#5 2019-04-08 08:51:46

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: [SOLVED] Need help compiling gnucash from source

Do you have libglib2.0-dev installed?

https://packages.debian.org/stretch/libglib2.0-dev


I don't care what you do at home. Would you care to explain?

Offline

#6 2019-04-08 10:40:47

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

iMBeCil wrote:

^Which building instructions are you following? The official one?

Later on, I will try it, just for the academic purpose ... I used to be quite a good software 'make'-er, I wonder weather I still have this power  big_smile

The official ones in the downloaded source code- gnucash-3.5/README and gnucash-3.5/cmake/README_CMAKE.txt. They don't seems to be different from the ones online. Anyway, I'll go through them too. I just hope you still have your powers big_smile

iMBeCil wrote:

Also, you can install the GnuCash from here ...

I will take a look at installation instructions.

hhh wrote:

Do you have libglib2.0-dev installed?

https://packages.debian.org/stretch/libglib2.0-dev

No, I didn't have it. So I installed it from the repo. And again,

toor@bunsenlabs:~/downloads/gnu-build$ cmake -D CMAKE_INSTALL_PREFIX=/tmp/gnucash -G Ninja /home/toor/downloads/gnucash-3.5/
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.50.3
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.50.3
-- Checking for module 'gobject-2.0>=2.20'
--   Found gobject-2.0, version 2.50.3
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.50.3
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.50.3
-- Checking for module 'libxml-2.0>=2.7.0'
--   
CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
  CMakeLists.txt:200 (gnc_pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/toor/downloads/gnucash-3.5/CMakeFiles/CMakeOutput.log".
toor@bunsenlabs:~/downloads/gnu-build$ flatpak install flathub org.gnucash.GnuCash

Last edited by linux_user (2019-04-08 11:53:31)


"Blind faith to authority is the greatest enemy of truth."

Offline

#7 2019-04-08 12:17:02

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Need help compiling gnucash from source

OK, so I successfully compiled gnucash. However, it is so complicated that it is very difficult to see what is wrong ... In this respect I will describe what I have done:

- install all dependencies as described here, and especially follow all steps in "Setting up to Build GnuCash on Linux" (1.-4.); there is plenty of packages I have to install, I think more than 1GB (on exp BL lithium)
- skip step "apt-get build-dep gnucash", you don't need it
- git clone googletest (and googlemock) somewhere
- follow 'Build using CMake and Ninja'; instead of "cmake ..." example, use this one:

user@BLvbox:~/tmp/gnucash-3.5/build$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/.local \
  -DGMOCK_ROOT=/home/user/tmp/googletest/googlemock/ \ 
  -DGTEST_ROOT=/home/user/tmp/googletest/googletest/ ..
# '~/tmp/gnucash-3.5/build' is dir you created for build

(I hope I don't have to explain where I did untar of the gnucash archive, and where I git cloned googletest/googlemock ...) This will use googletest(?).

What is very important is the last argument to cmake, which seems to be wrong on the gnucash's web site; it must point to 'CMakeLists.txt' in '~/tmp/gnucash-3.5/' (and not in '~/tmp/gnucash-3.5/gnucash/').

NB1: This is buster based BL Lithium. I don't know if this makes difference. I'm willing to try this on stock BL Helium, but later tonight.
NB2: Also, I will perhaps have time to check installing via 'make' (instead of 'Ninja'), but also later tonight.

HTH

EDIT: Am I a powerful software 'make'-er, or not?  big_smile  big_smile So I have not one, but two powers: drink a lots of beer, and compile+make software. 8o  8o

Last edited by iMBeCil (2019-04-08 14:14:40)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#8 2019-04-08 13:46:10

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: [SOLVED] Need help compiling gnucash from source

iMBeCil wrote:

- install all dependencies as described here, and especially follow all steps in "Setting up to Build GnuCash on Linux" (1.-4.);

This is why OP's build is failing most likely. You can see, you installed libglib2-dev and the build proceeded further, but then choked on the next missing dev dependency...

https://packages.debian.org/stretch/libxml2-dev

@imbecil, you forgot to post the link...

https://wiki.gnucash.org/wiki/Building_On_Linux

@linux_user, so enable the deb-src repo in /etc/apt/sources.list...

deb-src https://deb.debian.org/debian stretch main non-free contrib

... and run...

sudo apt update && sudo apt-get build-dep gnucash

If you get error messages, post them, but things will be very messy if build-dep fails.

-------

imbecil wrote:

NB1: This is buster based BL Lithium. I don't know if this makes difference.

It often does because of the difference in gcc/libc6 versions. But if you're running buster/lithium, I'd just install gnucash from the repo, the version there is 3.4, that should be new enough and avoids all this hassle.

Maybe steve p. will see this thread and offer some insight, he's the guru on these issues.


I don't care what you do at home. Would you care to explain?

Offline

#9 2019-04-08 14:17:08

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Need help compiling gnucash from source

hhh wrote:

@imbecil, you forgot to post the link...

https://wiki.gnucash.org/wiki/Building_On_Linux

Indeed :8 Fixed (for the sake of completeness), thanx hhh.

hhh wrote:
imbecil wrote:

NB1: This is buster based BL Lithium. I don't know if this makes difference.

It often does because of the difference in gcc/libc6 versions. But if you're running buster/lithium, I'd just install gnucash from the repo, the version there is 3.4, that should be new enough and avoids all this hassle.

Oh, I know, but I did it directly for the sake of the linux_user ...


Postpone all your duties; if you die, you won't have to do them ..

Offline

#10 2019-04-08 14:26:37

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

Following "Setting up to Build GnuCash on Linux" (1.-4.), I am right now on the 4th step.

Just before the codes, it says, "In Ubuntu and derivates install from the repositories by running the following commands in a shell:"

I am not sure if I should follow those steps since I am using BL Debian.

I have activated deb-src in the sources.list and sudo apt update && sudo apt-get build-dep gnucash downlaoded about 70+MB of packages and installed them. Is that sufficient or do have have to follow the instructions in the page stated above?


"Blind faith to authority is the greatest enemy of truth."

Offline

#11 2019-04-08 14:28:41

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

iMBeCil wrote:

Oh, I know, but I did it directly for the sake of the linux_user ...

There is a lot of beer coming for you my friend. big_smile big_smile big_smile

hhh wrote:

It often does because of the difference in gcc/libc6 versions. But if you're running buster/lithium, I'd just install gnucash from the repo, the version there is 3.4, that should be new enough and avoids all this hassle.

I am using BL Helium. I know Lithium is just around the corner but I couldn't stop myself from trying this. And in all honestly, didn't thinkit to have this much work. Just a few commands as mentioned in the text file of their source code and it would work; or so I thought!

I am really wondering why didn't they they direct user to the website for more information rather than posting incomplete info. Kinda misleading to an extend I feel.

Last edited by linux_user (2019-04-08 14:35:03)


"Blind faith to authority is the greatest enemy of truth."

Offline

#12 2019-04-08 14:32:54

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Need help compiling gnucash from source

linux_user wrote:

Following "Setting up to Build GnuCash on Linux" (1.-4.), I am right now on the 4th step.

Just before the codes, it says, "In Ubuntu and derivates install from the repositories by running the following commands in a shell:"

I am not sure if I should follow those steps since I am using BL Debian.

I have activated deb-src in the sources.list and sudo apt update && sudo apt-get build-dep gnucash downlaoded about 70+MB of packages and installed them. Is that sufficient or do have have to follow the instructions in the page stated above?

As I said:

- skip step "apt-get build-dep gnucash", you don't need it

But, proceed as you wish, it should not hurt, I hope.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#13 2019-04-08 15:25:50

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

Installing dependencies as per the tutorial. Everything is fine until I executed this,

toor@bunsenlabs:~$ sudo apt-get install gtk+3.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libgtk3.0-cil-dev' for regex 'gtk+3.0'
Note, selecting 'libtopmenu-server-gtk3-0' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-0v5-dbg' for regex 'gtk+3.0'
Note, selecting 'python-wxgtk3.0-dbg' for regex 'gtk+3.0'
Note, selecting 'python-wxgtk3.0-dev' for regex 'gtk+3.0'
Note, selecting 'monodoc-gtk3.0-manual' for regex 'gtk+3.0'
Note, selecting 'libwxgtk-media3.0-gtk3-0v5' for regex 'gtk+3.0'
Note, selecting 'libgtk3.0-cil' for regex 'gtk+3.0'
Note, selecting 'python-wxgtk3.0' for regex 'gtk+3.0'
Note, selecting 'gir1.2-dbusmenu-gtk3-0.4' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-gtk3-0v5' for regex 'gtk+3.0'
Note, selecting 'libtopmenu-client-gtk3-0' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-0v5' for regex 'gtk+3.0'
Note, selecting 'monodoc-webkitgtk3.0-manual' for regex 'gtk+3.0'
Note, selecting 'libinfgtk3-0.6-0' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-gtk3-dev' for regex 'gtk+3.0'
Note, selecting 'libavahi-ui-gtk3-0' for regex 'gtk+3.0'
Note, selecting 'libwebkitgtk3.0-cil' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-dev' for regex 'gtk+3.0'
Note, selecting 'libwebkitgtk3.0-cil-dev' for regex 'gtk+3.0'
Note, selecting 'libcanberra-gtk3-0' for regex 'gtk+3.0'
Note, selecting 'python3-wxgtk3.0' for regex 'gtk+3.0'
Note, selecting 'libwxgtk-webview3.0-gtk3-0v5' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-0' for regex 'gtk+3.0'
Note, selecting 'libwxgtk3.0-0-dbg' for regex 'gtk+3.0'
Note, selecting 'python2.7-wxgtk3.0' for regex 'gtk+3.0'
Note, selecting 'libgwengui-gtk3-0' for regex 'gtk+3.0'
Note, selecting 'python-wxgtk3.0' instead of 'python2.7-wxgtk3.0'
libcanberra-gtk3-0 is already the newest version (0.30-3).
libcanberra-gtk3-0 set to manually installed.
python-wxgtk3.0 is already the newest version (3.0.2.0+dfsg-4).
python-wxgtk3.0 set to manually installed.
libwxgtk3.0-0v5 is already the newest version (3.0.2+dfsg-4).
libwxgtk3.0-0v5 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libwxgtk-media3.0-gtk3-0v5 : Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but 3.0.2+dfsg-4 is to be installed
 libwxgtk-webview3.0-gtk3-0v5 : Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but 3.0.2+dfsg-4 is to be installed
 libwxgtk3.0-gtk3-0v5 : Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg) but 3.0.2+dfsg-4 is to be installed
 libwxgtk3.0-gtk3-dev : Depends: wx3.0-headers (= 3.0.4+dfsg-4~bpo9+1) but 3.0.2+dfsg-4 is to be installed
                        Depends: libwxbase3.0-dev (= 3.0.4+dfsg-4~bpo9+1) but 3.0.2+dfsg-4 is to be installed
E: Unable to correct problems, you have held broken packages.

Tried,

toor@bunsenlabs:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-gst-plugins-base-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-secret-1 gir1.2-totem-plparser-1.0 gir1.2-webkit2-4.0 gnome-settings-daemon libenca0
  libexempi3 libgail-3-0 libgdiplus libgeocode-glib0 libgnome-autoar-0-0 libgnome-autoar-common libgtkglext1 libgweather-3-6 libgweather-common libiptcdata0
  libmono-accessibility4.0-cil libmono-data-tds4.0-cil libmono-posix4.0-cil libmono-system-core4.0-cil libmono-system-data4.0-cil
  libmono-system-drawing4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-numerics4.0-cil
  libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-transactions4.0-cil libmono-system-windows-forms4.0-cil
  libmono-webbrowser4.0-cil libpango1.0-0 libpangox-1.0-0 libquvi-0.9-0.9.3 libquvi-scripts-0.9 libstemmer0d libtotem-plparser-common libtotem-plparser18
  libtracker-sparql-1.0-0 linux-image-4.9.0-6-amd64 lua-json lua-lpeg nautilus nautilus-data python3-pil python3-pylast qml-module-qtgraphicaleffects
  qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-privatewidgets qml-module-qtquick-window2
  qml-module-qtquick2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
toor@bunsenlabs:~$ sudo aptitude install gtk+3.0
Couldn't find any package whose name or description matched "gtk+3.0"
Unable to apply some actions, aborting

Further added
``````````````````````
I ignored that error and continued installing the other packages.
Created a folder build inside gnucash source - gnucash-3.5/build/ and ran the code @iMBeCil tailor made for me (Thanks by the way)

toor@bunsenlabs:~/downloads/gnucash-3.5/build$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/.local \
>   -DGMOCK_ROOT=/usr/src/googletest/googlemock \ 
CMake Error: The source directory "/home/toor/downloads/gnucash-3.5/build/ " does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

The entire code wouldn't paste and the folder does exist. Anyway, I created another folder outside of the source, inside downloads/ and ran the same code,

toor@bunsenlabs:~/downloads/gnucash-build$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/.local \
>   -DGMOCK_ROOT=/usr/src/googletest/googlemock \ 
CMake Error: The source directory "/home/toor/downloads/gnucash-build/ " does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
toor@bunsenlabs:~/downloads/gnucash-build$   -DGTEST_ROOT=/usr/src/googletest/googletest ..
bash: -DGTEST_ROOT=/usr/src/googletest/googletest: No such file or directory

Same error. Therefore, I used the syntax in the official instruction.

toor@bunsenlabs:~/downloads/gnucash-build$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/.local /home/toor/downloads/gnucash-3.5/

It worked. So,

ninja
ninja install

Started gnucash using

/home/toor/.local/bin/gnucash

Took a few seconds and Voila! big_smile

Created a symlink,

toor@bunsenlabs:~$ ln -s /home/toor/.local/bin/gnucash ~/bin/gnucash

And now, I can launch through dmenu.

I am still quite curious as to why your tailor made syntax a) didn't run as one command (not sure what \ does) and b) threw that directory doesn't exist error. Would be nice if someone can shed some light.

This was my first ever compilation of a software. Hell of a compilation for me to be honest. Thank you all! I guess I owe you all an apology that I didn't check this wiki when that little piece of information inside the source code didn't work.  But again, I would still had questions about the wiki. big_smile

Indeed @iMBeCil, you are a powerful software 'make'-er (I get it now!). big_smile And cheers to you! Someday we all will be able to see your superpower in drinking beer too. smile

Last edited by linux_user (2019-04-08 18:11:27)


"Blind faith to authority is the greatest enemy of truth."

Offline

#14 2019-04-08 18:12:26

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: [SOLVED] Need help compiling gnucash from source

Cool.

Now why does apt want to remove a kernel and nautilus? Do you have a newer kernel installed as well? Did you install nautilus or was it brought in by another package?

Run apt update && apt upgrade and then run the following again and post the output but DON'T RUN THE AUTOREMOVAL...

sudo apt --purge autoremove

I don't care what you do at home. Would you care to explain?

Offline

#15 2019-04-08 18:50:27

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

hhh wrote:

Cool.

Now why does apt want to remove a kernel and nautilus? Do you have a newer kernel installed as well? Did you install nautilus or was it brought in by another package?

No, I haven't touched it from what I remember. But I have a newer kernal.
Kernel: Linux 4.9.0-8-amd64

I haven't installed Nautilus too, perhaps brought in by another package.

Run apt update && apt upgrade and then run the following again and post the output but DON'T RUN THE AUTOREMOVAL...

sudo apt --purge autoremove

Sure, coming up now...

Last edited by linux_user (2019-04-08 18:53:55)


"Blind faith to authority is the greatest enemy of truth."

Offline

#16 2019-04-08 18:57:36

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: [SOLVED] Need help compiling gnucash from source

It'll prompt you to continue... Y/n, type 'n' for no. You can also use the simulate switch, that will run the removal but won't actually remove anything...

sudo apt --purge autoremove -s

autoremove is not infallable, you need to read what's being removed and have some understanding of what could happen. For example, if the kernel listed for removal is the only one on your system, your system will be broken when you reboot.


I don't care what you do at home. Would you care to explain?

Offline

#17 2019-04-08 19:19:43

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] Need help compiling gnucash from source

hhh wrote:

autoremove is not infallable, you need to read what's being removed and have some understanding of what could happen. For example, if the kernel listed for removal is the only one on your system, your system will be broken when you reboot.

Yes, once it messed up my POL installation. I remember it. Have never used it ever since. big_smile
Here's the output you wanted after sudo apt update && sudo apt upgrade. 9 packages were upgraded.

toor@bunsenlabs:~$ sudo apt --purge autoremove -s
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gir1.2-gst-plugins-base-1.0* gir1.2-secret-1* gir1.2-totem-plparser-1.0* gnome-settings-daemon* gnucash-common* gnucash-docs* libalgorithm-c3-perl*
  libb-hooks-endofscope-perl* libclass-c3-perl* libclass-c3-xs-perl* libclass-data-inheritable-perl* libclass-method-modifiers-perl* libclass-singleton-perl*
  libcommon-sense-perl* libdata-optlist-perl* libdate-manip-perl* libdatetime-locale-perl* libdatetime-perl* libdatetime-timezone-perl* libdevel-caller-perl*
  libdevel-lexalias-perl* libdevel-stacktrace-perl* libenca0* libeval-closure-perl* libexception-class-perl* libexempi3* libfinance-quote-perl* libgail-3-0*
  libgdiplus* libgeocode-glib0* libgnome-autoar-0-0* libgnome-autoar-common* libgtkglext1* libgweather-3-6* libgweather-common* libhtml-tableextract-perl*
  libiptcdata0* libjson-perl* libjson-xs-perl* libmodule-implementation-perl* libmodule-runtime-perl* libmono-accessibility4.0-cil* libmono-data-tds4.0-cil*
  libmono-posix4.0-cil* libmono-system-core4.0-cil* libmono-system-data4.0-cil* libmono-system-drawing4.0-cil* libmono-system-enterpriseservices4.0-cil*
  libmono-system-numerics4.0-cil* libmono-system-runtime-serialization-formatters-soap4.0-cil* libmono-system-transactions4.0-cil*
  libmono-system-windows-forms4.0-cil* libmono-webbrowser4.0-cil* libmro-compat-perl* libnamespace-autoclean-perl* libnamespace-clean-perl*
  libpackage-stash-perl* libpackage-stash-xs-perl* libpadwalker-perl* libpango1.0-0* libpangox-1.0-0* libparams-classify-perl* libparams-util-perl*
  libparams-validationcompiler-perl* libquvi-0.9-0.9.3* libquvi-scripts-0.9* librole-tiny-perl* libspecio-perl* libstemmer0d* libsub-exporter-perl*
  libsub-exporter-progressive-perl* libsub-identify-perl* libsub-install-perl* libsub-name-perl* libtest-fatal-perl* libtotem-plparser-common*
  libtotem-plparser18* libtracker-sparql-1.0-0* libtry-tiny-perl* libtypes-serialiser-perl* libvariable-magic-perl* linux-image-4.9.0-6-amd64* lua-json*
  lua-lpeg* nautilus* nautilus-data* python3-pil* python3-pylast* qml-module-qtgraphicaleffects* qml-module-qtquick-controls* qml-module-qtquick-dialogs*
  qml-module-qtquick-layouts* qml-module-qtquick-privatewidgets* qml-module-qtquick-window2* qml-module-qtquick2*
0 upgraded, 0 newly installed, 95 to remove and 0 not upgraded.

Last edited by linux_user (2019-04-08 19:20:46)


"Blind faith to authority is the greatest enemy of truth."

Offline

#18 2019-04-08 19:40:49

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] Need help compiling gnucash from source

linux_user wrote:

I am still quite curious as to why your tailor made syntax a) didn't run as one command (not sure what \ does) and b) threw that directory doesn't exist error. Would be nice if someone can shed some light.

Actually, my 'tailor made' command was meant to be run as an one line command;I split it in several lines for easier reading. ('\' is supposed to continue the command bash command in new line.)

As for details why your version worked, it may have to do with the fact that you have used 'ninja' instead of 'make'. I should check it, but I have other stuff to do, and it seems you did want you wanted to do.

linux_user wrote:

Indeed @iMBeCil, you are a powerful software 'make'-er (I get it now!). big_smile And cheers to you! Someday we all will be able to see your superpower in drinking beer too. smile

Haha, you're welcome linux_user big_smile I'm sure once my other super power will be made public one day ... But, let me say that there are people who are even more experienced in this kind of stuff ... I mean compiling software form source smile

But, the main point is that the README files and instructions 'How to compile from source' are always a must-read when you want to compile a program. And one should follow those instructions.

Have fun  wink


Postpone all your duties; if you die, you won't have to do them ..

Offline

#19 2019-04-08 19:48:07

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED] Need help compiling gnucash from source

Repology will let you see what distros, including Debian-based ones, have packaged it yet: https://repology.org/project/gnucash/versions

As of today, it's just MX Linux, by yrs truly...

On Stretch, Gnucash won't build with the stock guile-2.0 and libgwenhywfar, so I had to backport and install (in pbuilder's local repository) guile-2.2 and libgwenhywfar from Buster first.

Libgwenhywfar and newer debhelpers are in stretch-backports now, but not guile-2.2, which is a pretty heavy build. I do have it here, though: https://build.opensuse.org/package/show … /guile-2.2

Maybe I can get GnuCash 3.5 to build on the OBS. 3.3 failed in the self-testing phase.

Edit: GnuCash 3.5 is now available in that OBS repo. If you learn how to use the Debian package build system, you can rebuild the packages yourself with just the orig.tar.xz and debian.tar.xz files much more easily than the above manual build-from-raw-source process.

Last edited by stevep (2019-04-09 00:31:25)

Offline

#20 2019-04-09 02:27:34

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: [SOLVED] Need help compiling gnucash from source

@linux, I'd copy paste that output and save it in a file, then go ahead and autoremove (assuming you know you have another kernel installed too).


I don't care what you do at home. Would you care to explain?

Offline

Board footer

Powered by FluxBB