I'm trying to install CalendarServer on a Tiger Server (10.4.11) Xserve g4. I installed Python 2.5 with the help of MacPorts, so Python 2.5 is stored in /opt/local/* When I run './run -s', it compile and install a lot of stuff, but it's stuck at : /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/ Versions/2.5/include/python2.5 -c src/CDirectoryServiceAuth.cpp -o build/temp.macosx-10.4-ppc-2.5/src/CDirectoryServiceAuth.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationBasicToNode(const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:147: error: '::dsFillAuthBuffer' has not been declared src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationDigestToNode(const char*, const char*, const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:228: error: '::dsFillAuthBuffer' has not been declared error: command '/usr/bin/gcc-4.0' failed with exit status 1 If it helps : staging:/usr/local/CalendarServer root# gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple- darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367) ------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
I believe my thread from mid January "Problem building PyOpenDirectory" may shed some light. In essence Open Directory now requires an API available only in 10.5. Regards, Mark On 2/27/09 12:25 PM, "Pascal Robert" <probert@macti.ca> wrote:
I'm trying to install CalendarServer on a Tiger Server (10.4.11) Xserve g4. I installed Python 2.5 with the help of MacPorts, so Python 2.5 is stored in /opt/local/*
When I run './run -s', it compile and install a lot of stuff, but it's stuck at :
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/ Versions/2.5/include/python2.5 -c src/CDirectoryServiceAuth.cpp -o build/temp.macosx-10.4-ppc-2.5/src/CDirectoryServiceAuth.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationBasicToNode(const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:147: error: '::dsFillAuthBuffer' has not been declared src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationDigestToNode(const char*, const char*, const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:228: error: '::dsFillAuthBuffer' has not been declared error: command '/usr/bin/gcc-4.0' failed with exit status 1
If it helps :
staging:/usr/local/CalendarServer root# gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple- darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367)
------------------------------------------------------- Pascal Robert
http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti
Skype: MacTICanada AIM/iChat : MacTICanada
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
Ok, so I tried the 1.3 and the 1.2 releases. and both are giving : Traceback (most recent call last): File "./setup.py", line 3, in <module> import ez_setup File "/usr/local/xattr/ez_setup/__init__.py", line 59, in <module> except ImportError: from md5 import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5
I believe my thread from mid January "Problem building PyOpenDirectory" may shed some light. In essence Open Directory now requires an API available only in 10.5.
Regards,
Mark
On 2/27/09 12:25 PM, "Pascal Robert" <probert@macti.ca> wrote:
I'm trying to install CalendarServer on a Tiger Server (10.4.11) Xserve g4. I installed Python 2.5 with the help of MacPorts, so Python 2.5 is stored in /opt/local/*
When I run './run -s', it compile and install a lot of stuff, but it's stuck at :
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/ Versions/2.5/include/python2.5 -c src/CDirectoryServiceAuth.cpp -o build/temp.macosx-10.4-ppc-2.5/src/CDirectoryServiceAuth.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationBasicToNode(const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:147: error: '::dsFillAuthBuffer' has not been declared src/CDirectoryServiceAuth.cpp: In member function 'bool CDirectoryServiceAuth::NativeAuthenticationDigestToNode(const char*, const char*, const char*, const char*, const char*)': src/CDirectoryServiceAuth.cpp:228: error: '::dsFillAuthBuffer' has not been declared error: command '/usr/bin/gcc-4.0' failed with exit status 1
If it helps :
staging:/usr/local/CalendarServer root# gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] [^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple- darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367)
------------------------------------------------------- Pascal Robert
http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti
Skype: MacTICanada AIM/iChat : MacTICanada
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
Hi Pascal, --On February 27, 2009 3:23:59 PM -0500 Pascal Robert <probert@macti.ca> wrote:
Ok, so I tried the 1.3 and the 1.2 releases. and both are giving :
Traceback (most recent call last): File "./setup.py", line 3, in <module> import ez_setup File "/usr/local/xattr/ez_setup/__init__.py", line 59, in <module> except ImportError: from md5 import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2. 5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2. 5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2. 5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5
Try Python 2.4 with the /releases/ branches. Trunk requires 2.5 - early ones 2.4. Note, if you do not intend to use OpenDirectory for your user records, edit the run script to disable building PyOpenDirectory. -- Cyrus Daboo
Le 09-02-27 à 15:31, Cyrus Daboo a écrit :
Hi Pascal,
--On February 27, 2009 3:23:59 PM -0500 Pascal Robert <probert@macti.ca
wrote:
Ok, so I tried the 1.3 and the 1.2 releases. and both are giving :
Traceback (most recent call last): File "./setup.py", line 3, in <module> import ez_setup File "/usr/local/xattr/ez_setup/__init__.py", line 59, in <module> except ImportError: from md5 import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5
Try Python 2.4 with the /releases/ branches. Trunk requires 2.5 - early ones 2.4.
Note, if you do not intend to use OpenDirectory for your user records, edit the run script to disable building PyOpenDirectory.
I removed the PyOpenDirectory block from CalendarServer (checkout from trunk) and I get the same _md5 error :-/ I guess I will use 1.3 and remove Python 2.5 from the ports.
Le 09-02-27 à 16:04, Pascal Robert a écrit :
Le 09-02-27 à 15:31, Cyrus Daboo a écrit :
Hi Pascal,
--On February 27, 2009 3:23:59 PM -0500 Pascal Robert <probert@macti.ca
wrote:
Ok, so I tried the 1.3 and the 1.2 releases. and both are giving :
Traceback (most recent call last): File "./setup.py", line 3, in <module> import ez_setup File "/usr/local/xattr/ez_setup/__init__.py", line 59, in <module> except ImportError: from md5 import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/md5.py", line 6, in <module> from hashlib import md5 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2. 5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5
Try Python 2.4 with the /releases/ branches. Trunk requires 2.5 - early ones 2.4.
Note, if you do not intend to use OpenDirectory for your user records, edit the run script to disable building PyOpenDirectory.
I removed the PyOpenDirectory block from CalendarServer (checkout from trunk) and I get the same _md5 error :-/ I guess I will use 1.3 and remove Python 2.5 from the ports.
Something's wrong. Checkout of 1.2 or 1.3 give me the same revision number : staging:/usr/local root# /opt/local/bin/svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/tags/... CalendarServer ... Checked out revision 3760. staging:/usr/local root# /opt/local/bin/svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/tags/... ... Checked out revision 3760. And both of them : # ./run -s No suitable python found.
Hi Pascal, --On February 27, 2009 4:22:21 PM -0500 Pascal Robert <probert@macti.ca> wrote:
I removed the PyOpenDirectory block from CalendarServer (checkout from trunk) and I get the same _md5 error :-/ I guess I will use 1.3 and remove Python 2.5 from the ports.
Something's wrong. Checkout of 1.2 or 1.3 give me the same revision number :
staging:/usr/local root# /opt/local/bin/svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/ta gs/release/CalendarServer-1.2 CalendarServer ... Checked out revision 3760.
staging:/usr/local root# /opt/local/bin/svn checkout http://svn.calendarserver.org/repository/calendarserver/CalendarServer/ta gs/release/CalendarServer-1.3 ... Checked out revision 3760.
And both of them :
# ./run -s No suitable python found.
Go back to trunk and stick with Python 2.5 and comment out PyOpenDirectory. -- Cyrus Daboo
participants (3)
-
Cyrus Daboo
-
Mark Cockfield
-
Pascal Robert