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?
Cant update to 0.5.6.2
Re: Cant update to 0.5.6.2
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).
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).
Re: Cant update to 0.5.6.2
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
[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
Re: Cant update to 0.5.6.2
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.
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.