Unable to compile Samba 2.2.2 with RedHat 7.2
Ted Hazlewood
ted.hazlewood at teampcs.com
Mon Jan 14 11:56:02 GMT 2002
I have Red Hat 7.2 on a P4.
The installation of RedHat was installed with everything on the CD except
Samba. Though I tried with Samba as well and the same error accured.
I need to compile Samba 2.2.2 with the option --with-acl-support.
So I can't use a RPM for Red Hat or if I can use an RPM I am unaware of a
way to pass that option during install.
I have recompiled my kernel to support ACL' s and that is why I want this
option in Samba. Though I have just done a clean install of RedHat 7.2
without the kernel being recompiled and I get the same error as below with
the exception that the line Using LIBS = doesn't have the -lacl.
The bottom line is I can't compile Samba 2.2.2 on RedHat 7.2. I always get
the below error. Does anyone have a workaround.
Running ./configure has no problem
This is what I get after I run make in the source dir
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lacl -ldl -lnsl -lcrypt
Compiling smbd/server.c
In file included from /usr/include/linux/vfs.h:4,
from /usr/include/linux/fs.h:14,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/capability.h:24,
from include/includes.h:330,
from smbd/server.c:22:
/usr/include/asm/statfs.h:12: redefinition of 'struct statfs'
Make: *** [smbd/server.o] Error 1
Any help would be great.
Ted Hazlewood
Senior Systems Administrator
Public Communications Services
(310) 954-3024 Phone
(310) 954-2139 Fax
ted.hazlewood at teampcs.com
www.teampcs.com <www.teampcs.com>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list