Re: [Samba] 2.2.7 compile error using --with-acl-support on debian

2002-11-26 Thread Francesco Mosca
Il mar, 2002-11-26 alle 13:44, Frank Matthieß ha scritto:
> On Sat, Nov 23, 2002 at 11:45:17AM +0100, Francesco Mosca wrote:
> > hi, i'm trying to package samba2.2.7 on a debian woody, using
> > --with-acl-support. the configure part seems ok, but when the compile
> > starts i get a lot of errors.. what's wrong? attached the sensitive part
> > of the dpkg-buildpackage output.
> > thanks
> 
> You have installed "libacl1" and "libacl1-dev" on compile system?
> 

libacl1-dev is not in woody yet, i was using acl-dev instead. anyway, i
just installed libacl1 and libacl1-dev from sid, but, even if this time
(i noticed) the configure says "Using posix ACLs", i got the same errors
at compile time...


> -- 
> Frank Matthieß[EMAIL PROTECTED]
-- 
Francesco Mosca <[EMAIL PROTECTED]>

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



Re: [Samba] 2.2.7 compile error using --with-acl-support on debian

2002-11-26 Thread Frank Matthieß
On Sat, Nov 23, 2002 at 11:45:17AM +0100, Francesco Mosca wrote:
> hi, i'm trying to package samba2.2.7 on a debian woody, using
> --with-acl-support. the configure part seems ok, but when the compile
> starts i get a lot of errors.. what's wrong? attached the sensitive part
> of the dpkg-buildpackage output.
> thanks

You have installed "libacl1" and "libacl1-dev" on compile system?

-- 
Frank Matthieß[EMAIL PROTECTED]

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



[Samba] 2.2.7 compile error using --with-acl-support on debian

2002-11-23 Thread Francesco Mosca
hi, i'm trying to package samba2.2.7 on a debian woody, using
--with-acl-support. the configure part seems ok, but when the compile
starts i get a lot of errors.. what's wrong? attached the sensitive part
of the dpkg-buildpackage output.
thanks

-- 
Francesco Mosca <[EMAIL PROTECTED]>

/usr/bin/make -C source all nsswitch/libnss_wins.so
make[1]: Entering directory `/usr/src/samba-2.2.7/source'
Using FLAGS =  -O  -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  
-DLOGFILEBASE="/var/log/samba" -DCONFIGFILE="/etc/samba/smb.conf" 
-DLMHOSTSFILE="/etc/samba/lmhosts"   -DSWATDIR="/usr/share/samba/swat" 
-DSBINDIR="/usr/sbin" -DLOCKDIR="/var/run/samba" 
-DCODEPAGEDIR="/usr/share/samba/codepages" -DDRIVERFILE="/etc/samba/printers.def" 
-DBINDIR="/usr/bin" -DPIDDIR="/var/run/samba" -DLIBDIR="/usr/lib" -DVARDIR="/var" 
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" 
-DSMB_PASSWD_FILE="/etc/samba/smbpasswd" -DTDB_PASSWD_FILE="/etc/samba/smbpasswd.tdb"
Using FLAGS32 =  -O  -O2 -D_REENTRANT -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  
-DLOGFILEBASE="/var/log/samba" -DCONFIGFILE="/etc/samba/smb.conf" 
-DLMHOSTSFILE="/etc/samba/lmhosts"   -DSWATDIR="/usr/share/samba/swat" 
-DSBINDIR="/usr/sbin" -DLOCKDIR="/var/run/samba" 
-DCODEPAGEDIR="/usr/share/samba/codepages" -DDRIVERFILE="/etc/samba/printers.def" 
-DBINDIR="/usr/bin" -DPIDDIR="/var/run/samba" -DLIBDIR="/usr/lib" -DVARDIR="/var" 
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" 
-DSMB_PASSWD_FILE="/etc/samba/smbpasswd" -DTDB_PASSWD_FILE="/etc/samba/smbpasswd.tdb"
Using LIBS = -lacl  -lcups -lnsl -lcrypt -ldl -lpam
Compiling smbd/server.c
In file included from include/smb.h:462,
 from include/includes.h:677,
 from smbd/server.c:22:
include/vfs.h:111: parse error before `acl_t'
include/vfs.h:112: parse error before `acl_entry_t'
include/vfs.h:113: parse error before `acl_entry_t'
include/vfs.h:114: parse error before `acl_entry_t'
include/vfs.h:115: warning: no semicolon at end of struct or union
include/vfs.h:116: parse error before `*'
include/vfs.h:116: `acl_t' declared as function returning a function
include/vfs.h:116: warning: data definition has no type or storage class
include/vfs.h:117: parse error before `acl_permset_t'
include/vfs.h:118: parse error before `acl_permset_t'
include/vfs.h:119: parse error before `acl_t'
include/vfs.h:120: parse error before `*'
include/vfs.h:120: `acl_t' declared as function returning a function
include/vfs.h:120: warning: data definition has no type or storage class
include/vfs.h:121: parse error before `acl_t'
include/vfs.h:122: parse error before `acl_entry_t'
include/vfs.h:123: parse error before `acl_entry_t'
include/vfs.h:124: parse error before `acl_entry_t'
include/vfs.h:125: parse error before `acl_t'
include/vfs.h:126: parse error before `acl_type_t'
include/vfs.h:127: parse error before `acl_t'
include/vfs.h:129: parse error before `acl_permset_t'
include/vfs.h:131: parse error before `acl_t'
include/vfs.h:132: parse error before `acl_tag_t'
In file included from include/includes.h:677,
 from smbd/server.c:22:
include/smb.h:480: field `vfs_ops' has incomplete type
In file included from include/includes.h:737,
 from smbd/server.c:22:
include/proto.h:211: parse error before `the_acl'
include/proto.h:212: parse error before `entry_d'
include/proto.h:213: parse error before `entry_d'
include/proto.h:214: parse error before `entry_d'
include/proto.h:215: parse error before `sys_acl_get_file'
include/proto.h:215: parse error before `acl_type_t'
include/proto.h:215: warning: data definition has no type or storage class
include/proto.h:216: parse error before `sys_acl_get_fd'
include/proto.h:216: warning: data definition has no type or storage class
include/proto.h:217: parse error before `permset'
include/proto.h:217: `sys_acl_clear_perms' redeclared as different kind of symbol
include/vfs.h:117: previous declaration of `sys_acl_clear_perms'
include/proto.h:218: parse error before `permset'
include/proto.h:218: `sys_acl_add_perm' redeclared as different kind of symbol
include/vfs.h:118: previous declaration of `sys_acl_add_perm'
include/proto.h:219: parse error before `permset'
include/proto.h:219: `sys_acl_get_perm' redeclared as different kind of symbol
include/vfs.h:129: previous declaration of `sys_acl_get_perm'
include/proto.h:220: parse error before `the_acl'
include/proto.h:220: `sys_acl_to_text' redeclared as different kind of symbol
include/vfs.h:119: previous declaration of `sys_acl_to_text'
include/proto.h:221: parse error before `sys_acl_init'
include/proto.h:221: warning: data definition has no type or storage class
include/proto.h:222: parse error before `*'
include/proto.h:222: `sys_acl_create_entry' redeclared as different kind of symbol
include/vfs.h:121: previous declaration of