Page 1 of 5

SABnzbd on the iPhone?

Posted: July 23rd, 2008, 3:27 pm
by th3joker
Hey there, I've just been tweaking my iphone and noticed that someone has made a python install via the Cydia (aptitude) installer for the iphone.

is there anyone knowledgeable enough to make sab work on the iPhone? I'm willing to try it out if someone will make it, would be super handy for those emergency download requirements.

I'll have a tinker and see if I can get it to work on my own, I don't really have the skill set for it but I'll have a go anyway :-)

Re: SABnzbd on the iPhone?

Posted: July 24th, 2008, 2:30 pm
by rAf
If you can't get running sab on the iphone, maybe you can try iphone interface or iPlush (more for monitoring, see this thread)...

Good luck for this, maybe you can try :

- install ssh on iphone
- connect to you iphone by ssh
- install requirements (the hardest part i think, keep in mind that it's an Arm processor)
- try to launch sab from sources

I'll try to get it work when i have some time...

Re: SABnzbd on the iPhone?

Posted: July 26th, 2008, 6:47 am
by th3joker
Bleh, stalled at the first hurdle:

Chapterhouse:/yenc-0.3 root# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.darwin-10.5-arm-2.5
copying lib/yenc.py -> build/lib.darwin-10.5-arm-2.5
running build_ext
building '_yenc' extension
creating build/temp.darwin-10.5-arm-2.5
creating build/temp.darwin-10.5-arm-2.5/src
arm-apple-darwin9-gcc -no-cpp-precomp -fno-common -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/usr/include/python2.5 -c src/_yenc.c -o build/temp.darwin-10.5-arm-2.5/src/_yenc.o -O2 -g
unable to execute arm-apple-darwin9-gcc: No such file or directory
error: command 'arm-apple-darwin9-gcc' failed with exit status 1

Anyone know what I need to do to fix this?

Re: SABnzbd on the iPhone?

Posted: July 26th, 2008, 2:47 pm
by th3joker
Pants I meant move this one to general, I have a head injury and some days it really shows:-)

Re: SABnzbd on the iPhone?

Posted: July 26th, 2008, 4:09 pm
by inpheaux
th3joker wrote: Pants I meant move this one to general, I have a head injury and some days it really shows:-)
You double-posted. Leave it in here.

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 5:52 am
by rAf
Hi th3joker,

try to install gcc from cydia... and retry.

Hope it helps

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 7:32 am
by th3joker
Thanks, it gets a lot further than before after trying that.

yenc, Cherrypy, feedparser and elementtree install but Cheetah fails at the end.

Sabnzbd then fails to start with the error Cheetah version (Number something, I forget) must be installed.

It's damn close to working, I can feel it :-)

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 8:35 am
by rAf
what is the error on Cheetah install ?

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 9:22 am
by th3joker
Cheetah error part 1:

Code: Select all

Chapterhouse:/Cheetah-2.0.1 root# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.darwin-10.5-arm-2.5
creating build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/CacheRegion.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/CacheStore.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/CheetahWrapper.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Compiler.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/DummyTransaction.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/ErrorCatchers.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/FileUtils.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Filters.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/ImportHooks.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/ImportManager.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/NameMapper.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Parser.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Servlet.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/SettingsManager.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/SourceReader.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Template.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/TemplateCmdLineIface.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Unspecified.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/Version.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
copying src/convertTmplPathToModuleName.py -> build/lib.darwin-10.5-arm-2.5/Cheetah
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Macros
copying src/Macros/I18n.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Macros
copying src/Macros/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Macros
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Templates
copying src/Templates/SkeletonPage.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Templates
copying src/Templates/_SkeletonPage.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Templates
copying src/Templates/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Templates
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/CheetahWrapper.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/FileRefresh.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/NameMapper.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/SyntaxAndOutput.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/Template.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/Test.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
copying src/Tests/unittest_local_copy.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tests
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
copying src/Tools/CGITemplate.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
copying src/Tools/MondoReport.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
copying src/Tools/RecursiveNull.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
copying src/Tools/SiteHierarchy.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
copying src/Tools/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Tools
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/Indenter.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/Misc.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/VerifyType.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/WebInputMixin.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/htmlDecode.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/htmlEncode.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
copying src/Utils/memcache.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils
creating build/lib.darwin-10.5-arm-2.5/Cheetah/Utils/optik
copying src/Utils/optik/__init__.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils/optik
copying src/Utils/optik/errors.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils/optik
copying src/Utils/optik/option.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils/optik
copying src/Utils/optik/option_parser.py -> build/lib.darwin-10.5-arm-2.5/Cheetah/Utils/optik
running build_ext
building 'Cheetah._namemapper' extension
creating build/temp.darwin-10.5-arm-2.5
creating build/temp.darwin-10.5-arm-2.5/src
arm-apple-darwin9-gcc -no-cpp-precomp -fno-common -DNDEBUG -O3 -Wall -Wstrict-prototypes -I/usr/include/python2.5 -c src/_namemapper.c -o build/temp.darwin-10.5-arm-2.5/src/_namemapper.o
In file included from /usr/lib/gcc/arm-apple-darwin9/4.2.1/include/syslimits.h:7,
                 from /usr/lib/gcc/arm-apple-darwin9/4.2.1/include/limits.h:11,
                 from /usr/include/python2.5/Python.h:18,
                 from src/_namemapper.c:15:
/usr/lib/gcc/arm-apple-darwin9/4.2.1/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from src/_namemapper.c:15:
/usr/include/python2.5/Python.h:32:19: error: stdio.h: No such file or directory
/usr/include/python2.5/Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL."
/usr/include/python2.5/Python.h:37:20: error: string.h: No such file or directory
/usr/include/python2.5/Python.h:39:19: error: errno.h: No such file or directory
/usr/include/python2.5/Python.h:41:20: error: stdlib.h: No such file or directory
/usr/include/python2.5/Python.h:43:20: error: unistd.h: No such file or directory
/usr/include/python2.5/Python.h:55:20: error: assert.h: No such file or directory
In file included from /usr/include/python2.5/Python.h:57,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pyport.h:7:20: error: stdint.h: No such file or directory
In file included from /usr/include/python2.5/Python.h:57,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pyport.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Py_uintptr_t'
/usr/include/python2.5/pyport.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Py_intptr_t'
/usr/include/python2.5/pyport.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Py_ssize_t'
/usr/include/python2.5/pyport.h:204:76: error: math.h: No such file or directory
/usr/include/python2.5/pyport.h:211:22: error: sys/time.h: No such file or directory
/usr/include/python2.5/pyport.h:212:18: error: time.h: No such file or directory
/usr/include/python2.5/pyport.h:230:24: error: sys/select.h: No such file or directory
/usr/include/python2.5/pyport.h:269:22: error: sys/stat.h: No such file or directory
/usr/include/python2.5/pyport.h:519:21: error: termios.h: No such file or directory
/usr/include/python2.5/pyport.h:520: warning: 'struct winsize' declared inside parameter list
/usr/include/python2.5/pyport.h:520: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/include/python2.5/pyport.h:520: warning: 'struct termios' declared inside parameter list
/usr/include/python2.5/pyport.h:521: warning: 'struct winsize' declared inside parameter list
/usr/include/python2.5/pyport.h:521: warning: 'struct termios' declared inside parameter list
In file included from /usr/include/python2.5/Python.h:76,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pymem.h:50: warning: parameter names (without types) in function declaration
/usr/include/python2.5/pymem.h:51: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/python2.5/Python.h:78,
                 from src/_namemapper.c:15:
/usr/include/python2.5/object.h:104: error: expected specifier-qualifier-list before 'Py_ssize_t'
/usr/include/python2.5/object.h:108: error: expected specifier-qualifier-list before 'Py_ssize_t'
/usr/include/python2.5/object.h:131: error: expected declaration specifiers or '...' before '*' token
/usr/include/python2.5/object.h:131: warning: type defaults to 'int' in declaration of 'Py_ssize_t'
/usr/include/python2.5/object.h:131: error: 'Py_ssize_t' declared as function returning a function
/usr/include/python2.5/object.h:131: warning: function declaration isn't a prototype
/usr/include/python2.5/object.h:149: error: 'readbufferproc' declared as function returning a function
/usr/include/python2.5/object.h:150: error: 'writebufferproc' declared as function returning a function
/usr/include/python2.5/object.h:151: error: 'segcountproc' declared as function returning a function
/usr/include/python2.5/object.h:152: error: 'charbufferproc' declared as function returning a function
/usr/include/python2.5/object.h:215: error: expected specifier-qualifier-list before 'lenfunc'
/usr/include/python2.5/object.h:229: error: expected specifier-qualifier-list before 'lenfunc'
/usr/include/python2.5/object.h:244: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/python2.5/object.h:258: warning: 'struct _typeobject' declared inside parameter list
/usr/include/python2.5/object.h:259: warning: 'struct _typeobject' declared inside parameter list
/usr/include/python2.5/object.h:262: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/object.h:262: error: field 'ob_size' declared as a function
/usr/include/python2.5/object.h:264: error: field 'tp_basicsize' declared as a function
/usr/include/python2.5/object.h:264: error: field 'tp_itemsize' declared as a function
/usr/include/python2.5/object.h:309: error: field 'tp_weaklistoffset' declared as a function
/usr/include/python2.5/object.h:324: error: field 'tp_dictoffset' declared as a function
/usr/include/python2.5/object.h:389: error: expected declaration specifiers or '...' before 'FILE'
In file included from /usr/include/python2.5/Python.h:79,
                 from src/_namemapper.c:15:
/usr/include/python2.5/objimpl.h:97: warning: parameter names (without types) in function declaration
/usr/include/python2.5/objimpl.h:98: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/python2.5/objimpl.h:228: error: 'PyGC_Collect' declared as function returning a function
/usr/include/python2.5/objimpl.h:249: error: field 'gc_refs' declared as a function
/usr/include/python2.5/objimpl.h:288: warning: parameter names (without types) in function declaration
In file included from /usr/include/python2.5/Python.h:83,
                 from src/_namemapper.c:15:
/usr/include/python2.5/unicodeobject.h:55:19: error: ctype.h: No such file or directory
/usr/include/python2.5/unicodeobject.h:118:21: error: wchar.h: No such file or directory
In file included from /usr/include/python2.5/Python.h:83,
                 from src/_namemapper.c:15:
/usr/include/python2.5/unicodeobject.h:384: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/unicodeobject.h:385: error: field 'length' declared as a function
/usr/include/python2.5/unicodeobject.h:447: error: 'PyUnicodeUCS2_GetSize' declared as function returning a function
/usr/include/python2.5/unicodeobject.h:521: warning: type defaults to 'int' in declaration of 'wchar_t'
/usr/include/python2.5/unicodeobject.h:521: error: expected ';', ',' or ')' before '*' token
/usr/include/python2.5/unicodeobject.h:539: warning: type defaults to 'int' in declaration of 'wchar_t'
/usr/include/python2.5/unicodeobject.h:539: error: expected ';', ',' or ')' before '*' token
/usr/include/python2.5/unicodeobject.h:1102: error: 'PyUnicodeUCS2_Tailmatch' declared as function returning a function
/usr/include/python2.5/unicodeobject.h:1114: error: 'PyUnicodeUCS2_Find' declared as function returning a function
/usr/include/python2.5/unicodeobject.h:1123: error: 'PyUnicodeUCS2_Count' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:84,
                 from src/_namemapper.c:15:
/usr/include/python2.5/intobject.h:24: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/intobject.h:38: warning: parameter names (without types) in function declaration
/usr/include/python2.5/intobject.h:41: error: 'PyInt_AsSsize_t' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:86,
                 from src/_namemapper.c:15:
/usr/include/python2.5/longobject.h:25: error: '_PyLong_AsSsize_t' declared as function returning a function
/usr/include/python2.5/longobject.h:26: warning: parameter names (without types) in function declaration
/usr/include/python2.5/longobject.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_PyLong_NumBits'
/usr/include/python2.5/longobject.h:85: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/python2.5/longobject.h:108: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/python2.5/Python.h:87,
                 from src/_namemapper.c:15:

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 9:23 am
by th3joker
Cheetah error part 2:

Code: Select all

/usr/include/python2.5/floatobject.h:15: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:89,
                 from src/_namemapper.c:15:
/usr/include/python2.5/complexobject.h:39: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:92,
                 from src/_namemapper.c:15:
/usr/include/python2.5/stringobject.h:36: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/stringobject.h:36: error: field 'ob_size' declared as a function
/usr/include/python2.5/stringobject.h:67: error: 'PyString_Size' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:94,
                 from src/_namemapper.c:15:
/usr/include/python2.5/tupleobject.h:25: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/tupleobject.h:25: error: field 'ob_size' declared as a function
/usr/include/python2.5/tupleobject.h:40: error: 'PyTuple_Size' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:95,
                 from src/_namemapper.c:15:
/usr/include/python2.5/listobject.h:23: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/listobject.h:23: error: field 'ob_size' declared as a function
/usr/include/python2.5/listobject.h:38: error: field 'allocated' declared as a function
/usr/include/python2.5/listobject.h:47: error: 'PyList_Size' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:96,
                 from src/_namemapper.c:15:
/usr/include/python2.5/dictobject.h:55: error: field 'me_hash' declared as a function
/usr/include/python2.5/dictobject.h:71: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/dictobject.h:72: error: field 'ma_fill' declared as a function
/usr/include/python2.5/dictobject.h:73: error: field 'ma_used' declared as a function
/usr/include/python2.5/dictobject.h:79: error: field 'ma_mask' declared as a function
/usr/include/python2.5/dictobject.h:108: error: 'PyDict_Size' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:98,
                 from src/_namemapper.c:15:
/usr/include/python2.5/setobject.h:36: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/setobject.h:38: error: field 'fill' declared as a function
/usr/include/python2.5/setobject.h:39: error: field 'used' declared as a function
/usr/include/python2.5/setobject.h:45: error: field 'mask' declared as a function
/usr/include/python2.5/setobject.h:79: error: 'PySet_Size' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:99,
                 from src/_namemapper.c:15:
/usr/include/python2.5/methodobject.h:82: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:101,
                 from src/_namemapper.c:15:
/usr/include/python2.5/funcobject.h:22: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:102,
                 from src/_namemapper.c:15:
/usr/include/python2.5/classobject.h:13: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/classobject.h:24: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/classobject.h:31: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:103,
                 from src/_namemapper.c:15:
/usr/include/python2.5/fileobject.h:11: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/fileobject.h:12: error: expected specifier-qualifier-list before 'FILE'
/usr/include/python2.5/fileobject.h:38: error: expected ')' before '*' token
/usr/include/python2.5/fileobject.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/python2.5/fileobject.h:57: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/python2.5/fileobject.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Py_UniversalNewlineFread'
In file included from /usr/include/python2.5/Python.h:105,
                 from src/_namemapper.c:15:
/usr/include/python2.5/traceback.h:13: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:106,
                 from src/_namemapper.c:15:
/usr/include/python2.5/sliceobject.h:23: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:107,
                 from src/_namemapper.c:15:
/usr/include/python2.5/cellobject.h:10: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:109,
                 from src/_namemapper.c:15:
/usr/include/python2.5/genobject.h:13: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:110,
                 from src/_namemapper.c:15:
/usr/include/python2.5/descrobject.h:46: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/descrobject.h:50: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/descrobject.h:55: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/descrobject.h:60: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/descrobject.h:65: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:111,
                 from src/_namemapper.c:15:
/usr/include/python2.5/weakrefobject.h:16: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/weakrefobject.h:65: error: '_PyWeakref_GetWeakrefCount' declared as function returning a function
In file included from /usr/include/python2.5/Python.h:114,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pyerrors.h:10: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/pyerrors.h:17: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/pyerrors.h:31: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/pyerrors.h:44: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/pyerrors.h:52: error: field 'ob_refcnt' declared as a function
/usr/include/python2.5/pyerrors.h:326: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/python2.5/pyerrors.h:327: error: format string argument not a string type
/usr/include/python2.5/pyerrors.h:328: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/python2.5/pyerrors.h:329: error: format string argument not a string type
In file included from /usr/include/python2.5/Python.h:118,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pyarena.h:50: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/python2.5/Python.h:120,
                 from src/_namemapper.c:15:
/usr/include/python2.5/pythonrun.h:34: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:35: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:37: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:38: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:39: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:44: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:54: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:60: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:77: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:142: error: expected ')' before '*' token
/usr/include/python2.5/pythonrun.h:144: error: expected ')' before '*' token
In file included from /usr/include/python2.5/Python.h:122,
                 from src/_namemapper.c:15:
/usr/include/python2.5/sysmodule.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from /usr/include/python2.5/Python.h:124,
                 from src/_namemapper.c:15:
/usr/include/python2.5/import.h:33: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/python2.5/import.h:33: error: expected declaration specifiers or '...' before 'FILE'
In file included from /usr/include/python2.5/Python.h:126,
                 from src/_namemapper.c:15:
/usr/include/python2.5/abstract.h:421: error: 'PyObject_Size' declared as function returning a function
/usr/include/python2.5/abstract.h:433: error: 'PyObject_Length' declared as function returning a function
/usr/include/python2.5/abstract.h:436: error: '_PyObject_LengthHint' declared as function returning a function
/usr/include/python2.5/abstract.h:774: error: 'PyNumber_AsSsize_t' declared as function returning a function
/usr/include/python2.5/abstract.h:947: error: 'PySequence_Size' declared as function returning a function
/usr/include/python2.5/abstract.h:956: error: 'PySequence_Length' declared as function returning a function
/usr/include/python2.5/abstract.h:1078: error: 'PySequence_Count' declared as function returning a function
/usr/include/python2.5/abstract.h:1097: error: '_PySequence_IterSearch' declared as function returning a function
/usr/include/python2.5/abstract.h:1122: error: 'PySequence_Index' declared as function returning a function
/usr/include/python2.5/abstract.h:1161: error: 'PyMapping_Size' declared as function returning a function
/usr/include/python2.5/abstract.h:1171: error: 'PyMapping_Length' declared as function returning a function
In file included from /usr/include/python2.5/compile.h:5,
                 from /usr/include/python2.5/Python.h:128,
                 from src/_namemapper.c:15:
/usr/include/python2.5/code.h:11: error: field 'ob_refcnt' declared as a function
In file included from /usr/include/python2.5/Python.h:131,
                 from src/_namemapper.c:15:

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 9:24 am
by th3joker
Cheetah error part 3:

Code: Select all

/usr/include/python2.5/pystrtod.h:11: error: expected declaration specifiers or '...' before 'size_t'
src/_namemapper.c: In function 'setNotFoundException':
src/_namemapper.c:79: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:79: error: (Each undeclared identifier is reported only once
src/_namemapper.c:79: error: for each function it appears in.)
src/_namemapper.c:89: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:89: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c: In function 'wrapInternalNotFoundException':
src/_namemapper.c:95: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:115: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:115: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c: In function 'PyNamemapper_valueForKey':
src/_namemapper.c:168: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c: In function 'PyNamemapper_valueForName':
src/_namemapper.c:189: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:197: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:197: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:209: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:209: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:214: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:214: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:216: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:217: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:217: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:217: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:219: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:219: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:222: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:222: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c: In function 'namemapper_valueForKey':
src/_namemapper.c:244: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c: In function 'namemapper_valueForName':
src/_namemapper.c:260: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:271: warning: return from incompatible pointer type
src/_namemapper.c:274: warning: implicit declaration of function 'malloc'
src/_namemapper.c:274: warning: incompatible implicit declaration of built-in function 'malloc'
src/_namemapper.c:274: warning: implicit declaration of function 'strlen'
src/_namemapper.c:274: warning: incompatible implicit declaration of built-in function 'strlen'
src/_namemapper.c:274: warning: implicit declaration of function 'free'
src/_namemapper.c:274: warning: return from incompatible pointer type
src/_namemapper.c:279: warning: assignment from incompatible pointer type
src/_namemapper.c: In function 'namemapper_valueFromSearchList':
src/_namemapper.c:293: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:293: warning: initialization from incompatible pointer type
src/_namemapper.c:294: warning: initialization from incompatible pointer type
src/_namemapper.c:295: warning: initialization from incompatible pointer type
src/_namemapper.c:299: warning: initialization from incompatible pointer type
src/_namemapper.c:300: warning: initialization from incompatible pointer type
src/_namemapper.c:301: warning: initialization from incompatible pointer type
src/_namemapper.c:303: error: initializer element is not constant
src/_namemapper.c:303: error: (near initialization for 'kwlist[3]')
src/_namemapper.c:307: warning: return from incompatible pointer type
src/_namemapper.c:310: warning: incompatible implicit declaration of built-in function 'malloc'
src/_namemapper.c:310: warning: incompatible implicit declaration of built-in function 'strlen'
src/_namemapper.c:310: warning: return from incompatible pointer type
src/_namemapper.c:313: warning: comparison of distinct pointer types lacks a cast
src/_namemapper.c:319: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:319: error: lvalue required as decrement operand
src/_namemapper.c:319: error: lvalue required as decrement operand
src/_namemapper.c:319: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:319: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:319: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:319: warning: statement with no effect
src/_namemapper.c:319: warning: assignment from incompatible pointer type
src/_namemapper.c:320: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:320: error: lvalue required as decrement operand
src/_namemapper.c:320: error: lvalue required as decrement operand
src/_namemapper.c:320: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:320: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:320: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:320: warning: statement with no effect
src/_namemapper.c:322: warning: assignment from incompatible pointer type
src/_namemapper.c:327: warning: assignment from incompatible pointer type
src/_namemapper.c:333: warning: comparison of distinct pointer types lacks a cast
src/_namemapper.c:333: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:333: error: lvalue required as decrement operand
src/_namemapper.c:333: error: lvalue required as decrement operand
src/_namemapper.c:333: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:333: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:333: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:333: warning: statement with no effect
src/_namemapper.c: In function 'namemapper_valueFromFrameOrSearchList':
src/_namemapper.c:345: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:345: warning: initialization from incompatible pointer type
src/_namemapper.c:348: warning: initialization from incompatible pointer type
src/_namemapper.c:349: warning: initialization from incompatible pointer type
src/_namemapper.c:350: warning: initialization from incompatible pointer type
src/_namemapper.c:354: warning: initialization from incompatible pointer type
src/_namemapper.c:355: warning: initialization from incompatible pointer type
src/_namemapper.c:356: warning: initialization from incompatible pointer type
src/_namemapper.c:357: warning: initialization from incompatible pointer type
src/_namemapper.c:359: error: initializer element is not constant
src/_namemapper.c:359: error: (near initialization for 'kwlist[3]')
src/_namemapper.c:363: warning: return from incompatible pointer type
src/_namemapper.c:366: warning: incompatible implicit declaration of built-in function 'malloc'
src/_namemapper.c:366: warning: incompatible implicit declaration of built-in function 'strlen'
src/_namemapper.c:366: warning: return from incompatible pointer type
src/_namemapper.c:369: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:369: error: lvalue required as decrement operand
src/_namemapper.c:369: error: lvalue required as decrement operand
src/_namemapper.c:369: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:369: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:369: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:369: warning: statement with no effect
src/_namemapper.c:369: warning: assignment from incompatible pointer type
src/_namemapper.c:372: warning: comparison of distinct pointer types lacks a cast
src/_namemapper.c:377: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:377: error: lvalue required as decrement operand
src/_namemapper.c:377: error: lvalue required as decrement operand
src/_namemapper.c:377: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:377: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:377: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:377: warning: statement with no effect
src/_namemapper.c:377: warning: assignment from incompatible pointer type
src/_namemapper.c:378: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:378: error: lvalue required as decrement operand
src/_namemapper.c:378: error: lvalue required as decrement operand
src/_namemapper.c:378: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:378: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:378: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:378: warning: statement with no effect
src/_namemapper.c:380: warning: assignment from incompatible pointer type
src/_namemapper.c:385: warning: assignment from incompatible pointer type
src/_namemapper.c:390: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:390: error: lvalue required as decrement operand
src/_namemapper.c:390: error: lvalue required as decrement operand
src/_namemapper.c:390: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:390: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:390: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:390: warning: statement with no effect
src/_namemapper.c:390: warning: assignment from incompatible pointer type
src/_namemapper.c:393: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:393: error: lvalue required as decrement operand
src/_namemapper.c:393: error: lvalue required as decrement operand
src/_namemapper.c:393: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:393: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:393: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:393: warning: statement with no effect
src/_namemapper.c:393: warning: assignment from incompatible pointer type
src/_namemapper.c:397: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:397: error: lvalue required as decrement operand
src/_namemapper.c:397: error: lvalue required as decrement operand
src/_namemapper.c:397: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:397: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:397: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:397: warning: statement with no effect
src/_namemapper.c:400: warning: comparison of distinct pointer types lacks a cast
src/_namemapper.c:400: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:400: error: lvalue required as decrement operand
src/_namemapper.c:400: error: lvalue required as decrement operand
src/_namemapper.c:400: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:400: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:400: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:400: warning: statement with no effect
src/_namemapper.c: In function 'namemapper_valueFromFrame':
src/_namemapper.c:414: error: 'NULL' undeclared (first use in this function)
src/_namemapper.c:414: warning: initialization from incompatible pointer type
src/_namemapper.c:415: warning: initialization from incompatible pointer type
src/_namemapper.c:417: warning: initialization from incompatible pointer type
src/_namemapper.c:421: warning: initialization from incompatible pointer type
src/_namemapper.c:422: warning: initialization from incompatible pointer type
src/_namemapper.c:423: warning: initialization from incompatible pointer type
src/_namemapper.c:425: error: initializer element is not constant
src/_namemapper.c:425: error: (near initialization for 'kwlist[2]')
src/_namemapper.c:428: warning: return from incompatible pointer type
src/_namemapper.c:431: warning: incompatible implicit declaration of built-in function 'malloc'
src/_namemapper.c:431: warning: incompatible implicit declaration of built-in function 'strlen'
src/_namemapper.c:431: warning: return from incompatible pointer type
src/_namemapper.c:434: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:434: error: lvalue required as decrement operand
src/_namemapper.c:434: error: lvalue required as decrement operand
src/_namemapper.c:434: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:434: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:434: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:434: warning: statement with no effect
src/_namemapper.c:434: warning: assignment from incompatible pointer type
src/_namemapper.c:437: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:437: error: lvalue required as decrement operand
src/_namemapper.c:437: error: lvalue required as decrement operand
src/_namemapper.c:437: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:437: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:437: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:437: warning: statement with no effect
src/_namemapper.c:437: warning: assignment from incompatible pointer type
src/_namemapper.c:440: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:440: error: lvalue required as decrement operand
src/_namemapper.c:440: error: lvalue required as decrement operand
src/_namemapper.c:440: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:440: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:440: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:440: warning: statement with no effect
src/_namemapper.c:440: warning: assignment from incompatible pointer type
src/_namemapper.c:444: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:444: error: lvalue required as decrement operand
src/_namemapper.c:444: error: lvalue required as decrement operand
src/_namemapper.c:444: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:444: error: request for member 'tp_dealloc' in something not a structure or union
src/_namemapper.c:444: error: called object '*(char **)&<erroneous-expression>' is not a function
src/_namemapper.c:444: warning: statement with no effect
src/_namemapper.c: At top level:
src/_namemapper.c:459: error: 'NULL' undeclared here (not in a function)
src/_namemapper.c:459: error: initializer element is not constant
src/_namemapper.c:459: error: (near initialization for 'namemapper_methods[5].ml_name')
src/_namemapper.c:459: error: initializer element is not constant
src/_namemapper.c:459: error: (near initialization for 'namemapper_methods[5].ml_meth')
src/_namemapper.c: In function 'init_namemapper':
src/_namemapper.c:476: warning: passing argument 3 of 'PyErr_NewException' from incompatible pointer type
src/_namemapper.c:477: warning: passing argument 2 of 'PyErr_NewException' from incompatible pointer type
src/_namemapper.c:477: warning: passing argument 3 of 'PyErr_NewException' from incompatible pointer type
src/_namemapper.c:482: error: 'PyObject' has no member named 'ob_refcnt'
src/_namemapper.c:482: error: lvalue required as decrement operand
src/_namemapper.c:482: error: lvalue required as decrement operand
src/_namemapper.c:482: error: 'PyObject' has no member named 'ob_type'
src/_namemapper.c:482: error: 'struct PyMethodDef' has no member named 'tp_dealloc'
src/_namemapper.c:482: error: called object '*(struct PyMethodDef *)&<erroneous-expression>' is not a function
src/_namemapper.c:482: warning: statement with no effect
error: command 'arm-apple-darwin9-gcc' failed with exit status 1

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 9:45 am
by switch
SABnzbd comes with a copy of cheetah now, so it shouldn't need to be installed.

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 10:02 am
by th3joker
In the install guide for sabnzbd-0.4.2 it still says that you must install Cheetah when installing with source.

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 10:37 am
by switch
Sorry, got Cheetah confused with cherrypy there for a second :)

You can try just putting the "cheetah" folder inside the SABnzbd folder and not installing/compiling. I believe this should work, however it will be slower.

Re: SABnzbd on the iPhone?

Posted: July 29th, 2008, 11:07 am
by th3joker
No good, I then tried renaming the Cheetah-2.0.1 folder to both "cheetah" and "Cheetah"