Page 2 of 2

Re: Linux Installation Dependencies, Problems

Posted: Wed Apr 08, 2020 12:20 am
by gnutux95
Hello guys,

Thank you for your help.

For Fedora 31, nice, it works now.

For Debian GNU/Linux bullseye/sid not yet...

I have some problem, i used as you said : https://github.com/FoldingAtHome/fah-control

Code: Select all

sudo apt-get install -y python-stdeb python-gtk2 python-all debhelper
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-stdeb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-stdeb

E: Package 'python-stdeb' has no installation candidate
So , i tried

Code: Select all

sudo apt-get install -y python3-stdeb python-gtk2 python-all debhelper

Reading package lists... Done
Building dependency tree       
Reading state information... Done
debhelper is already the newest version (12.10).
python-all is already the newest version (2.7.17-2).
python3-stdeb is already the newest version (0.8.5-3).
python-gtk2 is already the newest version (2.24.0-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And the next...

Code: Select all

git clone https://github.com/FoldingAtHome/fah-control.git

Code: Select all

cd ~/fah-control

Code: Select all

python setup.py build

dir = .
running build
running build_py
copying fah/FAHControl_glade.py -> build/lib.linux-x86_64-2.7/fah
running egg_info
writing requirements to FAHControl.egg-info/requires.txt
writing FAHControl.egg-info/PKG-INFO
writing top-level names to FAHControl.egg-info/top_level.txt
writing dependency_links to FAHControl.egg-info/dependency_links.txt
reading manifest file 'FAHControl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'FAHControl.egg-info/SOURCES.txt'
running build_scripts
But

Code: Select all

sudo python setup.py install 

Installed /usr/local/lib/python2.7/dist-packages/FAHControl-0.0.0-py2.7.egg
Processing dependencies for FAHControl==0.0.0
Searching for gtk2>=2.14.0
Reading https://pypi.org/simple/gtk2/
Couldn't find index page for 'gtk2' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for gtk2>=2.14.0
error: Could not find suitable distribution for Requirement.parse('gtk2>=2.14.0')
Regards,

Re: Linux Installation Dependencies, Problems

Posted: Wed Apr 08, 2020 3:00 am
by pr0ti3n
Check this out. You need to remove some code to do a system install. viewtopic.php?f=106&t=33900

Re: Linux Installation Dependencies, Problems

Posted: Wed Apr 08, 2020 11:49 pm
by gnutux95
Hi pr0ti3n,
I will check it tomorrow.

Thank you.

Regards,

Re: Linux Installation Dependencies, Problems

Posted: Mon Apr 13, 2020 6:23 pm
by gnutux95
Hello,
Thank you, it seems to be near the end at least :)

Ok, it is ok on my debian testing, but not for my other debian bulleye 2/3 for the moment.
I am working on the last (On one pc I can't find the python-gtk2 package, python can't import it so...)

Regards,

Re: Linux Installation Dependencies, Problems

Posted: Mon Apr 13, 2020 7:52 pm
by pr0ti3n
gnutux95 wrote: I am working on the last (On one pc I can't find the python-gtk2 package, python can't import it so...)
If you installed the prerequisites, and edit the code to remove the line it should work.