Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
Hi,

thanks to kryten2 even as a beginner I was able to compile Samba 4.1.14 on OS X successfully.
Since my question isn't only regarding the process of compiling Samba but in general everything that is being installed with ./configure, make and make install I've started this new thread.

I noticed that after Samba's make install the source folder could not be deleted since multiple files were being actively used. I checked the make install Terminal output and all these files had "linking" in common, one example:
[3291/4024] Linking default/lib/tevent/libtevent.inst.dylib

I've read so far that a source directory could be deleted safely after make install but should be saved for a clean make uninstall if one should choose to remove the installed software.

Is this behavior of linking files from the source directory to be used after the installation process has completed "sloppy"? Can this be avoided so the required files are copied somewhere into the newly created main program directory?

Thanks for your advice!
 
Last edited:

mfram

Contributor
Jan 23, 2010
1,307
343
San Diego, CA USA
In this context, "linking" is an operation to create the library. As in "compile and link". It is not "linking" the file to the source directory as in a Unix symbolic link. Don't worry about it.

See Wikipedia
 

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
Thank you for the feedback!

I'm more annoyed with than worried about this since the first time (in a VM) the source directory was left in /Username/Downloads/ and I didn't really want to leave it there and deleting it was not possible.

I guess "linking" was not the proper terminology, I apologize.

Since /usr/local/samba/ is the default Samba install directory I now place the source folder next to it in /usr/local/samba-x.x.xx/ and let it rest in peace so it isn't popping out in the every day operation of the computer. Or is this a big no-no?
 
Last edited:

mfram

Contributor
Jan 23, 2010
1,307
343
San Diego, CA USA
Not really sure what you are asking. If you executed the 'make install' operation with 'sudo' to put the compiled files in /usr/local/samba/... then, no, you don't need to keep the source directory around.

Whether the compiled files are useful in /usr/local/samba/... is another manner. You haven't replaced the built-in Windows file sharing functionality on your Mac, you've installed another version in parallel. If you use the standard 'Share Files' functionality on the Mac Preferences screen, it is going to continue to use the built-in version.

You would have to disable the Mac version and manually start the new version you installed in /usr/local/samba. Is that your question?
 

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
Thank you for engaging in this topic!

No, I do know how to disable Apple's SMB and configure a finished Samba installation. Samba is currently up and running and working properly - BUT for some reason the running Samba services use files from the original source directory (a lot of .dylib files get mentioned if you try to empty the trash with the source folder in it) - this is why I started this topic in the first place, since I find that rather odd. If you ignore all warnings and really delete the files Samba stops working.

Maybe the Terminal outputs can help (these were made with the source directory in /Username/Downloads/):

./configure http://pastebin.com/vCCaMqi7

make http://pastebin.com/9kz052Nj

sudo make install http://pastebin.com/RNrByBHv

The changes made to the source files /lib/crypto/md5.h and /source3/wscript are explained in the other thread - I assume they are legit:

https://forums.macrumors.com/threads/1828174/

Again, thanks for any help!
 

subsonix

macrumors 68040
Feb 2, 2008
3,551
79
No, I do know how to disable Apple's SMB and configure a finished Samba installation. Samba is currently up and running and working properly - BUT for some reason the running Samba services use files from the original source directory (a lot of .dylib files get mentioned if you try to empty the trash with the source folder in it) - this is why I started this topic in the first place, since I find that rather odd.

The install process creates a /usr/local/samba/lib directory which is where I would expect these libraries to be placed. You can not remove .dylib files that the application uses, they are linked at run-time. It's possible to find out where the application is expecting to find these libraries with: otool -L /path/to/samba.
 

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
The install process creates a /usr/local/samba/lib directory which is where I would expect these libraries to be placed. You can not remove .dylib files that the application uses, they are linked at run-time. It's possible to find out where the application is expecting to find these libraries with: otool -L /path/to/samba.

Thank you for your response. I get the idea and unterstand the concept of necessary libraries.
When I execute "otool -L /usr/local/samba" I'll get:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't map file: /usr/local/samba (Invalid argument)

It's weird that samba doesn't use the libraries in /usr/local/samba/lib but the ones in its source directory.
 

subsonix

macrumors 68040
Feb 2, 2008
3,551
79
Thank you for your response. I get the idea and unterstand the concept of necessary libraries.
When I execute "otool -L /usr/local/samba" I'll get:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't map file: /usr/local/samba (Invalid argument)

Yes but isn't /usr/local/samba is a directory? I supplemented the path with "/path/to/samba" since I don't know where the executable file is placed exactly, and the fact that /usr/local/samba/lib seems to exist indicates that it is indeed a directory.
 

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
Yes but isn't /usr/local/samba is a directory? I supplemented the path with "/path/to/samba" since I don't know where the executable file is placed exactly, and the fact that /usr/local/samba/lib seems to exist indicates that it is indeed a directory.

*Edit* sorry, dumb mistake, here is the correct terminal output:#
Code:
/usr/local/samba/sbin/smbd:
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.17.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libsamba-util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbd_base.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/tevent/libtevent.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libutil_setid.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/talloc/libtalloc.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/replace/libreplace.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbregistry.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libprinting_migrate.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libgssapi-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libtevent-util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libndr-samba.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/dfs_server/libdfs_server_ad.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libnet_keytab.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/auth/libcliauth.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/util/liberrors.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libnetapi.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/dsdb/libsamdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbd_conn.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/tdb_compat/libtdb_compat.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsamba3-util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libutil_tdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/named_pipe_auth/libnpa_tstream.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/security/libsamba-security.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/auth/libauth_sam_reply.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libpopt_samba3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/tdb/libtdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/socket/libinterfaces.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/auth/libauth.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/liblibsmb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libmsrpc3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/ccan/libccan.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/dbwrap/libdbwrap.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbconf.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/krb5_wrap/libkrb5samba.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libdcerpc-samba.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libndr-krb5pac.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/libsamba-sockets.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libndr.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libpdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/registry/libutil_reg.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbd_shim.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libcli_spoolss.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libkrb5-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libroken-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libasn1-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libhcrypto-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libcom_err-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libwind-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libndr-standard.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libasn1util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libndr-nbt.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libads.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/param/libsamba-hostconfig.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/liblibcli_netlogon3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libutil_cmdline.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/dsdb/libsamdb-common.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/ldb/libldb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/ldap/libcli-ldap-common.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/auth/kerberos/libauthkrb5.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/ldb-samba/libldbsamba.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/auth/credentials/libsamba-credentials.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/popt/libpopt.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/liblibcli_lsa3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libtrusts_util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/auth/ntlm/libauth4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/auth/gensec/libgensec.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/addns/libaddns.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/nsswitch/libwbclient/libwbclient.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/cldap/libcli_cldap.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/smb/libcli_smb_common.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libgse.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/librpc/libdcerpc-binding.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/tdb_wrap/libtdb-wrap.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libutil_ntdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libCHARSET3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/lib/events/libevents.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libds/common/libflag_mapping.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbldap.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsmbldaphelper.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source3/libsecrets3.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libheimbase-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/heimdal_build/libhx509-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/param/libserver-role.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/ldb/libpyldb-util.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/util/libsamba-modules.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/lib/messaging/libMESSAGING.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/librpc/libndr-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/libcli/wbclient/libLIBWBCLIENT_OLD.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/auth/libauth_unix_token.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/librpc/libdcerpc.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/librpc/libdcerpc-samba4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/nsswitch/libwinbind-client.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/libcli/ldap/libcli-ldap.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/smb/libsmb_transport.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/lib/ntdb/libntdb.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/cluster/libcluster.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/libcli/nbt/libcli-nbt.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/libcli/libsmbclient-raw.dylib (compatibility version 0.0.0, current version 0.0.0)
	/Users/u-vmw-mav/Downloads/samba-4.1.14/bin/default/source4/lib/socket/libnetif.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libcups.2.dylib (compatibility version 2.0.0, current version 2.10.0)
	/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP (compatibility version 1.0.0, current version 2.4.0)
	/usr/lib/libsasl2.2.dylib (compatibility version 3.0.0, current version 3.15.0)
	/System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.5)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/usr/lib/libpam.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)

I've made copies of the activity monitor's analysis of the two running Samba processes (PID 86 and 112), maybe these also help.

smbd PID 86: http://pastebin.com/5xKTZ5WD

smbd PID 112: http://pastebin.com/Eq40upc4

There you see that the source directory /Users/u-vmw-mav/Downloads/samba-4.1.14/ is still relevant to the installed Samba although it should (?) all be executed from /usr/local/samba/...
Or am I missing something obvious?
 
Last edited:

subsonix

macrumors 68040
Feb 2, 2008
3,551
79
There you see that the source directory /Users/u-vmw-mav/Downloads/samba-4.1.14/ is still relevant to the installed Samba although it should (?) all be executed from /usr/local/samba/...
Or am I missing something obvious?

No I agree that seems like an odd location. Perhaps check with the samba community and see if there's a mailing list or forum or something. If you have followed the steps exactly for the installation, then just out of speculation it seems like there could be an issue with the config or make file.
 

JohnnieBBadde

macrumors regular
Original poster
Dec 11, 2014
119
103
No I agree that seems like an odd location. Perhaps check with the samba community and see if there's a mailing list or forum or something. If you have followed the steps exactly for the installation, then just out of speculation it seems like there could be an issue with the config or make file.

I just downloaded the compressed source directly from samba.org and did "./configure", "make" and "make install", but I had to make changes to two files without them compiling Samba with OS X seems to be impossible.

Can you assess if these changes in the md5.h and wscript file can lead to this strange behavior or are these completely separate issues?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.