Building mmex under Linux

Money Manager Ex Development related posts
(http://github.moneymanagerex.org/)
Post Reply
Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Building mmex under Linux

Post by Nikolay »

-==### How to prepare system to build mmex ###==-

Code: Select all

sudo apt-get install subversion
 	
mkdir ~/Development
cd ~/Development
svn checkout http://svn.code.sf.net/p/moneymanagerex/code/trunk/mmex mmex

#Install wx libs

Code: Select all

sudo apt-get install libwxgtk2.8-dev libwxgtk2.8 libboost-dev

#Installing Bakefile On Ubuntu 11.04

Code: Select all

sudo apt-get install python-dev

Code: Select all

wget http://downloads.sourceforge.net/project/bakefile/bakefile/0.2.9/bakefile-0.2.9.tar.gz
tar xfz bakefile-0.2.9.tar.gz
cd bakefile-0.2.9
./configure && make && sudo make install
#Spetial packages for .....

Code: Select all

sudo apt-get install automake
sudo apt-get install build-essential 


#It may be needed for Lua

Code: Select all

sudo apt-get install libreadline-dev
All needed components in that step should be ready. Now :

Code: Select all

cd ~/Development/mmex
mkdir reliase
./bootstrap
cd reliase
../configure
make
now mmex binary file should be ready for usage.

Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Building mmex under Linux

Post by Nikolay »

100% compatable howto with LinuxMint 14 Mate

Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Building mmex under Linux

Post by Nikolay »

To keep application updated:
cd ~/Development/mmex/reliase
svn up ..
make

TonyIT
New MMEX User
Posts: 7
Joined: Thu Nov 24, 2011 8:51 am
Are you a spam bot?: No

Re: Building mmex under Linux

Post by TonyIT »

Grazie Nikolay!
I've followed your instructions step by step and now I have a working sub version 3333

Ciao.

Tony
Ciao,
Tony.

Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Building mmex under Linux

Post by Nikolay »

How to upgrade to wx-2.9
First of all install the proper version of wx libs. It's available from binaries
http://www.codelite.org/LiteEditor/WxWidgets29Binaries
or from sources:
http://www.wxwidgets.org/downloads/#latest_dev

Code: Select all

cd ~/Development/mmex
svn up
./bootstrap
cd release
make clean
../configure
make -j2
Every day commands:

Code: Select all

cd ~/Development/mmex/release
svn up ..
make

TonyIT
New MMEX User
Posts: 7
Joined: Thu Nov 24, 2011 8:51 am
Are you a spam bot?: No

Re: Building mmex under Linux

Post by TonyIT »

I try to follow your suggestion but I got a lot of "undefined reference" like this: undefined reference to `wxHtmlWindow::sm_eventTable'


I've also uninstalled the 2.8 version of wx and retry without success.

what's wrong?
Ciao,
Tony.

Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Building mmex under Linux

Post by Nikolay »

according article provided above should be installed dev packages of wxWidgets (like libwxgtk2.9-dev )

I've installed all packages:

Code: Select all

apt-get install libwxbase2.9-0-unofficial libwxbase2.9-dev libwxgtk2.9-0-unofficial libwxgtk2.9-dev wx2.9-headers wx-common libwxbase2.9-dbg libwxgtk2.9-dbg wx2.9-i18n
Try
sudo ldconfig

TonyIT
New MMEX User
Posts: 7
Joined: Thu Nov 24, 2011 8:51 am
Are you a spam bot?: No

Re: Building mmex under Linux

Post by TonyIT »

NOPE! :(
But, I'm the one with this problem?

I've attached the output of the command make. Perhaps it helps.

I'm sorry to disturb you.

..........................................................................................................
Attachments
MMEX_error.txt
(502.12 KiB) Downloaded 344 times
Ciao,
Tony.

Nikolay
MMEX Developer
Posts: 1344
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Building mmex under Linux

Post by Nikolay »

Code: Select all

cd ~/Development/mmex
./bootstrap
cd release
make clean
../configure
make -j2

working?

Post Reply