Code: Select all
# python -OO SABnzbd.py -v
Traceback (most recent call last):
File "SABnzbd.py", line 44, in <module>
import sabnzbd
File "/home/username/SABnzbd-0.4.12/sabnzbd/__init__.py", line 32, in <module>
import gzip
File "/usr/local/lib/python2.5/gzip.py", line 9, in <module>
import zlib
ImportError: No module named zlib
apt-get install python-cheetah python-pyopenssl python-feedparser install zlibc
I've upgraded Python to 2.5, even though SABnzbd should work on 2.4 according to their website.
I did ./configure, make, make install. In the end of the make it mentions zlib like this:
Code: Select all
building 'zlib' extension
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/home/username/Python-2.5/./Include -I./Include -I. -I/usr/local/include -I/home/username/Python-2.5/Include -I/home/username/Python-2.5 -c /home/username/Python-2.5/Modules/zlibmodule.c -o build/temp.linux-ppc-2.5/home/username/Python-2.5/Modules/zlibmodule.o
gcc -pthread -shared build/temp.linux-ppc-2.5/home/username/Python-2.5/Modules/zlibmodule.o -L/usr/local/lib -lz -o build/lib.linux-ppc-2.5/zlib.so
running build_scripts
Any tips would be appreciated on how to get SABnzbd running on Bubba.