Does anyone have achieved a succesfull install of the PyMSNt module on mac OS X 10.4.7 running ejabberd (process-one 1.1.1 install)?
My problem is with dependency... the whole 'twisted reactor thing' is a real trouble for me on mac.
Following the official installation instruction from
'swanturcotte:~/Twisted-2.4.0/ZopeInterface-3.1.0c1 swan$ python setup.py buildrunning build
running build_py
running build_ext
building 'zope.interface._zope_interface_coptimizations' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -IDependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c -o build/temp.macosx-10.4-fat-2.4/Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.o
gcc: installation problem, cannot exec 'i686-apple-darwin8-gcc-4.0.0': No such file or directory
In file included from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:18:20: error: limits.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:21:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:25:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:32:19: error: stdio.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:34:5: error: #error "Python.h requires that stdio.h define NULL."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:37:20: error: string.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:38:19: error: errno.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:39:20: error: stdlib.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:41:20: error: unistd.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:53:20: error: assert.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:90:76: error: math.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:97:22: error: sys/time.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:98:18: error: time.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:116:24: error: sys/select.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:155:22: error: sys/stat.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:395:21: error: termios.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396: warning: 'struct winsize' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396: warning: its scope is only this definition or declaration, which is probably not what you want
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:396: warning: 'struct termios' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397: warning: 'struct winsize' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:397: warning: 'struct termios' declared inside parameter list
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:74,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pymem.h:50: warning: parameter names (without types) in function declaration
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pymem.h:51: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:76,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/object.h:227: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/object.h:371: error: parse error before "FILE"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:77,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:97: warning: parameter names (without types) in function declaration
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:98: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/objimpl.h:292: warning: parameter names (without types) in function declaration
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:81,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/unicodeobject.h:55:19: error: ctype.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/unicodeobject.h:118:21: error: wchar.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:81,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/unicodeobject.h:511: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/unicodeobject.h:529: error: parse error before '*' token
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:84,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/longobject.h:63: error: parse error before "_PyLong_NumBits"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/longobject.h:63: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/longobject.h:79: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/longobject.h:102: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:90,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/stringobject.h:10:20: error: stdarg.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:90,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/stringobject.h:63: error: parse error before "va_list"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:101,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:12: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:12: warning: no semicolon at end of struct or union
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:15: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:28: error: parse error before '}' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:28: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:38: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:39: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:40: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:57: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:58: error: parse error before "Py_UniversalNewlineFread"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:58: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/fileobject.h:58: warning: data definition has no type or storage class
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:112,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyerrors.h:226: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyerrors.h:228: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:116,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/modsupport.h:20: error: parse error before "va_list"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/modsupport.h:22: error: parse error before "va_list"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/modsupport.h:23: error: parse error before "va_list"
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:117,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:32: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:33: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:35: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:36: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:40: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:41: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:42: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:43: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:44: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:45: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:46: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:49: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:55: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:59: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:60: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:64: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:66: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:82: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:123: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pythonrun.h:125: error: parse error before '*' token
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:119,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/sysmodule.h:12: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/sysmodule.h:12: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/sysmodule.h:12: warning: data definition has no type or storage class
In file included from /Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:121,
from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/import.h:25: error: parse error before "size_t"
In file included from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:15:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:131: error: parse error before "size_t"
In file included from Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:16:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/structmember.h:10:39: error: stddef.h: No such file or directory
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'import_declarations':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:36: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:36: error: (Each undeclared identifier is reported only once
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:36: error: for each function it appears in.)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'implementedByFallback':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:79: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'implementedBy':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:91: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'getObjectSpecification':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:147: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'providedBy':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:175: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'inst_attr':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:248: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'Spec_extends':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:258: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'Spec_providedBy':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:287: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: In function 'Spec_implementedBy':
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:313: error: 'NULL' undeclared (first use in this function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c: At top level:
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: 'NULL' undeclared here (not in a function)
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: (near initialization for 'Spec_methods[3].ml_name')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: (near initialization for 'Spec_methods[3].ml_meth')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:336: error: (near initialization for 'Spec_methods[3]')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:340: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:340: error: (near initialization for 'SpecType.ob_type')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:388: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:388: error: (near initialization for 'OSDType.ob_type')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:453: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:453: error: (near initialization for 'CPBType.ob_type')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: (near initialization for 'm_methods[3].ml_name')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: (near initialization for 'm_methods[3].ml_meth')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: (near initialization for 'm_methods[3].ml_doc')
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: initializer element is not constant
Dependencies/zope.interface-ZopeInterface-3.1.0c1/zope.interface/_zope_interface_coptimizations.c:499: error: (near initialization for 'm_methods[3]')
lipo: can't figure out the architecture type of: /var/tmp//ccNmCe87.out
error: command 'gcc' failed with exit status 255'
Also, where to put the PyMSNt folder? I figured the 'lib' folder inside ejabberd would do but I am not sure.
Thanks for the help.
Ask PyMSNt or Twisted
I am stuck at '2. Install Twisted'
If it's a problem installing a dependency of PyMSNt, ask PyMSNt, or Twisted directly.
Also, where to put the PyMSNt folder? I figured the 'lib' folder inside ejabberd would do but I am not sure.
PyMSNt and ejabberd communicate using TCP/IP, so the directory where you install any of them does not matter.
Almost there
Hey thanks, somehow I got from one website to the other, puting all the pieces together, and I am alomost there now...
Swan
please to hear outcome
Swan,
It would be great if you could post the instructions - once you get this running.
tim