Failed Samba 4 installation

Jesper Koivumäki jesper.koivumaki at kulturfonden.fi
Mon Dec 10 08:58:30 MST 2012


Hello,

I just tried to install Samba4 on our RHEL6 system by following the 
instructions over at https://wiki.samba.org/index.php/Samba4/HOWTO

I've installed the software listed on 
https://wiki.samba.org/index.php/Samba_4/OS_Requirements

The error appears when I try to run make install (which I did with sudo, 
since we try to use the root account as little as possible).

What I did was make a folder called samba4 in my home directory, to 
perform all the configuration in. Then I pulled the folder with git and 
got to work.

$ ./configure  --enable-debug --enable-selftest

This ran nicely and reported no errors.

$ sudo make install

this resulted in this:

[ 229/4106] Compiling source4/heimdal/lib/com_err/compile_et.c
[ 230/4106] Linking default/source4/heimdal_build/asn1_compile.inst
[ 231/4106] Linking default/source4/heimdal_build/compile_et.inst
[ 232/4106] Compiling ASN1 source4/heimdal/lib/asn1/kx509.asn1
/bin/sh: /home/jesper/samba4/samba-master/bin/asn1_compile: The file or 
folder does not exist
Waf: Leaving directory `/home/jesper/samba4/samba-master/bin'
Build failed:  -> task failed (err #127):
     {task: HEIMDAL_KX509_ASN1_ASN1 kx509.asn1 -> 
asn1_kx509_asn1.x,kx509_asn1.hx,kx509_asn1-priv.hx}
make: *** [install] Error 1

Let me know if you want more lines out of the install log. But I figured 
this should be enough to figure out where things went wrong.

The symlink /home/jesper/samba4/samba-master/bin/asn1_compile exists, 
but it points to 
/home/jesper/samba4/samba-master/bin/default/source4/heimdal_build/asn1_compile 
- which doesn't exist. The only asn1* -file that exists there is 
asn1_compile.inst.

I'm gonna try to figure this out and play around with it, but I'd 
appreciate some input on the matter.

-- 
     Jesper Koivumäki
     Svenska Kulturfonden



More information about the samba-technical mailing list