[Samba] creating an ubuntu package of version 4.1.0

bugblatterbeast samba at bugblatterbeast.de
Tue Oct 29 13:51:20 MDT 2013


Hi,

     to build an ubuntu-package of samba4.1.0, I'm using a slightly 
modified debian package-configuration from a previous version. I created 
a quilt-patch (attached to this email) that sets the DISABLE_NTDB var 
again, to solve dependency problems.

It's compiling nicely now, but I still get this linker-error:

default/source3/lib/util_58.o: In function `str_checksum':
/home/nils/build2/samba4/bin/../source3/lib/util.c:1310: undefined 
reference to `hash_any'


Did this happen to anybody before? Did anybody already succeed in 
building a ubuntu- or debian-package of samba 4.1.0?


Nice regards, bbb
-------------- next part --------------
Index: samba4/wscript
===================================================================
--- samba4.orig/wscript	2013-10-29 18:13:14.464962744 +0000
+++ samba4/wscript	2013-10-29 18:17:07.732967883 +0000
@@ -66,6 +66,10 @@
 
     gr = opt.option_group('developer options')
 
+    opt.add_option('--disable-ntdb',
+                   help=("disable ntdb"),
+                   action="store_true", dest='disable_ntdb', default=True)
+
 
     opt.tool_options('python') # options for disabling pyc or pyo compilation
     # enable options related to building python extensions
@@ -124,7 +128,10 @@
     conf.RECURSE('source4/ntvfs/sysdep')
     conf.RECURSE('lib/util')
     conf.RECURSE('lib/ccan')
-    conf.RECURSE('lib/ntdb')
+    if not Options.options.disable_ntdb:
+        conf.RECURSE('lib/ntdb')
+    else:
+        conf.DEFINE('DISABLE_NTDB', 1)
     conf.RECURSE('lib/zlib')
     conf.RECURSE('lib/util/charset')
     conf.RECURSE('source4/auth')


More information about the samba mailing list