John

Thank you for the quick reply on this trying that now

here is what I have tried ./configure.developer --disable-s3build

returns

waf [command] [options]

Main commands (example: ./waf build -j4)
  build       : build all targets
  clean       : removes the build files
  configure   : configures the project
  ctags       : build 'tags' file using ctags
  dist        : makes a tarball for distribution
  distcheck   : test that distribution tarball builds and installs
  distclean   : removes the build directory
  etags       : build TAGS file using etags
  install     : installs the build files
  pydoctor    : build python apidocs
  reconfigure : reconfigure if config scripts have changed
  test        : Run the test suite (see test options below)
  testonly    : run tests without doing a build first
  uninstall   : removes the installed files
  wafdocs     : build wafsamba apidocs
  wildcard_cmd: called on a unknown command

waf: error: no such option: --disable-s3build

next I tried running ./configure.developer then make --disable-s3build this also fails with make: unrecognized option `--disable-s3build'


Looked around on the internet and found this information

--- script/installsamba4.sh     (revision 2813)
+++ script/installsamba4.sh     (working copy)
@@ -280,17 +280,8 @@
     pushd samba4
     error_check $? "samba4 setup"

# this is a temporary hack while we try to support both git and samba
    # alpha 15 tarball. the tarball doesn't know --disable-s3build and
# samba git won't currently build without --disable-s3build because of
    # https://bugzilla.samba.org/show_bug.cgi?id=8113
    if test -z "$TARPATH"; then
./configure.developer -C --prefix=$SAMBA_PREFIX --disable-s3build
        error_check $? "samba4 git configure"
    else
        ./configure.developer -C --prefix=$SAMBA_PREFIX
        error_check $? "samba4 configure"
    fi
    ./configure.developer -C --prefix=$SAMBA_PREFIX
    error_check $? "samba4 git configure"

     echo "Step2: Compile Samba4 (Source)"
     $MAKE -j

this ran fine on system but same results it is still trying to compile samba3 code.

Can you think of anything I can try right now I am currently downloading the rsync of samba4 just to see if that makes any difference from the git source I have


Derek

On Tue, 17 May 2011 16:23:40 -0500, Taylor, Jonn wrote:
By default samba 3 and samba 4 are built. Use --disable-s3build to only build samba 4. There is also a how to that someone did for CentOS, just
search the archives for it.

Jonn

On 05/17/2011 03:46 PM, [email protected] wrote:
I am trying to install samba 4 on a CentOS 5.6 X86_64 with all update
installed following the directions from
http://wiki.samba.org/index.php/Samba4/HOWTO


Installed git and am able to use that to pull down latest version of
samba source code

ran ./configure.developer (can post output from this long file if needed)

Once that was done I ran the make command and got this at the end

[3364/3441] Linking default/source3/smbd/smbd
default/source3/libsamba3core.so: undefined reference to `cap_free'
default/source3/libsamba3core.so: undefined reference to `cap_set_flag' default/source3/libsamba3core.so: undefined reference to `cap_get_proc' default/source3/libsamba3core.so: undefined reference to `cap_set_proc'
collect2: ld returned 1 exit status
Waf: Leaving directory `/samba-master/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link epmd_7.o,server_98.o,msg_idmap_98.o -> smbd}
make: *** [all] Error 1

I can provide a full output of the make if required also

I was able to install samba 4 following the same directions on this
system around a month or so ago but I am reinstalling to because I
wanted to get a clean version and make this one the PDC on the network
because it is a physical system not virtual like the current samba 4
PDC I have running right now.



Derek

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to