You are not logged in.
Hey there,
I am new here so please move this thread if it is not the right category thx ![]()
I am very interested in MMEX but the version in the AUR is unfortunately outdated. Therefore I tried to modify the PKGBUILD of version 0.9.9.0-1
So far so good it works, but at the end make reports an error.
Here ist my modified PKGBUILD:
# Maintainer: TDY <tdy@gmx.com>
pkgname=mmex
pkgver=1.1.0
pkgrel=1
pkgdesc="An easy-to-use personal finance suite (Money Manager Ex)"
arch=('i686 x86_64')
url="http://www.moneymanagerex.org/"
license=('GPL')
depends=('wxgtk>=2.9.4' 'gettext')
source=(http://sourceforge.net/projects/moneymanagerex/files/moneymanagerex/Version%201.1.0/${pkgname}_${pkgver}.tar.gz)
md5sums=('d132d9e7e8284d551dd296daf0aefd6d')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure LIBS="-lpthread -lm -ldl" \
--prefix=/usr \
--enable-unicode \
--enable-shared \
--with-wxshared \
--with-gtk \
--with-wx-config=/usr/lib/wx/config/gtk2-unicode-3.0
#make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}And this ist the error which I get:
./src/mmex.cpp:43:1: error: cannot convert 'const wxString' to 'const char*' in initialization
};
^
Makefile:511: recipe for target 'mmex_mmex.o' failed
make: *** [mmex_mmex.o] Error 1I tested this on an clean ArchLinux installation with base and base-devel + lxde.
Is this an error in the Makefile or is it in the C++ source file?
If the error is in the source file I will report it to the programmer.
Thanks to all of you for help and sorry for my english mistakes, I am not a native speaker ![]()
Have a nice day
Edit:
Ok, I found out that this error is a bug of MMEX, because there is a problem with compatibility with wxGTK >= 3.0.0
http://ehc.ac/p/moneymanagerex/bugs/363/
The user who has reported this bug has provided a patch, but I don't think that they have applied it.
So how can I apply this .diff file?
Ok, becaus this is a bug of the programm this thread can be closed and I will ask in the Money Manager Ey Forums.
Last edited by Schrat (2014-08-14 18:19:19)
Offline