[Samba] Darwin Install

Andrew Kordik macwiz at earthlink.net
Mon May 17 02:58:28 GMT 2004


I am a Mac OS X.2 user and I'm not completely familiar with Darwin Unix 
but I have come upon a need to install Samba 3.0.4 on a PPC G4.  I Have 
an install manual that came with Apple Developers package and I 
followed the directions.  The manual told me to run this command:

./configure --with-syslog --prefix=/etc/samba \
   --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/etc/samba 
--mandir=/usr/share/man

This Generated an immense amount of information some interesting lines 
include:

configure: WARNING: rpcsvc/yp_prot.h: present but cannot be compiled
configure: WARNING: rpcsvc/yp_prot.h: check for missing prerequisite 
headers?
configure: WARNING: rpcsvc/yp_prot.h: proceeding with the 
preprocessor's result

and

configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result

and


configure: WARNING: Sufficient support for iconv function was not found.
     Install libiconv from http://freshmeat.net/projects/libiconv/ for 
better charset compatibility!

these did not result in a final error message so I followed the next 
step to type  the following command

make

when I do this the following is the result in the terminal

Using FLAGS =  -O -I./popt -Iinclude 
-I/Users/andy/samba/samba-3.0.4/source/include 
-I/Users/andy/samba/samba-3.0.4/source/ubiqx 
-I/Users/andy/samba/samba-3.0.4/source/smbwrapper  -I. -I/sw/include 
-I/Users/andy/samba/samba-3.0.4/source
       LIBS =
       LDSHFLAGS = -bundle -flat_namespace -undefined suppress  -L/sw/lib
       LDFLAGS = -L/sw/lib
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:139: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
libsmb/clikrb5.c:123: illegal external declaration, missing `;' after 
`__ERROR_XX_UNKNOWN_CREATE_KEY_FUNCTIONS'
libsmb/clikrb5.c:188: undefined type, found `krb5_krbhst_handle'
libsmb/clikrb5.c:189: undefined type, found `krb5_krbhst_info'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make: *** [libsmb/clikrb5.o] Error 1
[John-P-Kordik-Jrs-Computer:samba/samba-3.0.4/source] andy# make
Using FLAGS =  -O -I./popt -Iinclude 
-I/Users/andy/samba/samba-3.0.4/source/include 
-I/Users/andy/samba/samba-3.0.4/source/ubiqx 
-I/Users/andy/samba/samba-3.0.4/source/smbwrapper  -I. -I/sw/include 
-I/Users/andy/samba/samba-3.0.4/source
       LIBS =
       LDSHFLAGS = -bundle -flat_namespace -undefined suppress  -L/sw/lib
       LDFLAGS = -L/sw/lib
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:139: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
libsmb/clikrb5.c:123: illegal external declaration, missing `;' after 
`__ERROR_XX_UNKNOWN_CREATE_KEY_FUNCTIONS'
libsmb/clikrb5.c:188: undefined type, found `krb5_krbhst_handle'
libsmb/clikrb5.c:189: undefined type, found `krb5_krbhst_info'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make: *** [libsmb/clikrb5.o] Error 1


If I have omitted any info that  may be relevant let me know. thanks 
for the help

Thanks
Andrew


More information about the samba mailing list