Building mmex Debian (Ubuntu) Linux

How to build and install mmex (development release)

  1. Install required packages

    sudo apt-get install build-essential
    sudo apt-get install g++-multilib
    sudo apt-get install automake
    sudo apt-get install python-dev
    sudo apt-get install libgtk-3-dev
    sudo apt-get install webkitgtk-3.0
    sudo apt-get install lintian
    sudo apt-get install git
    sudo apt-get install subversion
    
  2. Install wxWidgets 3.0.1 or higher

    http://codelite.org/LiteEditor/WxWidgets30Binaries#toc2
    
  3. Download, build and install bakefile (optional)

    cd ~/Development
    wget http://sourceforge.net/projects/bakefile/files/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
    
  4. Download mmex source

    cd ~/Development
    git clone https://github.com/moneymanagerex/moneymanagerex
    cd moneymanagerex
    git submodule update --init
    
    (now mmex binary may be builded by:
        mkdir release
        ./bootstrap
        cd release
        ../configure LIBS="-ldl"
        make
    )
    
  5. Configure mmex

    • Modify "setup/linux/debian/build.sh"

      Specify version of mmex (e.g. "1.1.0")
      Specify system Architecture  ("i386" or "amd64")
      
  6. Build mmex

    cd mmex/setup/linux/debian
    ./build.sh
    
  7. Install the mmex package (The package name will depend upon the configuration values specified above.)

    cd ~/build
    dpkg -i mmex-1.1.0-amd64.deb
    
  8. Run mmex

    mmex &
    

How to rebuild mmex

  1. Remove old package files (The file names depend upon the configuration values.)

    cd ~/build
    rm -r mmex-1.1.0-amd64
    rm mmex-1.1.0-amd64.deb
    
  2. Remove old build files

    cd ~/Development/mmex
    make clean
    
  3. Get the latest mmex updates

    git pull
    
  4. Build mmex

    cd setup/linux/debian
    ./build.sh
    
  5. Uninstall old mmex package

    sudo dpkg --remove mmex
    
  6. Install the new mmex package (The package name will depend upon the configuration values.)

    cd ~/build
    dpkg -i mmex-1.1.0-amd64.deb
    

Discussion

  • Nikolay

    Nikolay - 2014-01-05

    ../configure LIBS="-ldl"
    or add " -ldl" key into WX_LIBS params in Makefile, because without
    this key I'm always receiving errors like:


    /usr/bin/ld: ./libwxsqlite.a(wxsqlite_sqlite3secure.o): undefined
    reference to symbol 'dlopen@@GLIBC_2.1'
    /lib/i386-linux-gnu/libdl.so.2: error adding symbols: DSO missing from
    command line
    collect2: error: ld returned 1 exit status


    this solution worked for me:
    https://sourceforge.net/p/sqlitebrowser/discussion/301848/thread/fa39389c/

     
    Last edit: Nikolay 2014-07-05
  • Nikolay

    Nikolay - 2014-02-15

    To install libgtk-3-dev on 12.10 I've removed
    sudo apt-get remove gir1.2-javascriptcoregtk-3.0
    sudo apt-get remove libjavascriptcoregtk-3.0
    first

     
  • Nikolay

    Nikolay - 2014-04-30

    Ubuntu 14.04
    sudo apt-get install libwebkitgtk-dev

     

Log in to post a comment.