[darwinbuild] Problem compiling samba

Antoine Duchâteau ad at taktik.be
Fri Aug 26 05:57:24 PDT 2005


Hi,

I'm trying to compile samba from build 8C46. Compilation fails during  
configure with :

checking for gcc... gcc
checking for C compiler default output file name... configure: error:  
C compiler cannot create executables

Looking inside BuildRoot/var/tmp/samba/samba-92.9.obj/config.log

the problem seems to be that ByteRangeLocking framework is missing:

configure:2077: gcc -arch ppc -arch i386 -g -Os -pipe -mdynamic-no- 
pic  -no-cpp-precomp -I/SourceCache/samba/samba-92.9/ 
libopendirectorycommon -F/System/Library/PrivateFrameworks - 
DUSES_RECVFROM -DWITH_OPENDIRECTORY -DWITH_MEMBERD -DUSES_KEYCHAIN - 
DWITH_BRLM -pipe -no-cpp-precomp -arch ppc -arch i386  -arch ppc - 
arch i386             -framework Security -framework CoreFoundation - 
framework DirectoryService -framework ByteRangeLocking -L/private/var/ 
tmp/samba/samba-92.9.obj -lopendirectorycommon conftest.c  >&5
ld: for architecture ppc
ld: can't locate framework for: -framework ByteRangeLocking

g5tv:/Volumes/Builds/Build8C46 root# ls -la BuildRoot/System/Library/ 
Frameworks/
total 0
drwxr-xr-x   14 root  wheel  476 Aug 26 14:42 .
drwxr-xr-x   10 root  wheel  340 Aug 26 14:42 ..
dr-xr-xr-x    6 root  wheel  204 Apr 11 06:26 AppleTalk.framework
dr-xr-xr-x    9 root  wheel  306 Apr 27 05:46 CoreFoundation.framework
drwxr-xr-x    5 root  wheel  170 May 12 02:21 CoreServices.framework
dr-xr-xr-x    7 root  wheel  238 Apr 15 20:33 DirectoryService.framework
dr-xr-xr-x    7 root  wheel  238 Apr 11 06:53 DiskArbitration.framework
dr-xr-xr-x    7 root  wheel  238 Apr 28 03:17 IOKit.framework
drwxr-xr-x    7 root  wheel  238 Apr 15 04:55 Kerberos.framework
drwxr-xr-x    6 root  wheel  204 Aug 26 14:42 Kernel.framework
drwxr-xr-x    6 root  wheel  204 Apr 14 20:57 LDAP.framework
dr-xr-xr-x    7 root  wheel  238 Apr 15 22:19 Security.framework
drwxr-xr-x    8 root  wheel  272 Apr 11 02:39 System.framework
dr-xr-xr-x    7 root  wheel  238 Apr 12 03:43  
SystemConfiguration.framework

g5tv:/Volumes/Builds/Build8C46 root# ls -la BuildRoot/System/Library/ 
PrivateFrameworks/
total 8
drwxr-xr-x    6 root  wheel  204 Aug 26 14:42 .
drwxr-xr-x   10 root  wheel  340 Aug 26 14:42 ..
dr-xr-xr-x    6 root  wheel  204 Apr 15 20:33  
DirectoryServiceCore.framework
lrwxrwxrwx    1 root  wheel   52 Aug 26 14:42  
DiskArbitration.framework -> /System/Library/Frameworks/ 
DiskArbitration.framework
dr-xr-xr-x    7 root  wheel  238 Apr 11 03:44 NetInfo.framework
dr-xr-xr-x    6 root  wheel  204 Apr 12 02:20 PasswordServer.framework


Do you have any idea of which dependency is missing ?

Thanks,
Antoine



______________________
Antoine Duchâteau
Development Manager
TAKTIK - www.taktik.be
Avenue du général de gaulle, 46
B-1050 Bruxelles
-------------------
Email: ad at taktik.be - iChatAV aduchate at mac.com
Mobile: 32 (499) 534.536


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20050826/c6eeae5b/attachment.html


More information about the darwinbuild-dev mailing list