I am trying to install MaxFEM (maxfem_0.3.4_all.deb) on debian jessie but installation fails due to dependency on missing package python-wxgtk2.8. Here is the output I get after running dpkg command:
Preparing to unpack maxfem_0.3.4_all.deb ...
Unpacking maxfem (0.3.4) ...
dpkg: dependency problems prevent configuration of maxfem:
maxfem depends on python-wxgtk2.8; however:
Package python-wxgtk2.8 is not installed.
dpkg: error processing package maxfem (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
maxfem
In Debian-jessie python-wxgtk3.0 is installed and there is no link to package python-wxgtk2.8
I would appreciate if can get some help in installing MaxFEM on debian-jessie.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
we will solve this restriction in the next version of MaxFEM. Meanwhile,
you can edit the file ./code/wx_version.py and change the number 2.8 in the
line
wxversion.ensureMinimal("2.8")
by the number of the version you have.
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in my first answer I did not realize that you will have to unpack the
Debian package in order to have access to the sources. Maybe, the easiest
way to modify the code is to:
Change in ./code/wx_version.py the line:
wxversion.select("2.8")
by:
wxversion.ensureMinimal("2.8")
Execute make in ./sources/ in order to create new solvers ./solvers/.
Check the file permissions of the new solvers to guarantee that can be
executed.
You can manually create a direct access to ./code/opennum.py to easily
open the application.
Just for your information, the Debian package maxfem_0.3.4_all.deb
basically do the following steps:
Create in /usr/share/ the folder maxfem with the application content (
./solvers/, ./code/, etc.).
Create in /usr/share/doc/ the folder maxfem with a copy of changelog.gz
and copyright.
Create a direct access to maxfem in /usr/bin/:
ln -fs /usr/share/maxfem/code/MaxFEM.py /usr/bin/maxfem
Create in /usr/share/applications/ the file MaxFEM.desktop, with the
content: [Desktop Entry]
Name=MaxFEM
Version=1.0
Exec=maxfem
Comment=Software for electromagnetic simulation
Icon=/usr/share/maxfem/images/icon.MaxFEM.png
Type=Application
Terminal=true
StartupNotify=true
Encoding=UTF-8
Categories=Science;
Create executable files in solvers through the command make en
/usr/share/maxfem/sources/.
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to install MaxFEM (maxfem_0.3.4_all.deb) on debian jessie but installation fails due to dependency on missing package python-wxgtk2.8. Here is the output I get after running dpkg command:
Preparing to unpack maxfem_0.3.4_all.deb ...
Unpacking maxfem (0.3.4) ...
dpkg: dependency problems prevent configuration of maxfem:
maxfem depends on python-wxgtk2.8; however:
Package python-wxgtk2.8 is not installed.
dpkg: error processing package maxfem (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
maxfem
In Debian-jessie python-wxgtk3.0 is installed and there is no link to package python-wxgtk2.8
I would appreciate if can get some help in installing MaxFEM on debian-jessie.
Thanks
Hi,
we will solve this restriction in the next version of MaxFEM. Meanwhile,
you can edit the file ./code/wx_version.py and change the number 2.8 in the
line
wxversion.ensureMinimal("2.8")
by the number of the version you have.
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03
Hi,
in my first answer I did not realize that you will have to unpack the
Debian package in order to have access to the sources. Maybe, the easiest
way to modify the code is to:
http://www.usc.es/en/proxectos/maxfem
wxversion.select("2.8")
by:
wxversion.ensureMinimal("2.8")
Check the file permissions of the new solvers to guarantee that can be
executed.
open the application.
Just for your information, the Debian package maxfem_0.3.4_all.deb
basically do the following steps:
./solvers/, ./code/, etc.).
and copyright.
ln -fs /usr/share/maxfem/code/MaxFEM.py /usr/bin/maxfem
content:
[Desktop Entry]
Name=MaxFEM
Version=1.0
Exec=maxfem
Comment=Software for electromagnetic simulation
Icon=/usr/share/maxfem/images/icon.MaxFEM.png
Type=Application
Terminal=true
StartupNotify=true
Encoding=UTF-8
Categories=Science;
/usr/share/maxfem/sources/.
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03