I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install
to editing /var/lib/dpkg/status
Package: Samba4 Install ok installed
This is the error I get:
[ 866/3792] Compiling source4/dsdb/common/util.c
[ 867/3792] Compiling source4/dsdb/common/util_groups.c
In file included from ../lib/replace/system/time.h:30:0,
from ../source4/include/includes.h:33,
from ../source4/dsdb/common/util_groups.c:22:
/usr/include/i386-linux-gnu/sys/time.h:61:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
Waf: Leaving directory `/samba/bin'
Build failed: -> task failed (err #1):
{task: cc util_groups.c -> util_groups_6.o}
make: *** [all] Error 1
If more information is needed I will provide it for you. Thanks in advance.