Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Linux Builds #4154

Closed
whalley opened this issue Jan 31, 2022 · 110 comments
Closed

Latest Linux Builds #4154

whalley opened this issue Jan 31, 2022 · 110 comments
Labels
linux related to Linux platforms

Comments

@whalley
Copy link
Member

whalley commented Jan 31, 2022

Ok the SuSE Leap 15.2 version of mmex 1.5.12 stable is ready.
There are 2 issues when installing with
zypper in ./mmex-1.5.12-1.x86_64.rpm
:
a) the SuSE package system does not know about my self compiled wxWidgets 3.1.5
so it complains:
"Problem: nothing provides 'libwx_baseu-3.1.so.5()(64bit)' needed by the to be installed mmex-1.5.12-1.x86_64
Solution 1: do not install mmex-1.5.12-1.x86_64
Solution 2: break mmex-1.5.12-1.x86_64 by ignoring some of its dependencies"

I ignore this with '2' since I know that wxWidget 3.1.5 is there.

b) it complains about the package not being signed:
"mmex-1.5.12-1.x86_64.rpm:
Package is not signed!

mmex-1.5.12-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i"

I also ignore that.
Up to now I never had problems this way.

Originally posted by @PMaff in #3980 (comment)

@whalley whalley pinned this issue Jan 31, 2022
@whalley
Copy link
Member Author

whalley commented Jan 31, 2022

Please track release and discussion on latest Linux builds here

MMEX 1.5.12 SUSE Leap 15.2
MMEX 1.5.12 Ubuntu 18.04 Bionic

@PMaff
Copy link
Contributor

PMaff commented Feb 1, 2022

Forgot output of cmake when compiling the Ubuntu version MMEX 1.5.12 Ubuntu 18.04 Bionic :

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.12
-- Commit         : 41c490f2a (2022-01-30)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 4.15.0-166-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.22.0
-- GNU Make 4.1
-- ccache
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------

md5sum:
35eb69b6b8fead2c8799665c27764292 mmex_1.5.12-1~bionic_amd64.deb

@PMaff
Copy link
Contributor

PMaff commented Feb 1, 2022

cmake output for the OpenSuSE Leap 15.2 version MMEX 1.5.12 SUSE Leap 15.2 :

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.12
-- Commit         : 41c490f2a (2022-01-30)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.3.18-lp152.106-default
-- openSUSE 15.2
-- CMake 3.17.0
-- GNU Make 4.2.1
-- ccache 3.4.2
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.6
-- curl 7.66.0
-- gettext 0.19.8.1

md5sum:
2f2c15a614fa071cf3714aa38a0b9324 mmex-1.5.12-1-leap15.2.x86_64.rpm

@whalley whalley added the linux related to Linux platforms label Feb 2, 2022
@PMaff
Copy link
Contributor

PMaff commented Feb 9, 2022

@whalley: I uploaded
mmex_1.5.13-1~bionic_amd64.deb
to
https://onedrive.live.com/?authkey=%21AE%2DkxNeZZqW45a4&id=A0FB83D788D2D744%2167533&cid=A0FB83D788D2D744

md5sum : 61709ed18c4dd0a437ce0f785bf84e37 mmex_1.5.13-1~bionic_amd64.deb

@PMaff
Copy link
Contributor

PMaff commented Feb 9, 2022

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.13
-- Commit         : d019150be (2022-02-06)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 4.15.0-167-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.22.0
-- GNU Make 4.1
-- ccache 3.4.1
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------

@whalley
Copy link
Member Author

whalley commented Feb 10, 2022

@PMaff Have uploaded to the builds artifacts. Thanks.

@PMaff
Copy link
Contributor

PMaff commented Feb 10, 2022

I changed from OpenSuSE Leap 15.2 to Tumbleweed as Leap 15.3 has network problems.
In SuSE Tumbleweed I had a few problems with webkitgtk so it took a bit longer.
Now I also uploaded
d7c73e1c28af79260ec642e064696799 mmex-1.5.13-1.SuSETumbleweedx86_64.rpm
with:

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.13
-- Commit         : d019150be (2022-02-06)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.16.5-1-default
-- openSUSE 20220207
-- CMake 3.22.2
-- GNU Make 4.3
-- ccache 4.5.1
-- GNU 11.2.1
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.4.4
-- curl 7.81.0
-- gettext 0.21

@PMaff
Copy link
Contributor

PMaff commented Mar 23, 2022

Tried to compile

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14-Beta.1
-- Commit         : c181e2b0e (2022-03-13)
-- Branch         : master
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 4.15.0-171-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.10.2
-- GNU Make 4.1
-- ccache
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------

today and this failed.
See:
#4258

@PMaff
Copy link
Contributor

PMaff commented Mar 24, 2022

1.5.14-Beta.1 builds now on Ubuntu 18.04 .
A short test with
.../moneymanagerex/build$ ../_CPack_Packages/Linux/DEB/mmex-1.5.14-Beta.1-Linux/usr/bin/mmex
did not show any strange things but of course I did not test all functionality.

Edit April 3rd:
Suse Tumbleweed also compiles:

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14-Beta.1
-- Commit         : cc4ad5cc2 (2022-04-02)
-- Branch         : master
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.17.1-1-default
-- openSUSE 20220331
-- CMake 3.22.3
-- GNU Make 4.3
-- ccache
-- GNU 11.2.1
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.4.4
-- curl 7.82.0
-- gettext 0.21
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done

Tried moneymanagerex> ./_CPack_Packages/Linux/RPM/mmex-1.5.14-Beta.1-Linux/usr/bin/mmex
and the reports and diagrams are gone. :-(
See #4269

@PMaff
Copy link
Contributor

PMaff commented Apr 16, 2022

See
#4269 (comment)
for problems displaying reports and graphs with the Suse Tumbleweed version

Bear in mind, that the wxWidget 3.1.5 or wxWidget 3.1.6 stuff is not contained in the deb and rpm packages.
See also
https://github.com/moneymanagerex/moneymanagerex/blob/master/BUILD.md#3-compile-and-create-package

@PMaff
Copy link
Contributor

PMaff commented Apr 16, 2022

mmex_1.5.14-1~bionic_amd64.deb
with md5sum 39c6ccc2c8df069a07b8b92d69bedb51
has been uploaded to
https://onedrive.live.com/?authkey=%21AE%2DkxNeZZqW45a4&id=A0FB83D788D2D744%2167533&cid=A0FB83D788D2D744

@whalley

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 4.15.0-175-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.22.0
-- GNU Make 4.1
-- ccache
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done

Suse Tumbleweed version was compiled with wxWidget 3.1.6 and wxWidget 3.1.6 was compiled with
wxWidgets/build-release-gtk3> ../configure --disable-shared --enable-stl --enable-utf8only --enable-intl --enable-xlocale --enable-debug_gdb
because I had problems with another program needing wxWidget.
So the Suse Tumbleweed version has:
bb801446697aefd25c76d461ce60521c mmex-1.5.14-1.x86_64.rpm

and

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.17.1-1-default
-- openSUSE 20220408
-- CMake 3.23.0
-- GNU Make 4.3
-- ccache
-- GNU 11.2.1
-- wxWidgets 3.1.6
-- wxSQLite3 4.6.0
-- Lua 5.4.4
-- curl 7.82.0
-- gettext 0.21
-- ------------------ 8< -----------------

and "About":

Money Manager Ex
Version: 1.5.14 64-bit
• Aufbauend auf Apr 17 2022 00:06:04
• Datenbankversion: 7 • (aes128cbc)
• Git commit: 29d21c327 (2022-04-14)
MMEX verwendet folgene Unterstützungsprodukte:
• wxWidgets 3.1.6 (wxGTK 3.24)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.4.4
• lunasvg v2.0.1
• libcurl/7.82.0 OpenSSL/1.1.1n-fips zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.47.0 OpenLDAP/2.5.9
• gettext 0.21
• apexcharts.js
Genutztes Build:
• CMake 3.23.0
• GNU Make 4.3
• GCC 11.2.1 20220316 [revision 6a1150d1524aeda3381b2171712e1a6611d441d6] • openSUSE 20220408
Läuft auf:
• openSUSE Tumbleweed "n/a"
• Linux 5.17.1-1-default x86_64
• English (United Kingdom) (UTF-8)
• 0x0 0bit 96x96ppi


@whalley
Copy link
Member Author

whalley commented Apr 16, 2022

Added Linux builds https://moneymanagerex.org/docs/downloads/latest/

@PMaff
Copy link
Contributor

PMaff commented Apr 19, 2022

mmex 1.5.14 is compileable with wxWidget 3.1.7 - just for fun, no uploaded package:

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 4.15.0-175-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.10.2
-- GNU Make 4.1
-- ccache 3.4.1
-- GNU 7.5.0
-- wxWidgets 3.1.7
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1

and

Money Manager Ex
Version: 1.5.14 64-bit
• Build on Apr 19 2022 13:41:23
• Database version: 7 • (aes128cbc)
• Git commit: 29d21c327 (2022-04-14)
MMEX is using the following support products:
• wxWidgets 3.1.7 (wxGTK 3.22)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.3.3
• lunasvg v2.0.1
• libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
• gettext 0.19.8.1
• apexcharts.js
Build using:
• CMake 3.10.2
• GNU Make 4.1
• GCC 7.5.0 • Ubuntu 18.04 'bionic'
Running on:
• Ubuntu 18.04.6 LTS "bionic"
• Linux 4.15.0-175-generic x86_64
• (UTF-8)
• 1920x1080 24bit 96x96ppi

@whalley
Copy link
Member Author

whalley commented Apr 19, 2022

As 3.1.7 is not yet released and still being developed probably best to stick with 3.1.6 unless something is desperately needed in latest code :-)

@PMaff
Copy link
Contributor

PMaff commented Apr 19, 2022

As 3.1.7 is not yet released and still being developed probably best to stick with 3.1.6 unless something is desperately needed in latest code :-)

It was just a check for fun. ;-)

@PMaff
Copy link
Contributor

PMaff commented Apr 20, 2022

Important: if you configure wxWidget and if the configure output gives something like

checking for WEBKIT... configure: WARNING: webkit2gtk not found, falling back to webkitgtk
checking for WEBKIT... configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView

then wxWidget compile will not include webview.
You will also see that e.g. /usr/local/lib/libwx_gtk3u_webview-3.1.a is missing then.

Afterwards you will get compiler errors when compiling mmex like:

 1231 | void mmGeneralReportManager::OnNewWindow(wxWebViewEvent& evt)
      |                                          ^~~~~~~~~~~~~~
/home/[...]/moneymanagerex/src/general_report_manager.cpp:1231:42: error: ‘wxWebViewEvent’ was not declared in this scope; did you mean ‘wxDataViewEvent’?

It means that libwebkit2gtk-4.0-dev has to be installed from the repos before compiling wxWidget.

@PMaff
Copy link
Contributor

PMaff commented Apr 20, 2022

I was able to compile wxWidget 3.1.5 and mmex on Manjaro in a VM.

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.17.1-3-MANJARO
-- ManjaroLinux 21.2.6 'Qonos'
-- CMake 3.23.0
-- GNU Make 4.3
-- ccache 4.6
-- GNU 11.2.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- RapidJSON 1.1.0
-- Lua 5.2.4
-- curl 7.82.0
-- gettext 0.21
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done

From "About":

Money Manager Ex
Version: 1.5.14 64-bit
• Build on Apr 21 2022 01:26:06
• Database version: 7 • (aes128cbc)
• Git commit: 29d21c327 (2022-04-14)
MMEX is using the following support products:
• wxWidgets 3.1.5 (wxGTK 3.24)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.2.4
• lunasvg v2.0.1
• libcurl/7.82.0 OpenSSL/1.1.1n zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0
• gettext 0.21
• apexcharts.js
Build using:
• CMake 3.23.0
• GNU Make 4.3
• GCC 11.2.0 • ManjaroLinux 21.2.6 'Qonos'
Running on:
• Manjaro Linux "Qonos"
• Linux 5.17.1-3-MANJARO x86_64
• English (UTF-8)
• 1920x978 24bit 96x96ppi

The only difference to Ubuntu or Suse : at the end I did a simple "make install" which makes mmex visible in the Office menu just like in Ubuntu and Suse.
Tested a bit, graphs and reports are all there, looks fine.

So we have Ubuntu 18.04, Ubuntu 20.04, Suse Tumbleweed, ManjaroLinux 21.2.6 'Qonos' . :-)

@PMaff
Copy link
Contributor

PMaff commented Apr 22, 2022

I uploaded
mmex_1.5.14-1~focal_amd64.deb
70051661404a80d1e2063a0c4aad3da2 mmex_1.5.14-1~focal_amd64.deb
to
https://onedrive.live.com/?id=A0FB83D788D2D744%2167533&cid=A0FB83D788D2D744&authkey=%21AE%2DkxNeZZqW45a4
@whalley
So that the deb for Ubuntu 20.04 is there despite the ongoing discussion here:
#2472 (comment)

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.4.0-109-generic
-- Ubuntu 20.04 'focal'
-- CMake 3.16.3
-- GNU Make 4.2.1
-- ccache
-- GNU 9.4.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- RapidJSON 1.1.0
-- Lua 5.3.3
-- curl 7.68.0
-- gettext 0.19.8.1
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done

From "About":

Money Manager Ex
Version: 1.5.14 64-bit
• Aufbauend auf Apr 20 2022 14:15:45
• Datenbankversion: 7 • (aes128cbc)
• Git commit: 29d21c327 (2022-04-14)
MMEX verwendet folgene Unterstützungsprodukte:
• wxWidgets 3.1.5 (wxGTK 3.24)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.3.3
• lunasvg v2.0.1
• libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
• gettext 0.19.8.1
• apexcharts.js
Genutztes Build:
• CMake 3.16.3
• GNU Make 4.2.1
• GCC 9.4.0 • Ubuntu 20.04 'focal'
Läuft auf:
• Ubuntu 20.04.4 LTS "focal"
• Linux 5.4.0-109-generic x86_64
• English (U.S.) (UTF-8)
• 0x0 0bit 96x96ppi

@PMaff
Copy link
Contributor

PMaff commented Apr 22, 2022

@whalley I also uploaded
0843d697419b112e1342dbdf727cc5af mmex_1.5.14-1~jammy_amd64.deb

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.14
-- Commit         : 29d21c327 (2022-04-14)
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : Release
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.15.0-25-generic
-- Ubuntu 22.04 'jammy'
-- CMake 3.22.1
-- GNU Make 4.3
-- ccache 4.5.1
-- GNU 11.2.0
-- wxWidgets 3.1.6
-- wxSQLite3 4.6.0
-- RapidJSON 1.1.0
-- Lua 5.3.6
-- curl 7.81.0
-- gettext 0.21
-- ------------------ 8< -----------------
-- Configuring done
-- Generating done

From "About":

Money Manager Ex
Version: 1.5.14 64-bit
• Build on Apr 22 2022 16:01:08
• Database version: 7 • (aes128cbc)
• Git commit: 29d21c327 (2022-04-14)
MMEX is using the following support products:
• wxWidgets 3.1.6 (wxGTK 3.24)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.3.6
• lunasvg v2.0.1
• libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.11
• gettext 0.21
• apexcharts.js
Build using:
• CMake 3.22.1
• GNU Make 4.3
• GCC 11.2.0 • Ubuntu 22.04 'jammy'
Running on:
• Ubuntu 22.04 LTS "jammy"
• Linux 5.15.0-25-generic x86_64
• English (United States) (UTF-8)
• 0x0 0bit 96x96ppi

@PMaff
Copy link
Contributor

PMaff commented Apr 22, 2022

If there is some error when installing the deb files for Ubuntu:

The following packages have unmet dependencies:
 mmex : Depends: wx3.1-i18n but it is not installable
E: Unable to correct problems, you have held broken packages.

there is an ongoing discussion here:
#2472 (comment)

This "Internationalization (I18N)"- file is missing in wxWidget and needed by mmex.

For the time being to resolve this problem:
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
and then:
sudo apt-add-repository 'deb http://repos.codelite.org/wx3.1.X/ubuntu/ artful universe'
X being 5 for wxWidget 3.1.5 or
6 for wxWidget 3.1.6

and afterwards:
sudo apt-get install wx3.1-i18n

Similar for errors with wx3.0-i18n.
Afterwards the installation of mmex should work.

@thomasboehm
Copy link

thomasboehm commented Apr 23, 2022

I had to install liblua5.3-0 additionally on impish for it to work.

Edit: When I start mmex I get an almost empty popup with an exclamation mark and an ok button. After klicking ok everything seems to work. When I disable the update check in the settings the popup doesn't appear anymore at the next start.

@PMaff
Copy link
Contributor

PMaff commented Apr 25, 2022

@thomasboehm : does this popup also appear if you have internet connection?

@PMaff
Copy link
Contributor

PMaff commented Sep 1, 2022

Yes, it's building wxWidgets now ....

Is the SUSE mmex build, same a ubuntu ?

cmake -DwxWidgets_CONFIG_EXECUTABLE=/wxWidgets/build-linux/wx-config -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target package

I am doing the Suse build always with
cmake .. in the build dir
and
cmake --build .. --target package
also in the build dir.
As in the Linux description.
The pointer to the wxWidget stuff in this case is additional but since we do no "make install" for wxWidget this is
obvious.

@PMaff
Copy link
Contributor

PMaff commented Sep 1, 2022

OK, it builds fine but the resulting *.rpm is no labelled as SUSE. Much be something funny with CMakeLists... Will need to investigate.

That happens also in my case.
I just rename it but of course it should be in the CMakeLists.
Btw. the build for Suse Leap 15.4 should be the same just with another docker image for Suse Leap 15.4 .
Will you try that @whalley ?

@PMaff
Copy link
Contributor

PMaff commented Sep 1, 2022

This CircleCI stuff is nice since we are now able to build mmex for all Suse releases and all Ubuntu releases and similar build processs by just using the correct docker image.
For others it is probably just a question of the names of the prerequisites:
e.g. libgtk-3-dev on Ubuntu and
gtk3-devel for Suse.
:-)

@PMaff
Copy link
Contributor

PMaff commented Sep 10, 2022

@whalley is it possible to install extra repositories with the CircleCI scripts?
I guess it is possible but maybe you know better?

I am experimenting with CentOS Stream 8 + wxWidget + mmex, but there you need to enable some extra repositories
for getting certain libraries e.g. libedit-devel :
https://www.linuxcapable.com/enable-powertools-repository-on-centos-8-stream/

The funny thing is that this opens up a cross repository connection
CentOS Stream 8 <-> https://dl.fedoraproject.org/pub/epel

@whalley
Copy link
Member Author

whalley commented Sep 10, 2022

We can install anything we want in the docker image that is used to build. Just need to create a Dockerfile to build the image with all the repos needed.

@PMaff
Copy link
Contributor

PMaff commented Sep 10, 2022

Finally I got all to work under CentOS Stream 8:
wxWidget 3.2.0 and mmex 1.5.20, but the rpm-package is not generated, instead i get:

-rwxrwxrwx. 1 pmaff pmaff 13352470 Sep 10 20:22 mmex-1.5.20-Linux.sh
-rw-rw-r--. 1 pmaff pmaff 13346609 Sep 10 20:22 mmex-1.5.20-Linux.tar.gz
-rw-rw-r--. 1 pmaff pmaff 18858761 Sep 10 20:22 mmex-1.5.20-Linux.tar.Z

running mmex-1.5.20-Linux.sh unpacks:

[pmaff@localhost unpack]$ ll */*/
mmex-1.5.20-Linux/bin/:
total 25868
-rwxr-xr-x. 1 pmaff pmaff 26486040 Sep 10 20:22 mmex

mmex-1.5.20-Linux/share/:
total 4
drwxrwxr-x.  2 pmaff pmaff   26 Sep 10 20:22 applications
drwxrwxr-x.  3 pmaff pmaff   18 Sep 10 20:22 doc
drwxrwxr-x.  3 pmaff pmaff   21 Sep 10 20:22 icons
drwxrwxr-x. 35 pmaff pmaff 4096 Sep 10 20:22 mmex

then:

cp -a mmex-1.5.20-Linux ~/bin/
[pmaff@localhost unpack]$ ln -s ~/bin/mmex-1.5.20-Linux/bin/mmex  ~/bin/mmex

makes a running mmex with some output to terminal window.
Not perfect but usable.
The rpm-part seems to be missing when compiling mmex.

About:

Money Manager Ex
Version: 1.5.20 64-bit
• Build on Sep 10 2022 20:14:06
• Database version: 7 • (aes128cbc)
• Git commit: 3e27ceb7f (2022-09-02)
MMEX is using the following support products:
• wxWidgets 3.2.0 (wxGTK 3.22)
• wxSQLite3 4.6.0 (SQLite 3.31.1)
• RapidJSON 1.1.0
• Lua 5.3.4
• lunasvg v2.3.1
• libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.6/openssl/zlib nghttp2/1.33.0
• gettext 0.19.8.1
• apexcharts.js
Build using:
• CMake 3.20.2
• GNU Make 4.2.1
• GCC 8.5.0 20210514 (Red Hat 8.5.0-15) • CentOSStream.8
Running on:
• CentOS Stream release 8 "n/a"
• Linux 4.18.0-408.el8.x86_64 x86_64
• English (United Kingdom) (UTF-8)
• 0x0 0bit 96x96ppi

@PMaff
Copy link
Contributor

PMaff commented Sep 10, 2022

I found the error:
when doing cmake . it says

CMake Warning at CMakeLists.txt:726 (message):
  Unknown Linux distribution - generating generic package.

So

    elseif(LINUX_DISTRO STREQUAL "CentOS")
        set(CPACK_GENERATOR RPM)
        string(REGEX REPLACE "\\..*" "" CPACK_RPM_PACKAGE_RELEASE_DIST ${LINUX_DISTRO_REL})
        set(CPACK_RPM_PACKAGE_RELEASE "${LINUX_DISTRO_STRING}")

in CMakeLists.txt does not work for CentOS Stream 8.

[pmaff@localhost moneymanagerex]$ lsb_release -is
CentOSStream

so I changed that in CMakeLists.txt to

    elseif(LINUX_DISTRO STREQUAL "CentOS")
        set(CPACK_GENERATOR RPM)
        string(REGEX REPLACE "\\..*" "" CPACK_RPM_PACKAGE_RELEASE_DIST ${LINUX_DISTRO_REL})
        set(CPACK_RPM_PACKAGE_RELEASE "${LINUX_DISTRO_STRING}")
    elseif(LINUX_DISTRO STREQUAL "CentOSStream")
        set(CPACK_GENERATOR RPM)
        string(REGEX REPLACE "\\..*" "" CPACK_RPM_PACKAGE_RELEASE_DIST ${LINUX_DISTRO_REL})
        set(CPACK_RPM_PACKAGE_RELEASE "${LINUX_DISTRO_STRING}")

Now it builds

[100%] Linking CXX executable mmex
[100%] Built target mmex
Run CPack packaging tool...
CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: MMEX
CPack: - Install project: MMEX []
CPack: Create package
CPackRPM: Will use GENERATED spec file: /home/pmaff/Technical/mmex/moneymanagerex/_CPack_Packages/Linux/RPM/SPECS/mmex.spec
CPack: - package: /home/pmaff/Technical/mmex/moneymanagerex/mmex-1.5.20-CentOSStream.8.el8.x86_64.rpm generated.

and finally:

[root@localhost build]# yum localinstall ../mmex-1.5.20-CentOSStream.8.el8.x86_64.rpm
Last metadata expiration check: 1:44:43 ago on Sat 10 Sep 2022 19:54:43 CEST.
Dependencies resolved.
================================================================================
 Package   Arch        Version                          Repository         Size
================================================================================
Installing:
 mmex      x86_64      1.5.20-CentOSStream.8.el8        @commandline       10 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 10 M
Installed size: 33 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: mmex-1.5.20-CentOSStream.8.el8.x86_64                  1/1 
  Preparing        :                                                        1/1 
  Running scriptlet: mmex-1.5.20-CentOSStream.8.el8.x86_64                  1/1 
  Installing       : mmex-1.5.20-CentOSStream.8.el8.x86_64                  1/1 
  Running scriptlet: mmex-1.5.20-CentOSStream.8.el8.x86_64                  1/1 
  Verifying        : mmex-1.5.20-CentOSStream.8.el8.x86_64                  1/1 

Installed:
  mmex-1.5.20-CentOSStream.8.el8.x86_64                                         

Complete!

Short test shows, that all is ok.
It has to be said, that this is for X11 and NOT for Wayland.
Wayland seems to be default for CentOS Stream 8 also, I had to switch to X11 at the login page.

So we have a mmex 1.5.20 stable for CentOS Stream 8, I uploaded that there:
https://onedrive.live.com/?id=A0FB83D788D2D744%2167533&cid=A0FB83D788D2D744&authkey=%21AE%2DkxNeZZqW45a4

b15c64240669a1a30de1b28465ed5fea mmex-1.5.20-CentOSStream.8.el8.x86_64.rpm

@PMaff
Copy link
Contributor

PMaff commented Sep 10, 2022

Fun fact:
See https://www.stackscale.com/blog/most-powerful-supercomputers-linux/
If you search:
"HPE Cray OS:
"The HPE Cray Operating System is based on SUSE Linux Enterprise Server (SLES) version 15. ""
so as far as I know (afaik) the Suse Leap 15.4 versions should be binary compatible to HPE Cray OS
and RHEL should be binary compatible to CentOS Stream 8, which means mmex should be able to run
on 8 out of 10 supercomputers. ;-)

Sunway RaiseOS 2.0.5 and Kylin Linux for the Chinese supercomputers missing only. :-)

@PMaff
Copy link
Contributor

PMaff commented Sep 11, 2022

@whalley can you put
b15c64240669a1a30de1b28465ed5fea mmex-1.5.20-CentOSStream.8.el8.x86_64.rpm
from here:
https://onedrive.live.com/?id=A0FB83D788D2D744%2167533&cid=A0FB83D788D2D744&authkey=%21AE%2DkxNeZZqW45a4
to the latest build?
I will try to setup the docker commands in the following days.

@whalley
Copy link
Member Author

whalley commented Sep 11, 2022

Done.

@PMaff
Copy link
Contributor

PMaff commented Sep 14, 2022

Before doing the CentOS CircleCI stuff I tried to do the 1.5.20 tar.gz file.
There I get errors when doing cmake . in 1_5_20fromtgz/moneymanagerex-1.5.20 :

CMake Error at CMakeLists.txt:408 (add_subdirectory):
  The source directory

    /home/pmaff/Technical/PC/FinanceMoney/MMEX/1_5_20fromtgz/moneymanagerex-1.5.20/3rd/fmt

  does not contain a CMakeLists.txt file.

...

CMake Error at 3rd/CMakeLists.txt:34 (add_subdirectory):
  add_subdirectory given source "lunasvg/include" which is not an existing
  directory.


CMake Error at 3rd/CMakeLists.txt:35 (add_subdirectory):
  add_subdirectory given source "lunasvg/source" which is not an existing
  directory.


CMake Error at 3rd/CMakeLists.txt:36 (add_subdirectory):
  add_subdirectory given source "lunasvg/3rdparty/software" which is not an
  existing directory.


CMake Error at 3rd/CMakeLists.txt:37 (add_subdirectory):
  add_subdirectory given source "lunasvg/3rdparty/plutovg" which is not an
  existing directory.

...

CMake Error at 3rd/CMakeLists.txt:172 (file):
  file STRINGS file
  "/home/pmaff/Technical/PC/FinanceMoney/MMEX/1_5_20fromtgz/moneymanagerex-1.5.20/3rd/wxsqlite3/include/wx/wxsqlite3_version.h"
  cannot be read.

...

-- MMEX configuration summary
-- ==========================
-- Version        : 1.5.20
-- Host system    : Linux x86_64
-- Target system  : Linux x86_64
-- Build types    : 
-- Generator      : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption  : ON
-- 
-- Versions
-- --========--
-- Linux 5.19.7-1-default
-- openSUSE.20220906
-- openSUSE.Tumbleweed
-- CMake 3.24.1
-- GNU Make 4.3
-- ccache 4.6.1
-- GNU 12.2.1
-- wxWidgets 3.2.0
-- wxSQLite3 4.8.1
-- Lua 5.4.4
-- curl 7.85.0
-- gettext 0.21
-- ------------------ 8< -----------------
-- Configuring incomplete, errors occurred!

I got the moneymanagerex-1.5.20.tar.gz from here:
https://github.com/moneymanagerex/moneymanagerex/releases/tag/v1.5.20

Is there a different way of compiling from sources for the tar.gz ?
Do we have to change the description for Linux?
Imho (in my humble opinion) it would be better to have the same way for compiling from Github sources and
tar.gz .

Edit: Opened a bug report:
"Building from tar.gz fails"
#5078

@PMaff
Copy link
Contributor

PMaff commented Sep 14, 2022

We have an outdated Linux install here:
https://github.com/moneymanagerex/moneymanagerex/blob/master/INSTALL.md#linux
anyway.

Did anybody try Slackware which is named there?

@PMaff PMaff mentioned this issue Sep 14, 2022
12 tasks
@PMaff
Copy link
Contributor

PMaff commented Sep 14, 2022

@whalley for the CircleCI version of mmex 1.5.20 for Ubuntu 20.04 : which configure line do you use for wxWidget 3.1.7 ?
I am getting multiple assertions again in the webview example of wxWidget 3.1.7 :

../src/gtk/bitmap.cpp(970): assert ""IsOk()"" failed in GetWidth(): invalid bitmap
../src/gtk/bitmap.cpp(1032): assert ""m_refData"" failed in GetScaleFactor(): invalid bitmap
../src/gtk/bitmap.cpp(963): assert ""IsOk()"" failed in GetHeight(): invalid bitmap
../src/gtk/bitmap.cpp(1032): assert ""m_refData"" failed in GetScaleFactor(): invalid bitmap
../src/gtk/bitmap.cpp(970): assert ""IsOk()"" failed in GetWidth(): invalid bitmap

and again in mmex 1.5.20 when opening an new dialog.
This does not happen with the version from here:
https://moneymanagerex.org/docs/downloads/latest/
so I guess my wxWidget compile is wrong.
I use the configure that I gave to you for Suse Tumbleweed.

It is all ok when using wxWidget 3.2.0 on X11.

@whalley
Copy link
Member Author

whalley commented Sep 15, 2022

@ovari
Copy link
Contributor

ovari commented Oct 21, 2022

#1806

@ovari
Copy link
Contributor

ovari commented Oct 19, 2023

@whalley should this issue be unpinned?

Latest Linux Builds are shown at Download.

Additionally, it seems that the Flathub will be the sole source from GNU/Linux distributions.
#6246

Thank you

@whalley
Copy link
Member Author

whalley commented Oct 19, 2023

Agreed.

@whalley whalley unpinned this issue Oct 19, 2023
@PMaff
Copy link
Contributor

PMaff commented Oct 22, 2023

@whalley do you still have your OneDrive share?
I am planning to compile version 1.5.21 (as the last one working together with Android) for Suse Leap 15.4 and 1.6.4 for Suse Leap 15.4, so that you can add these to
the corresponding pages here: https://moneymanagerex.org/docs/downloads/compatibility/
Afterwards the same for Suse Leap 15.5 and CentOS.

@whalley
Copy link
Member Author

whalley commented Oct 23, 2023

The plan is to only 'officially' host Linux Flatpak builds in the future #6246 to avoid the complexities of multiple Linux distributions. The compatibility pages and download pages will be updated to reflect this. Users are free of course to make their own builds.

Perhaps we should look to build a v1.5.21 Flatpak also....

@ovari
Copy link
Contributor

ovari commented Oct 23, 2023

I am planning to compile version 1.5.21 (as the last one working together with Android)

Perhaps we should look to build a v1.5.21 Flatpak also....

@n-stein is improving the Android version to make it compatible with the current Desktop versions a possibility? Thank you

@PMaff
Copy link
Contributor

PMaff commented Oct 24, 2023

I am planning to compile version 1.5.21 (as the last one working together with Android)

Perhaps we should look to build a v1.5.21 Flatpak also....

@n-stein is improving the Android version to make it compatible with the current Desktop versions a possibility? Thank you

That would be great, because then we would not need the 1.5.21 for the other Distributions as a (possibly longer)
temporary workaround.

@PMaff
Copy link
Contributor

PMaff commented Oct 24, 2023

The plan is to only 'officially' host Linux Flatpak builds in the future #6246 to avoid the complexities of multiple Linux distributions. The compatibility pages and download pages will be updated to reflect this. Users are free of course to make their own builds.

Perhaps we should look to build a v1.5.21 Flatpak also....

Sorry that I did not come back for a long time, too much work on my normal work place.
Hopefully that will change.

I read the thread about flatpak
#6246
after my above post.
I do still share the various security concerns about flatpak, which are ongoing throughout the network.

What was the main problem for keeping the normal CI way with distributions: wxWidget?
As far as I remember the wxWidget 3.2.0 was a problem with Wayland.

Also currently
"Cross-platform, available for desktop (GNU/Linux, macOS, Windows) and mobile (Android) operating systems"
https://github.com/moneymanagerex/moneymanagerex/blob/master/README.md
is not correct for Android, correct? We are just talking about Android, do we?

@PMaff
Copy link
Contributor

PMaff commented Oct 24, 2023

The plan is to only 'officially' host Linux Flatpak builds in the future #6246 to avoid the complexities of multiple Linux distributions. The compatibility pages and download pages will be updated to reflect this. Users are free of course to make their own builds.

Perhaps we should look to build a v1.5.21 Flatpak also....

As long as I can build my Linux executables from the source that would be fine for me also.
;-)

Question is, if others share the security concerns about flatpak and rather want some rpm, deb or alike.

@whalley
Copy link
Member Author

whalley commented Oct 24, 2023

Question is, if others share the security concerns about flatpak and rather want some rpm, deb or alike.

I guess somebody could look to setup a site where users can host builds they have created for others to use...

@PMaff
Copy link
Contributor

PMaff commented Oct 24, 2023

What were the problems with distributions in CI : libs like wxWidget?
Others?

Or even space on CI?

@whalley
Copy link
Member Author

whalley commented Oct 24, 2023

What were the problems with distributions in CI : libs like wxWidget? Others?

They were falling behind in terms of maintenance, e.g. wxWidgets used was 3.1.7 whilst the current version we use is now 3.2.3, nobody was maintainining/testing the Linux dist builds, e.g. Fedora build is based on 36 whilst latest is 38, Ubuntu build is based on 22.04 whilst latest is 23.10.

General reasoning for adoption of the Flatpak version is to give a single Linux build that we can maintain.

If somebody wants maintain the Linux builds then I have no objection to getting them added again to the CI.

@PMaff
Copy link
Contributor

PMaff commented Jan 15, 2024

@whalley is there some change in the way how to compile mmex 1.7.0 from source/github?
I have compilation errors with the old method: #6465

@PMaff
Copy link
Contributor

PMaff commented Jan 27, 2024

Very fine, that MMEX now works on desktop and Android with the same database again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux related to Linux platforms
Projects
None yet
Development

No branches or pull requests

7 participants