Linux Installation Dependencies, Problems

Moderators: Site Moderators, FAHC Science Team

gnutux95
Posts: 7
Joined: Mon Mar 30, 2020 9:46 am
Hardware configuration: Several but the main for this participation
CPU: AMD Phenom(tm) II X4 965 Processor

Current team since the 31 march 2020...
51 - Alliance Francophone
Location: France

Re: Linux Installation Dependencies, Problems

Post 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,
pr0ti3n
Posts: 16
Joined: Wed Apr 01, 2020 2:31 am
Location: @homefolding

Re: Linux Installation Dependencies, Problems

Post by pr0ti3n »

Check this out. You need to remove some code to do a system install. viewtopic.php?f=106&t=33900
Image
gnutux95
Posts: 7
Joined: Mon Mar 30, 2020 9:46 am
Hardware configuration: Several but the main for this participation
CPU: AMD Phenom(tm) II X4 965 Processor

Current team since the 31 march 2020...
51 - Alliance Francophone
Location: France

Re: Linux Installation Dependencies, Problems

Post by gnutux95 »

Hi pr0ti3n,
I will check it tomorrow.

Thank you.

Regards,
gnutux95
Posts: 7
Joined: Mon Mar 30, 2020 9:46 am
Hardware configuration: Several but the main for this participation
CPU: AMD Phenom(tm) II X4 965 Processor

Current team since the 31 march 2020...
51 - Alliance Francophone
Location: France

Re: Linux Installation Dependencies, Problems

Post 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,
pr0ti3n
Posts: 16
Joined: Wed Apr 01, 2020 2:31 am
Location: @homefolding

Re: Linux Installation Dependencies, Problems

Post 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.
Image
Post Reply