Linux Opensuse Build Make Error

16 posts
Linux Opensuse Build Make Error

Geoplace
New MMEX User

Posts: 12
Joined: Sat Aug 08, 2015 8:25 am
Hi

I was trying install Money Manager Ex 1.2.2 form the tar.gz file into OpenSuse 13.2 following the INSTALL.TXT instructions but the make procedure stops.

When I run make command it display the next error:

make: *** No rule to make target 'lib/wxsqlite3/src/wxsqlite3.cpp', needed by 'wxsqlite_wxsqlite3.o'.  Alto.

Here is the output of the configure script:
Code: Select all
~/release/moneymanagerex-1.2.2> ./configure
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu                                   
checking build system type... x86_64-unknown-linux-gnu                                                       
checking host system type... x86_64-unknown-linux-gnu                                                                 
checking target system type... x86_64-unknown-linux-gnu                                                                
checking for g++... g++                                                                                                       
checking whether the C++ compiler works... yes                                                                                      
checking for C++ compiler default output file name... a.out                                                                             
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for the --enable-debug option... will be automatically detected
checking for the --enable-unicode option... will be automatically detected
checking for the --enable-shared option... will be automatically detected
checking for the --with-motif option... will be automatically detected
checking for the --with-gtk option... will be automatically detected
checking for the --with-x11 option... will be automatically detected
checking for the --with-mac option... will be automatically detected
checking for the --with-cocoa option... will be automatically detected
checking for the --with-mgl option... will be automatically detected
checking for the --with-msw option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.9.4... yes (version 3.0.2)
checking for wxWidgets static library... no
checking if wxWidgets was built with UNICODE enabled... yes
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... no
checking if wxWidgets port is wxGTK... yes
checking if wxWidgets port is wxMotif... no
checking if wxWidgets port is wxMac... no
checking if wxWidgets port is wxMac... no
checking if wxWidgets port is wxX11... no
checking if wxWidgets port is wxMGL... no
checking if wxWidgets port is wxMSW... no
checking if wxGTK uses GTK 2.x (instead of GTK 1.x)... no
checking whether we are using the Intel C compiler... no
checking whether we are using the Intel C++ compiler... no
checking whether we are using the Sun C++ compiler... no
checking for ranlib... (cached) ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... ar
checking for strip... strip
checking for nm... nm
checking for command to install directories... /usr/bin/install -c -d
checking if make is GNU make... yes
checking for dependency tracking method... gcc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating ./po/Makefile
config.status: creating ./setup/win/Makefile

 ----------------------------------------------------------------
  Configuration for MoneyManagerEx 1.2.0 successfully completed.
  Summary of main configuration settings for MoneyManagerEx:
  - RELEASE build
  - UNICODE mode
  - SHARED mode
  - RELEASE build
  - UNICODE mode
  - SHARED mode
  - VERSION: 3.0.2
  - PORT: gtk (with GTK+ 1.x)

  The wxWidgets build which will be used by MoneyManagerEx 1.2.0
  has the following settings:
  - RELEASE build
  - UNICODE mode
  - SHARED mode
  - VERSION: 3.0.2
  - PORT: gtk (with GTK+ 1.x)

  Now, just run make.
 ----------------------------------------------------------------


What does I need to modify  to make it work?

Regards
Re: Linux Opensuse Build Make Error

Geoplace
New MMEX User

Posts: 12
Joined: Sat Aug 08, 2015 8:25 am
Does someone has been sucessful installing MMEX in a rpm based distribution (like OpenSuse)?
Re: Linux Opensuse Build Make Error

RickJ
New MMEX User

Posts: 2
Joined: Thu Oct 15, 2015 10:16 am
I'm trying to do the same thing, but on Kubuntu. I've not yet been completely successful, it's a bit of a nightmare!

Firstly, I suggest using Git to clone the source from Github. The tarball appears incomplete, because there are sub-modules that are required such as wxsqlite3. It builds its own library rather than just linking with an installed one (don't know why yet doesn't seem a very good idea).

You need to use the command "git clone --recursive" to pull everything down. I'm currently having problems with wxwidgets, I can't get a version it will link and run with.

Try the Git route and posst how you get one.

Good luck - Rick
Re: Linux Opensuse Build Make Error

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Here is outdated rpm provided:
viewtopic.php?f=7&t=1745

Use wiki page for build from scratch:
https://sourceforge.net/p/moneymanagere ... 9%20Linux/
Re: Linux Opensuse Build Make Error

RickJ
New MMEX User

Posts: 2
Joined: Thu Oct 15, 2015 10:16 am
Nikolay wrote:Here is outdated rpm provided:
viewtopic.php?f=7&t=1745

Use wiki page for build from scratch:
https://sourceforge.net/p/moneymanagere ... 9%20Linux/
The wiki build instruction are slightly out of date. Here's what I did differently:

I installed a backport of wxWidgets to get v. 3.0.2 without the "unofficial" tag, using this repository:
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu trusty main

It took me a while to realise the Legacy version of bakefile is required, not the current release!

There are two setup scripts: setup/linux/debian/build_new.sh, and setup/linux/build_deb.sh. I don't know why they're different, I had more success with the latter. (There is also a build_rpm script for RH-based systems)

There is an error in the "configure" script. The line WX_ADDITIONAL_LIBS="html, net, aui, adv, qa, webview, stc,core,base" doesn't work, because the WX_ADDITIONAL_LIBS variable is incorrectly used later. The problem is failure to pick up the webview library, and this can be fixed simply by changing
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std, aui, stc`
to
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std, aui, stc, webview`

After that it built and installed.

I then started looking at the problem I had with the binary release, which is total failure to correctly import QIF files. There are serious bugs in qif_import_qui.cpp which I'll try to report separately.

But digging deeper, I'm pretty disappointed at the whole thing, and I can't see it being a viable serious financial app. There are issues with the data model that seem to render it unable to support some important features. These include classes (as a secondary classification to categories), and also inability for a part of a split to be a transfer.
Re: Linux Opensuse Build Make Error

Geoplace
New MMEX User

Posts: 12
Joined: Sat Aug 08, 2015 8:25 am
Interesting, I would try to do the equivalent in OpenSuse,

My knowledge compiling is really short so If I get stuck I would ask here again. Thanks.
Re: Linux Opensuse Build Make Error

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
@RickJ could you help to update wiki page or create new one at github ?
Re: Linux Opensuse Build Make Error

maker
New MMEX User

Posts: 4
Joined: Sun Sep 25, 2016 5:20 pm
i'm getting exactly the same problem a year later ! unfortunately i'm guessing that this post was not indexed on search engines, as i didn't see this despite searching the same error.

was a solution to this found ?????
Re: Linux Opensuse Build Make Error

MartinPRowe
New MMEX User

Posts: 15
Joined: Sun Mar 21, 2010 12:05 pm
Hi,

May I tag on to the end of this thread, please?

I have been using MMEX 0.9 on openSuSE for the last 7 years! I have now been forced to upgrade my OS to openSuSE 42.2.
Now I'm really stuck, I just can't get MMEX installed. I would be most grateful id someone would "take my hand" - metaphorically speaking, and  issue me with step-by-step instructions to compile MMEX on my system Better still, point me to a pre-built RPM for openSuSE 42.2.

Best regards, Martin
Re: Linux Opensuse Build Make Error

Geoplace
New MMEX User

Posts: 12
Joined: Sat Aug 08, 2015 8:25 am
Hi,

May I tag on to the end of this thread, please?

I have been using MMEX 0.9 on openSuSE for the last 7 years! I have now been forced to upgrade my OS to openSuSE 42.2.
Now I'm really stuck, I just can't get MMEX installed. I would be most grateful id someone would "take my hand" - metaphorically speaking, and  issue me with step-by-step instructions to compile MMEX on my system Better still, point me to a pre-built RPM for openSuSE 42.2.

Best regards, Martin


I'm at the same trouble, I can't install / compile in OpenSuse 42.1
Who is online

Users browsing this forum: No registered users and 2 guests