Tom,
I should have dug more deeply in the open source area on apple.com.
There is a samba package ported to Darwin. The trick is to apply the
same diff's to 3.0.8 as Apple did to 3.0.5 ( and pray I did not mess
up).
Andrew
On Nov 10, 2004, at 5:31 PM, Tom Kobialka wrote:
Hi Andrew,
I am not familiar with SAMBA so this solution may or may not work,
but its worth a try at least. Try replacing the LDSHFLAGS
"-flat_namespace -undefined suppress" with "-undefined
dynamic_lookup", and "setenv MACOSX_DEPLOYMENT_TARGET 10.3" prior to
recompiling. In my past experiences "-flat_namespace" doesn't seem to
sit well with Mac OS X. Have a look at the porting documentation on
the Apple website which explains the technical details of this issue.
Cheers
Tom
Andrew Cunningham wrote:
I am trying to build SAMBA 3.0.8 - does anyone have clues as to why
it might be failing? ( Current version on OS X is 3.0.5 which is
causing me some serious issues, fixed in later SAMBA's). Clearly the
samba configure script is buggy, but I am hoping someone might have a
quick fix.
I simply did ( on 10.3.6 with latest developer tools)
./configure;make
...
...
Using FLAGS = -O -I./popt -Iinclude
-I/Users/admin/Documents/samba-3.0.8/source/include
-I/Users/admin/Documents/samba-3.0.8/source/ubiqx
-I/Users/admin/Documents/samba-3.0.8/source/smbwrapper -I.
-I/sw/include -I/Users/admin/Documents/samba-3.0.8/source
LIBS = -lresolv -ldl -liconv
LDSHFLAGS = -bundle -flat_namespace -undefined suppress
-L/sw/lib
LDFLAGS = -L/sw/lib
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:209: error: `krb5_krbhst_handle' undeclared (first
use in this function)
libsmb/clikrb5.c:209: error: (Each undeclared identifier is reported
only once
libsmb/clikrb5.c:209: error: for each function it appears in.)
libsmb/clikrb5.c:209: error: parse error before "hnd"
libsmb/clikrb5.c:210: error: `krb5_krbhst_info' undeclared (first use
in this function)
libsmb/clikrb5.c:210: error: `hinfo' undeclared (first use in this
function)
libsmb/clikrb5.c:219: error: `KRB5_KRBHST_KDC' undeclared (first use
in this function)
libsmb/clikrb5.c:219: error: `hnd' undeclared (first use in this
function)
( PS according to the samba developers, they do not have an OS X box
to test the latest builds on - I find that a bit odd considering
SAMBA is one of the key open source technologies in OS X - maybe
Apple could ship them a test machine?)
Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/unix-porting/
email@hidden
This email sent to email@hidden
--
Tom Kobialka
HPC Programmer (Data Grids)
APAC National Facility
Australian National University, Canberra, ACT 2600
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden