Linux Opensuse Build Make Error

16 posts
Re: Linux Opensuse Build Make Error

Nikolay
MMEX Developer

Posts: 2298
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Try this
Code: Select all
#!/bin/bash
cd ~
# Install dependencies
yum groupinstall "Development Tools" -y
yum install python-devel libcanberra-devel PackageKit-gtk3-module -y
# Intall EPEL so you can get few other dependencies
yum install epel-release -y
yum install webkitgtk-devel bakefile -y
# Disable Selinux
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/sysconfig/selinux
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config
setenforce 0
# Download, compile and load wxWidgets
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0.tar.bz2
tar xf wxWidgets-3.1.0.tar.bz2
cd wxWidgets-3.1.0
./configure --disable-debug --enable-monolithic
make && make install
echo '/usr/local/lib' > /etc/ld.so.conf.d/wxWidgets.conf
ldconfig
cd ~
# Download compile and install mmex
git clone https://github.com/moneymanagerex/moneymanagerex
cd moneymanagerex
git submodule update --init
mkdir compile
./bootstrap.sh
cd compile
../configure
make && make install
Re: Linux Opensuse Build Make Error

MartinPRowe
New MMEX User

Posts: 15
Joined: Sun Mar 21, 2010 12:05 pm
Thank you Nikolay,

Unfortunately "yum" is not a native SuSE command. And I, for one, do not have the skills to translate into Zypper commands.
If you could be a bit more explicit , we would love to get this installed.
For example, what is
Code: Select all
yum groupinstall "Development Tools" -y


Best regards, Martin
Re: Linux Opensuse Build Make Error

Nikolay
MMEX Developer

Posts: 2298
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Re: Linux Opensuse Build Make Error

Geoplace
New MMEX User

Posts: 12
Joined: Sat Aug 08, 2015 8:25 am
Here are command line equivalents for different linux distributions:

https://news.opensuse.org/2013/03/22/op ... os/#fedora

And here is the documentation to use the zypper (package managment from the command line)

https://en.opensuse.org/SDB:Zypper_usage

Later I would try to find the equivalencies for install/ compile mmex

Regards.
Re: Linux Opensuse Build Make Error

wadrian
New MMEX User

Posts: 2
Joined: Sat Apr 15, 2017 7:19 am
I modified the fedora-script  to compile for my own on opensuse 42.2:

#!/bin/bashcd ~# Install dependencieszypper install -t pattern devel_C_C++zypper install python-devel libcanberra-devel PackageKit-gtk3-modulezypper install libwebkitgtk-develzypper install wxWidgets-3_0-develzypper install wxsqlite3-develzypper install sqlite3-develzypper ar -f http://download.opensuse.org/distributi ... /repo/oss/ bakefilerepozypper install bakefilezypper rr bakefilerepomkdir /usr/local/share/aclocal# Download compile and install mmexgit clone https://github.com/moneymanagerex/moneymanagerexcd moneymanagerexgit submodule update --initmkdir compile./bootstrap.shcd compile../configuremake && make install


Hope that helps others.
(and yes I know that using bakefile from an older repo is a dirty hack. But I cant found a newer one)

Adrian
Re: Linux Opensuse Build Make Error

wadrian
New MMEX User

Posts: 2
Joined: Sat Apr 15, 2017 7:19 am
I modified the fedora script for my own to compile on Opensuse 42.2:

zypper install python-devel libcanberra-devel PackageKit-gtk3-module
zypper install libwebkitgtk-devel
zypper install wxWidgets-3_0-devel
zypper install wxsqlite3-devel
zypper install sqlite3-devel
zypper ar -f http://download.opensuse.org/distributi ... /repo/oss/ bakefilerepo
zypper install bakefile
zypper rr bakefilerepo
mkdir /usr/local/share/aclocal
# Download compile and install mmex
git clone https://github.com/moneymanagerex/moneymanagerex
cd moneymanagerex
git submodule update --init
mkdir compile
./bootstrap.sh
cd compile
../configure
make && make install      

I know that using bakefile from older repo is a dirty hack, but cant found newer repo. Its a quick and dirty hack
Hope that help others

Adrian
Who is online

Users browsing this forum: No registered users and 4 guests

cron