Closed dmgawel closed 8 years ago
After installing from PPA and running:
11:13:43: Debug: /tmp/mmex_dawid_tmp/
11:13:43: Debug: /tmp/mmex_dawid_tmp/
11:13:43: Debug: Coping file: /usr/share/mmex/res/kaching.wav to /tmp/mmex_dawid_tmp/kaching.wav
11:13:43: Debug: Coping file: /usr/share/mmex/res/home_page.htt to /tmp/mmex_dawid_tmp/home_page.htt
11:13:43: Debug: Coping file: /usr/share/mmex/res/ChartNew.js to /tmp/mmex_dawid_tmp/ChartNew.js
11:13:43: Debug: Coping file: /usr/share/mmex/res/master.css to /tmp/mmex_dawid_tmp/master.css
11:13:43: Debug: Coping file: /usr/share/mmex/res/mmex.ico to /tmp/mmex_dawid_tmp/mmex.ico
11:13:43: Debug: Coping file: /usr/share/mmex/res/Chart.js to /tmp/mmex_dawid_tmp/Chart.js
11:13:43: Debug: Coping file: /usr/share/mmex/res/sorttable.js to /tmp/mmex_dawid_tmp/sorttable.js
And here it freezes and takes 100% CPU.
Manual building from sourceforge Wiki leads to exact same error as mentioned in original comment.
The instructions on the Sourceforge wiki aren't up to date. Up-to-date and tested ones are here - https://github.com/moneymanagerex/moneymanagerex/blob/master/INSTALL.Ubuntu.md
As for the particular bug that you're getting when building it, I get the same on 15.10. For my own personal use I have made this change, but I'm not entirely sure what the greater consequences are, hence why I haven't submitted a pull request with it to the main repository
diff --git a/build/bakefiles/wxsqlite.bkl b/build/bakefiles/wxsqlite.bkl
index 8b14119..bc73a74 100644
--- a/build/bakefiles/wxsqlite.bkl
+++ b/build/bakefiles/wxsqlite.bkl
@@ -17,7 +17,7 @@
<define>SQLITE_ENABLE_FTS3</define>
<define>SQLITE_ENABLE_FTS3_PARENTHESIS</define>
<define>SQLITE_HAS_CODEC</define>
- <define>SQLITE_ENABLE_EXTFUNC</define>
+
<define>SQLITE_ENABLE_COLUMN_METADATA</define>
<define>SQLITE_ENABLE_JSON1</define>
No, it's different. The diff above is needed for me to be able to build the development version. The issue in the forum post, I've encountered but ignored since it doesn't affect anything for me since I run Linux, it says it won't work on Windows
Is v. 1 2.5. working on Linux?
Just checked and no. The 1.2 branch needs the Anvil repository which has now been removed alongside https://github.com/moneymanagerex/moneymanagerex/commit/3ef295b5323cfd4da8eb9bbca072dda32656e664
After removing SQLITE_ENABLE_EXTFUNC previous error is gone but building stops at this error:
/home/dawid/Development/moneymanagerex/compile/bk-deps g++ -c -o mmex_mmcheckingpanel.o -I../lib/wxsqlite3/sqlite3/secure/src -I../lib/wxsqlite3/include -I../lib/lua/src -I../lib -I../3rd -I../3rd/LuaGlue/include -I../3rd/cgitemplate -I../3rd/csv-parser/include -I../src -DNOPCH -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -fPIC -DPIC -g -O2 -std=c++11 -g0 -O2 ../src/mmcheckingpanel.cpp
../src/mmcheckingpanel.cpp: In member function ‘void TransactionListCtrl::OnCopy(wxCommandEvent&)’:
../src/mmcheckingpanel.cpp:1352:52: error: ‘GetColumnsOrder’ was not declared in this scope
const wxArrayInt columns = GetColumnsOrder();
^
make: *** [mmex_mmcheckingpanel.o] Error 1
Version: 1.2.5
In my repo the .gitmodules file contains
[submodule "3rd/anvil"]
path = 3rd/anvil
url = https://github.com/moneymanagerex/anvil.git
Did you make: git checkout v1.2.x But on the other hand the folder 3rd\anvil is missing
Yes, the 3rd/anvil repository got removed alongside that commit which is causing it to fail as it's not there any more
@dmgawel Yes, I'm having this problem too now. It's only cropped up today with https://github.com/moneymanagerex/moneymanagerex/commit/1266df2b666dd7235f990d4d963ea9b5f6416e34
@dmgawel try to build stable release 1.2.5 git checkout v1.2.x
@vomikan building from v1.2.x branch fails at initializing git submodules:
Cloning into '3rd/anvil'...
remote: Repository not found.
fatal: repository 'https://github.com/moneymanagerex/anvil.git/' not found
Clone of 'https://github.com/moneymanagerex/anvil.git' into submodule path '3rd/anvil' failed
as workarround I suggest to add anvil back
OK try git submodule deinit 3rd/anvil git rm 3rd/anvil git rm --cached 3rd/anvil rm -rf .git/modules/3rd/anvil
@guanlisheng Could you please recommend somthing here?
This lets me build the 1.2 branch
It's good news. The fix for master branch will be provided by James @siena123
Same on Ubuntu 14.04: after removing anvil mmex builds successfully and works (branch v1.2.x). Is anvil used anywhere?
I'll test building master branch after providing fix by James.
Master builds now for me
Master builds only after removing SQLITE_ENABLE_EXTFUNC. I've informed wxsqlite3 author about issue (https://github.com/utelle/wxsqlite3/issues/1) and he probably resolved it. I'll test with new version and make proper PR if it works.
thanks @dmgawel and all. i believe Anvil removal has nothing to do this building failure.
I've installed mmex on Ubuntu 14.04 (precisely: ElementaryOS Freya) for mmex-test ppa but after choosing language program doesn't run and took 100% PCU. So I've decided to build it manually, but it fails: