Cant update to 0.5.6.2

General support for problems installing or using Deluge
Post Reply
DriftShin

Cant update to 0.5.6.2

Post by DriftShin »

I've been trying to update to version 0.5.6.2 and after having found out how to install it suing python (which is not mentioned anywhere on this site!), i tried the command python setup.py but this is what i got:

Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Traceback (most recent call last):
File "setup.py", line 127, in <module>
cv_opt = sysconfig.get_config_vars()["CFLAGS"]
File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars
func()
File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)

What do i do next?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Cant update to 0.5.6.2

Post by johnnyg »

what distro are you using?

if you're using debian, ubuntu or gentoo then you can just download the installer from the download section and run it.
No need to compile.

if you're using a different distro such as fedora you'll need to download the source (again from the download section), extract it, change into the extracted folder and then follow the instructions in the README document (there's a section on installation).
DriftShin

Re: Cant update to 0.5.6.2

Post by DriftShin »

Hey, sorry didnt mention my distro. I'm running Fedora Core 7. When i run make from the CLI, i still get the same error:

[DriftShin@nl-208-191 deluge-torrent-0.5.6.2]$ make
python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Traceback (most recent call last):
File "setup.py", line 127, in <module>
cv_opt = sysconfig.get_config_vars()["CFLAGS"]
File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars
func()
File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
make: *** [all] Error 1
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Cant update to 0.5.6.2

Post by johnnyg »

no worries, I was just making sure you weren't unnecessarily doing too much work compiling it.

it looks like from your error message that your python installation is incomplete. Have you installed all the specified dependencies?

if you have I'd try reinstalling those specific to python as clearly you're missing an essential file.
Post Reply