Problème installation SCANNED ONLY

Ici , tout ce qui concerne les problèmes d'installation de ARTICA

Problème installation SCANNED ONLY

New postby guidtz » Tue Jan 25, 2011 5:19 pm

Hello,

voici ce que j'obtiens quand j'essaie d'installer SCANNED ONLY. NB : clamav et samba sont sont bien installés et à jour :

Code: Select all
# /usr/share/artica-postfix/bin/artica-make APP_SCANNED_ONLY

unable to stat /usr/local/share/artica/samba/3.5.6 upgrade your samba server trough setup center
[/code>

[code]
# smbd -V
Version 3.5.6
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator

Re: Problème installation SCANNED ONLY

New postby admin » Tue Jan 25, 2011 6:10 pm

Non il a besoin des sources de Samba

faire un artica-make APP_SAMBA
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Problème installation SCANNED ONLY

New postby guidtz » Tue Jan 25, 2011 8:31 pm

OK donc APP_SAMBA installé, voici la trace d'erreur maintenant :

Code: Select all
# /usr/share/artica-postfix/bin/artica-make APP_SCANNED_ONLY
check-base-system Starting checking base system on Debian 6.0 Gnu-linux 6 CODE=DEBIAN
you can use --silent in order to install packages without human intercation
check-samba Starting checking base system on Debian 6.0 Gnu-linux 6 CODE=DEBIAN
you can use --silent in order to install packages without human intercation
using /usr/local/share/artica/samba/3.5.6/source3 sources directory
using /usr/lib/samba/vfs vfs directory
Cleaning /tmp/artica/install/sources folder...
Checking required compilation tools as gcc and make
Checking last supported version of scannedonly from http://www.artica.fr/auto.update.php


#################################################################################
   local_folder.........:""
   www_prefix...........:""
   version..............:"0.21"
   extension............:"tar.gz"
   prefix...............:""
   FileName Prefix......:"scannedonly-"
   Target file..........:"scannedonly-0.21.tar.gz"
   uri..................:"http://www.artica.fr/download/scannedonly-0.21.tar.gz"
   alias................:""
#################################################################################


Creating directory /tmp/artica/install/sources/scannedonly


Get: http://www.artica.fr/download/scannedonly-0.21.tar.gz
######################################################################## 100,0%


/tmp/artica/install/sources/scannedonly-0.21.tar.gz ok
Uncompress the package...FILE_EXT=tar.gz DECOMPRESS_OPT=xzf
tar -xzf /tmp/artica/install/sources/scannedonly-0.21.tar.gz -C /tmp/artica/install/sources/scannedonly
remove the source package /tmp/artica/install/sources/scannedonly-0.21.tar.gz
listing directories...
Found directory scannedonly-0.21 attr:48
SUCCESS: "/tmp/artica/install/sources/scannedonly/scannedonly-0.21"
using source dir/tmp/artica/install/sources/scannedonly/scannedonly-0.21
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for gettimeofday... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strndup... yes
checking for send... yes
checking for gethostbyname... yes
checking for cl_scanfile in -lclamav... yes
checking clamav.h usability... yes
checking clamav.h presence... yes
checking for clamav.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for maxratio field in cl_limits struct... no
checking for cl_init in -lclamav... yes
Build scannedonlyd_clamav ... yes
checking talloc.h usability... yes
checking talloc.h presence... yes
checking for talloc.h... yes
checking for _talloc_free in -ltalloc... yes
testing for /usr/local/share/artica/samba/3.5.6/source3/lib/tdb/include/tdb.h
samba 3.4 detected
Build samba vfs module scannedonly.so ... yes
configure: creating ./config.status
syntax error. Last token seen: u
Garbled time
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
make[1]: entrant dans le répertoire « /tmp/artica/install/sources/scannedonly/scannedonly-0.21/man »
gzip -9 < scannedonly_prescan.8 > scannedonly_prescan.8.gz
gzip -9 < scannedonlyd_clamav.8 > scannedonlyd_clamav.8.gz
make[1]: quittant le répertoire « /tmp/artica/install/sources/scannedonly/scannedonly-0.21/man »
make[1]: entrant dans le répertoire « /tmp/artica/install/sources/scannedonly/scannedonly-0.21/src »
gcc -g -O2 -Wall -pipe -c -o scannedonly_prescan.o scannedonly_prescan.c
gcc   -lclamav -lnsl -ltalloc -o scannedonly_prescan scannedonly_prescan.o
gcc -g -O2 -Wall -pipe -c -o scannedonlyd_clamav.o scannedonlyd_clamav.c
scannedonlyd_clamav.c: In function ‘push_to_queue’:
scannedonlyd_clamav.c:123: warning: implicit declaration of function ‘strdup’
scannedonlyd_clamav.c:123: warning: incompatible implicit declaration of built-in function ‘strdup’
scannedonlyd_clamav.c: In function ‘main’:
scannedonlyd_clamav.c:1040: warning: incompatible implicit declaration of built-in function ‘strdup’
scannedonlyd_clamav.c:1145: warning: incompatible implicit declaration of built-in function ‘strdup’
gcc   -lclamav -lnsl -ltalloc -o scannedonlyd_clamav scannedonlyd_clamav.o
gcc -g -O2 -Wall -pipe -fpic -c -o vfs_scannedonly.o vfs_scannedonly.c -I /usr/local/share/artica/samba/3.5.6/source3 -I /usr/local/share/artica/samba/3.5.6/source3/../ -I /usr/local/share/artica/samba/3.5.6/source3/include -I /usr/local/share/artica/samba/3.5.6/source3/../lib/replace -I /usr/local/share/artica/samba/3.5.6/source3/opt -I /usr/local/share/artica/samba/3.5.6/source3/librpc -I /usr/local/share/artica/samba/3.5.6/source3/../lib/tdb/include/ -I /usr/local/share/artica/samba/3.5.6/source3/../lib/talloc/ -I /usr/local/share/artica/samba/3.5.6/source3/../lib/popt/ -I /usr/local/share/artica/samba/3.5.6/source3/../lib/tevent/
vfs_scannedonly.c:414:53: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c: In function ‘scannedonly_allow_access’:
vfs_scannedonly.c:414: error: ‘SMB_VFS_NEXT_STAT’ undeclared (first use in this function)
vfs_scannedonly.c:414: error: (Each undeclared identifier is reported only once
vfs_scannedonly.c:414: error: for each function it appears in.)
vfs_scannedonly.c:423: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_mode’
vfs_scannedonly.c:424: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_mode’
vfs_scannedonly.c:430: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_mode’
vfs_scannedonly.c:432: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_size’
vfs_scannedonly.c:441:54: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c:443: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_ctim’
vfs_scannedonly.c:443: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_ctim’
vfs_scannedonly.c:451: warning: passing argument 2 of ‘smb_vfs_call_unlink’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:581: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c:485: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_size’
vfs_scannedonly.c:498:56: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c:507: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_ctim’
vfs_scannedonly.c:507: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_ctim’
vfs_scannedonly.c:671:44: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c: In function ‘scannedonly_stat’:
vfs_scannedonly.c:671: error: ‘SMB_VFS_NEXT_STAT’ undeclared (first use in this function)
vfs_scannedonly.c:687:56: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c:703:45: error: macro "SMB_VFS_NEXT_LSTAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c: In function ‘scannedonly_lstat’:
vfs_scannedonly.c:703: error: ‘SMB_VFS_NEXT_LSTAT’ undeclared (first use in this function)
vfs_scannedonly.c:719:57: error: macro "SMB_VFS_NEXT_LSTAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c: In function ‘scannedonly_open’:
vfs_scannedonly.c:745: warning: passing argument 2 of ‘smb_vfs_call_open’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:527: note: expected ‘struct smb_filename *’ but argument is of type ‘const char *’
vfs_scannedonly.c:776: warning: passing argument 2 of ‘smb_vfs_call_open’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:527: note: expected ‘struct smb_filename *’ but argument is of type ‘const char *’
vfs_scannedonly.c: In function ‘scannedonly_close’:
vfs_scannedonly.c:798: warning: passing argument 3 of ‘construct_full_path’ from incompatible pointer type
vfs_scannedonly.c:156: note: expected ‘const char *’ but argument is of type ‘struct smb_filename *’
vfs_scannedonly.c: In function ‘scannedonly_rename’:
vfs_scannedonly.c:834: warning: passing argument 2 of ‘smb_vfs_call_unlink’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:581: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c:839: warning: passing argument 2 of ‘smb_vfs_call_rename’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:567: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c:839: warning: passing argument 3 of ‘smb_vfs_call_rename’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:567: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c:847: warning: passing argument 2 of ‘smb_vfs_call_rename’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:567: note: expected ‘const struct smb_filename *’ but argument is of type ‘const char *’
vfs_scannedonly.c:847: warning: passing argument 3 of ‘smb_vfs_call_rename’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:567: note: expected ‘const struct smb_filename *’ but argument is of type ‘const char *’
vfs_scannedonly.c: In function ‘scannedonly_unlink’:
vfs_scannedonly.c:873: warning: passing argument 2 of ‘smb_vfs_call_unlink’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:581: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c:880: warning: passing argument 2 of ‘smb_vfs_call_unlink’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:581: note: expected ‘const struct smb_filename *’ but argument is of type ‘const char *’
vfs_scannedonly.c:924:55: error: macro "SMB_VFS_NEXT_STAT" passed 3 arguments, but takes just 2
vfs_scannedonly.c: In function ‘scannedonly_rmdir’:
vfs_scannedonly.c:924: error: ‘SMB_VFS_NEXT_STAT’ undeclared (first use in this function)
vfs_scannedonly.c:926: error: ‘SMB_STRUCT_STAT’ has no member named ‘st_mode’
vfs_scannedonly.c:952: warning: passing argument 2 of ‘smb_vfs_call_unlink’ from incompatible pointer type
/usr/local/share/artica/samba/3.5.6/source3/include/vfs.h:581: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
vfs_scannedonly.c: At top level:
vfs_scannedonly.c:1049: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scannedonly_op_tuples’
vfs_scannedonly.c: In function ‘init_samba_module’:
vfs_scannedonly.c:1089: error: ‘scannedonly_op_tuples’ undeclared (first use in this function)
vfs_scannedonly.c: At top level:
vfs_scannedonly.c:1100: error: redefinition of ‘init_samba_module’
vfs_scannedonly.c:1085: note: previous definition of ‘init_samba_module’ was here
vfs_scannedonly.c: In function ‘init_samba_module’:
vfs_scannedonly.c:1104: error: ‘scannedonly_op_tuples’ undeclared (first use in this function)
make[1]: *** [scannedonly.so] Erreur 1
make[1]: quittant le répertoire « /tmp/artica/install/sources/scannedonly/scannedonly-0.21/src »
make: *** [all] Erreur 2


Slts
guidtz
 
Posts: 2007
Joined: Sat Jan 17, 2009 3:08 am
Location: Vendée
Artica servers number: 3
Linux System: Debian
Technical skills: A Linux System Administrator


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron