[CalendarServer-users] Problem building PyOpenDirectory

Mark Cockfield mark.cockfield at gmail.com
Fri Jan 16 13:43:41 PST 2009


Just updated to latest in trunk and tried to do a ./run ­f. I seem to have
an issue in the build of PyOpenDirectory, something to do with
³Œ::dsFillAuthBuffer¹ has not been declared².

I am running Python 2.6.1 and have recently upgraded the Xcode tools, but I
am quite certain I went through the same process after those changes.

Any thoughts would be most appreceiated.

Regards,

Mark

Building PyOpenDirectory...
running build
running build_py
creating build
creating build/lib.macosx-10.3-ppc-2.6
copying pysrc/dsattributes.py -> build/lib.macosx-10.3-ppc-2.6
copying pysrc/dsquery.py -> build/lib.macosx-10.3-ppc-2.6
running build_ext
building 'opendirectory' extension
creating build/temp.macosx-10.3-ppc-2.6
creating build/temp.macosx-10.3-ppc-2.6/src
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
src/PythonWrapper.cpp -o build/temp.macosx-10.3-ppc-2.6/src/PythonWrapper.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
src/PythonWrapper.cpp:301: warning: ŒPyObject*
CFDictionaryDictionaryToPyDict(const __CFDictionary*)¹ defined but not used
src/PythonWrapper.cpp:301: warning: ŒPyObject*
CFDictionaryDictionaryToPyDict(const __CFDictionary*)¹ defined but not used
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
src/CDirectoryServiceManager.cpp -o
build/temp.macosx-10.3-ppc-2.6/src/CDirectoryServiceManager.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
src/CDirectoryService.cpp -o
build/temp.macosx-10.3-ppc-2.6/src/CDirectoryService.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
src/CDirectoryServiceAuth.cpp -o
build/temp.macosx-10.3-ppc-2.6/src/CDirectoryServiceAuth.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
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
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
lipo: can't figure out the architecture type of:
/var/folders/2v/2vAqLAMY2RCCS++BYrKIVU+++TI/-Tmp-//cc5Kbyyk.out
error: command 'gcc' failed with exit status 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20090116/04b3a081/attachment.html>


More information about the calendarserver-users mailing list