Trials and Tribulations building DirectoryService
Trials and Tribulations building DirectoryService
- Subject: Trials and Tribulations building DirectoryService
- From: "Stephen J. Butler" <email@hidden>
- Date: Mon, 17 Aug 2009 14:22:49 -0500
I've spent way too many hours this weekend trying to build the Server
target of DirectoryService for 10.5.8. My latest problem, which I
don't quite know how to work around, is this:
In file included from
/SourceCache/DirectoryService/DirectoryService-514.25/PlugIns/Common/BaseDirectoryPlugin.h:41,
from
/SourceCache/DirectoryService/DirectoryService-514.25/PlugIns/Local/CDSLocalPlugin.h:38,
from
/SourceCache/DirectoryService/DirectoryService-514.25/Server/CServerPlugin.cpp:37:
/SourceCache/DirectoryService/DirectoryService-514.25/PlugIns/Common/CDSAuthParams.h:28:37:
error: PasswordServer/AuthFile.h: No such file or directory
/SourceCache/DirectoryService/DirectoryService-514.25/PlugIns/Common/CDSAuthParams.h:92:
error: 'PWGlobalAccessFeatures' does not name a type
/SourceCache/DirectoryService/DirectoryService-514.25/PlugIns/Common/CDSAuthParams.h:93:
error: 'PWGlobalMoreAccessFeatures' does not name a type
** BUILD FAILED **
Doing darwinxref findFile AuthFile.h nicely returns:
DSPasswordServerFramework:
/System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/Headers/AuthFile.h
But looking at the Compiler line, the problem becomes apparent:
/XCD/loper/usr/bin/gcc-4.0 -x c++ -arch ppc -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings \
-fasm-blocks -Os -mdynamic-no-pic -DDSSERVERTCP -DSERVERINTERNAL
-D__MigTypeCheck=1 \
-DHAVE_CORE_SERVER=1 -mtune=G4 -fvisibility-inlines-hidden
-mmacosx-version-min=10.5 \
-gdwarf-2 \
-I/private/var/tmp/DirectoryService/DirectoryService-514.25.obj/DirectoryService.build/Server.build/DirectoryService.hmap
\
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas \
-F/private/var/tmp/DirectoryService/DirectoryService-514.25.sym/BuiltProducts
\
-F/XCD/SY/Library/PrivateFrameworks \
-F/SourceCache/DirectoryService/DirectoryService-514.25/build/Development \
-I/private/var/tmp/DirectoryService/DirectoryService-514.25.obj \
-I/private/var/tmp/DirectoryService/DirectoryService-514.25.sym/BuiltProducts/include
\
-I/XCD/SY/Library/PrivateFrameworks/CoreServer.framework/Versions/A/Headers
\
-I/XCD/SY/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers
\
-I/AppleInternal/XCD/loper/Headers/sasl \
-I/private/var/tmp/DirectoryService/DirectoryService-514.25.obj/DirectoryService.build/Server.build/DerivedSources/ppc
\
-I/private/var/tmp/DirectoryService/DirectoryService-514.25.obj/DirectoryService.build/Server.build/DerivedSources
\
-fconstant-cfstrings -DHAVE_CORE_SERVER=1 \
-c /SourceCache/DirectoryService/DirectoryService-514.25/Server/CServerPlugin.cpp
\
-o /private/var/tmp/DirectoryService/DirectoryService-514.25.obj/DirectoryService.build/Server.build/Objects-normal/ppc/CServerPlugin.o
What is /XCD/SY/Library/PrivateFrameworks, and why isn't it looking in
/System/Library/PrivateFrameworks?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden