error when running 'make'

Page 1 of 1
6 posts
error when running 'make'

maker
New MMEX User

Posts: 4
Joined: Sun Sep 25, 2016 5:20 pm
followed the INSTALL.txt instructions pretty closely, though i don't know why it says 'trunk' in them ?

after make clean, it outputs 'Configuration for MoneyManagerEx 1.2.0 successfully completed.'

then i get this error:
Code: Select all
make *** No rule to make target '../lib/wxsqlite3/src/wxsqlite3.cpp', needed by 'wxsqlite_wxsqlite3.o'.  Stop.

even after running
Code: Select all
make clean
many thanks
Last edited by maker on Mon Sep 26, 2016 5:12 am, edited 1 time in total.
Re: error when running 'make'
User avatar
GabrieleV
MMEX Developer

Posts: 265
Joined: Wed Apr 09, 2014 1:45 pm
Location: Italy
You need to update submodules:

git submodule update --init


I think that install file it's quite old, check on GitHub documentation on how to build
Re: error when running 'make'

maker
New MMEX User

Posts: 4
Joined: Sun Sep 25, 2016 5:20 pm
that is a shame, as those files were bundled with the source code of the latest stable version, through the github release feature:
https://github.com/moneymanagerex/money ... tag/v1.2.7

i have since tried following the other instructions found on github:
https://github.com/moneymanagerex/money ... .Ubuntu.md
though i am not on ubuntu, and there aren't other instructions, it seems

am now getting a variety of errors:
Code: Select all
../src/general_report_manager.h:102:5: error: ‘wxWebView’ does not name a type
     wxWebView* m_outputHTML;
     ^
../src/general_report_manager.cpp: In constructor ‘mmGeneralReportManager::mmGeneralReportManager(wxWindow*, wxSQLite3Database*)’:
../src/general_report_manager.cpp:230:7: error: class ‘mmGeneralReportManager’ does not have any field named ‘m_outputHTML’
     , m_outputHTML(nullptr)
       ^
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::createOutputTab(wxNotebook*, int)’:
../src/general_report_manager.cpp:395:5: error: ‘m_outputHTML’ was not declared in this scope
     m_outputHTML = wxWebView::New(out_tab, ID_WEB);
     ^
../src/general_report_manager.cpp:395:20: error: ‘wxWebView’ has not been declared
     m_outputHTML = wxWebView::New(out_tab, ID_WEB);
                    ^
../src/general_report_manager.cpp: In member function ‘bool mmGeneralReportManager::openZipFile(const wxString&, wxString&, wxString&, wxString&, wxString&, wxString&)’:
../src/general_report_manager.cpp:577:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
             std::auto_ptr<wxZipEntry> entry;
                  ^
In file included from /usr/include/c++/5.3.1/bits/locale_conv.h:41:0,
                 from /usr/include/c++/5.3.1/locale:43,
                 from /usr/include/c++/5.3.1/iomanip:43,
                 from ../3rd/cajun/json/writer.inl:16,
                 from ../3rd/cajun/json/writer.h:62,
                 from ../src/db/DB_Table.h:30,
                 from ../src/model/Model.h:35,
                 from ../src/model/Model_Report.h:22,
                 from ../src/reports/reportbase.h:25,
                 from ../src/util.h:23,
                 from ../src/mmpanelbase.h:22,
                 from ../src/general_report_manager.h:27,
                 from ../src/general_report_manager.cpp:20:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnUpdateReport(wxCommandEvent&)’:
../src/general_report_manager.cpp:634:9: error: ‘m_outputHTML’ was not declared in this scope
         m_outputHTML->SetPage(report->DESCRIPTION, "");
         ^
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnRun(wxCommandEvent&)’:
../src/general_report_manager.cpp:650:9: error: ‘m_outputHTML’ was not declared in this scope
         m_outputHTML->ClearBackground();
         ^
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::OnSelChanged(wxTreeEvent&)’:
../src/general_report_manager.cpp:757:9: error: ‘m_outputHTML’ was not declared in this scope
         m_outputHTML->SetPage(description, "");
         ^
../src/general_report_manager.cpp: In member function ‘void mmGeneralReportManager::showHelp()’:
../src/general_report_manager.cpp:1009:5: error: ‘m_outputHTML’ was not declared in this scope
     m_outputHTML->LoadURL(url);
     ^
Makefile:537: recipe for target 'mmex_general_report_manager.o' failed
make: *** [mmex_general_report_manager.o] Error 1
Re: error when running 'make'
User avatar
GabrieleV
MMEX Developer

Posts: 265
Joined: Wed Apr 09, 2014 1:45 pm
Location: Italy
It's not a shame, it's how Git works with submodules (other repositories linked inside).

Regarding error, seems that wx webview is missing on your system.
Re: error when running 'make'

YAOMTC
New MMEX User

Posts: 3
Joined: Fri Nov 18, 2016 4:43 pm
I'm having the same problem. Since there's a bug causing 100% CPU usage on one of the CPUs, I decided to try 1.3 by downloading the ZIP from GitHub -- but I can't build it, because of this error. I have webkitgtk2, wxgtk, wxgtk2.8, and wxsqlite3 installed. I can't think of anything else that could help.
Re: error when running 'make'

rasat
New MMEX User

Posts: 1
Joined: Thu Feb 02, 2017 11:44 am
I had the same problem in Linux Mint 18.1 installing mmex-1.3.1 but managed to solve after several Google searches. The file "INSTALL.Ubuntu.md" in the install folder, did a good job but didn't include all dependency packages. From the development release guide, I installed these packages, which all were not needed but I think the webkitgtk-3.0 did the job.

sudo apt-get install build-essentialsudo apt-get install g++-multilibsudo apt-get install automakesudo apt-get install python-devsudo apt-get install libgtk-3-devsudo apt-get install webkitgtk-3.0sudo apt-get install lintiansudo apt-get install gitsudo apt-get install subversion

I took the effort in getting mmex installed, does the accounting what I have been looking for, and has mobile apps.

Keep up with the great work.
Page 1 of 1
Who is online

Users browsing this forum: No registered users and 1 guest