Je veux pouvoir faire des impressions d'une station unix sur une imprimante qui se trouve sur un PC windows 2000. On m'a dit que c'était possible en utilisant samba. Après des recherches sur internet, je lis que c'est possible. Je récupère donc alors la version samba 2.2.8a (dernière version apparemment). Je trouve une procédure d'installation et je me lance. Je précise que je connais peu de chose sur unix. Voici ce que j'ai fait. Je me suis connecté en root. J'ai crée et placé le fichier samba-2.2.8a.tar.gz dans le répertoire /usr/local/samba. J'ai décompacté (gunzip -dr samba-2.2.8a.tar.gz puis tar -xvf samba-2.2.8a.tar). Cela m'a crée un répertoire samba-2.2.8a. J'ai changé les droits (chown -R root ./samba-2.2.8a et chgrp -R sys ./samba-2.2.8a). Jusque là je n'ai pas eu de problème. Mon problème se trouve dans la compilation. Je me suis placé dans le répertoire /usr/local/samba/samba-2.2.8a/source et j'ai tapez configure. Là, le programme a commencé à faire ces tests et au bout d'un certain temps ERREUR. Voici ce qu'il me dit. (Pour info le système unix que j'ai c'est HP-UX 10.20)
loading cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... no
checking for a BSD compatible install... ./install-sh -c
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking if the linker (ld) is GNU ld... no
checking for passwd... /usr/bin/passwd
checking whether cc understands -c and -o together... yes
checking that the C compiler understands volatile... yes
checking host system type... hppa1.1-hp-hpux10.20
checking target system type... hppa1.1-hp-hpux10.20
checking build system type... hppa1.1-hp-hpux10.20
checking config.cache system type... same
checking whether cc accepts -Ae... no
checking for inline... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... no
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for sys/unistd.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for grp.h... yes
checking for sys/id.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for net/if.h... yes
checking for compat.h... no
checking for rpc/rpc.h... yes
checking for rpcsvc/nis.h... no
checking for rpcsvc/yp_prot.h... yes
checking for rpcsvc/ypclnt.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for syslog.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/ioctl.h... yes
checking for sys/ipc.h... yes
checking for sys/mode.h... no
checking for sys/mman.h... yes
checking for sys/filio.h... no
checking for sys/priv.h... no
checking for sys/shm.h... yes
checking for sys/socket.h... yes
checking for syslog.h... (cached) yes
checking for sys/syslog.h... no
checking for sys/mount.h... yes
checking for sys/vfs.h... yes
checking for sys/fs/s5param.h... no
checking for sys/filsys.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sys/termio.h... yes
checking for sys/statfs.h... no
checking for sys/dustat.h... no
checking for sys/statvfs.h... yes
checking for stdarg.h... yes
checking for sys/sockio.h... no
checking for security/pam_modules.h... no
checking for security/_pam_macros.h... no
checking for dlfcn.h... no
checking for synch.h... no
checking for pthread.h... no
checking for nsswitch.h... no
checking for shadow.h... (cached) yes
checking for netinet/ip.h... yes
checking for netinet/tcp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in_ip.h... no
checking for nss.h... no
checking for nss_common.h... no
checking for ns_api.h... no
checking for sys/security.h... no
checking for security/pam_appl.h... no
checking for security/pam_modules.h... (cached) no
checking for stropts.h... yes
checking for poll.h... yes
checking for sys/capability.h... no
checking for syscall.h... yes
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... no
checking for glob.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for lastlog.h... no
checking for sys/fs/vx_quota.h... no
checking for linux/xqm.h... no
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking for working const... no
checking for inline... (cached) no
checking whether byte ordering is bigendian... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... no
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... no
checking for ssize_t... yes
checking for wchar_t... yes
checking for cups-config... no
checking for dlopen... no
checking for dlopen in -ldl... no
checking for immediate structures... no
checking for unix domain sockets... yes
checking for socklen_t type... no
checking for sig_atomic_t type... yes
checking for errno declaration... yes
checking for setresuid declaration... yes
checking for setresgid declaration... yes
checking for asprintf declaration... no
checking for vasprintf declaration... no
checking for vsnprintf declaration... no
checking for snprintf declaration... no
checking for real setresuid... yes
checking for real setresgid... yes
checking for 8-bit clean memcmp... yes
checking whether to use readline... yes
checking for readline.h... no
checking for history.h... no
checking for readline/readline.h... no
checking for readline/history.h... no
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) no
checking for connect... yes
checking for yp_get_default_domain... yes
checking for execl... yes
checking for dlopen... (cached) no
checking for dlclose... no
checking for dlsym... no
checking for dlerror... no
checking for waitpid... yes
checking for getcwd... yes
checking for strdup... yes
checking for strndup... no
checking for strnlen... no
checking for strtoul... yes
checking for strerror... yes
checking for chown... yes
checking for fchown... yes
checking for chmod... yes
checking for fchmod... yes
checking for chroot... yes
checking for link... yes
checking for fstat... yes
checking for strchr... yes
checking for utime... yes
checking for utimes... yes
checking for getrlimit... yes
checking for fsync... yes
checking for bzero... yes
checking for memset... yes
checking for strlcpy... no
checking for strlcat... no
checking for setpgid... yes
checking for mknod... yes
checking for mknod64... no
checking for memmove... yes
checking for vsnprintf... no
checking for snprintf... no
checking for asprintf... no
checking for vasprintf... no
checking for setsid... yes
checking for glob... yes
checking for strpbrk... yes
checking for pipe... yes
checking for crypt16... no
checking for getauthuid... no
checking for strftime... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for sigset... yes
checking for innetgr... yes
checking for setnetgrent... yes
checking for getnetgrent... yes
checking for endnetgrent... yes
checking for initgroups... yes
checking for select... yes
checking for poll... yes
checking for rdchk... no
checking for getgrnam... yes
checking for getgrent... yes
checking for pathconf... yes
checking for realpath... yes
checking for setpriv... no
checking for setgidx... no
checking for setuidx... no
checking for setgroups... yes
checking for sysconf... yes
checking for mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for fopen64... yes
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for readdir64... no
checking for fseek64... no
checking for fseeko64... yes
checking for ftell64... no
checking for ftello64... yes
checking for setluid... no
checking for getpwanam... no
checking for setlinebuf... no
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... no
checking for usleep... yes
checking for strcasecmp... yes
checking for fcvt... yes
checking for fcvtl... no
checking for symlink... yes
checking for readlink... yes
checking for syslog... yes
checking for vsyslog... no
checking for syscall... yes
checking for _dup... yes
checking for _dup2... yes
checking for _opendir... yes
checking for _readdir... yes
checking for _seekdir... yes
checking for _telldir... yes
checking for _closedir... yes
checking for __dup... no
checking for __dup2... no
checking for __opendir... yes
checking for __readdir... no
checking for __seekdir... no
checking for __telldir... no
checking for __closedir... no
checking for __getcwd... no
checking for _getcwd... yes
checking for __xstat... no
checking for __fxstat... no
checking for __lxstat... no
checking for _stat... yes
checking for _lstat... yes
checking for _fstat... yes
checking for __stat... no
checking for __lstat... no
checking for __fstat... no
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking for _open... yes
checking for __open... no
checking for _chdir... yes
checking for __chdir... no
checking for _close... yes
checking for __close... no
checking for _fchdir... yes
checking for __fchdir... no
checking for _fcntl... yes
checking for __fcntl... no
checking for getdents... yes
checking for _getdents... yes
checking for __getdents... no
checking for _lseek... yes
checking for __lseek... no
checking for _read... yes
checking for __read... no
checking for _write... yes
checking for __write... no
checking for _fork... yes
checking for __fork... no
checking for _stat64... no
checking for __stat64... yes
checking for _fstat64... no
checking for __fstat64... yes
checking for _lstat64... no
checking for __lstat64... yes
checking for __sys_llseek... no
checking for llseek... no
checking for _llseek... no
checking for __llseek... no
checking for readdir64... (cached) no
checking for _readdir64... no
checking for __readdir64... no
checking for pread... no
checking for _pread... no
checking for __pread... no
checking for pread64... no
checking for _pread64... no
checking for __pread64... no
checking for pwrite... no
checking for _pwrite... no
checking for __pwrite... no
checking for pwrite64... no
checking for _pwrite64... no
checking for __pwrite64... no
checking for open64... yes
checking for _open64... no
checking for __open64... yes
checking for creat64... yes
checking for putprpwnam in -lsecurity... no
checking for putprpwnam... no
checking for putprpwnam in -lsec... yes
checking for putprpwnam... (cached) no
checking for set_auth_parameters in -lsecurity... no
checking for set_auth_parameters... yes
checking for set_auth_parameters... (cached) yes
checking for getspnam in -lgen... no
checking for getspnam... yes
checking for getspnam in -lsecurity... no
checking for getspnam... (cached) yes
checking for getspnam... (cached) yes
checking for bigcrypt in -lsecurity... no
checking for bigcrypt... yes
checking for bigcrypt... (cached) yes
checking for getprpwnam in -lsecurity... no
checking for getprpwnam... yes
checking for getprpwnam... (cached) yes
checking ability to build shared libraries... false
checking linker flags for shared libraries... -shared
checking compiler flags for position-independent code...
checking whether cc accepts -fpic... no
checking whether cc accepts -KPIC... no
checking whether cc accepts -Kpic... no
checking for long long... yes
checking for LL suffix on long long integers... yes
checking for 64 bit off_t... no
checking for off64_t... no
checking for 64 bit ino_t... no
checking for ino64_t... no
checking for dev64_t... no
checking for struct dirent64... no
checking for major macro... no
checking for minor macro... no
checking for makedev macro... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... no
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... no
checking if gettimeofday takes tz argument... yes
checking for __va_copy... no
checking for C99 vsnprintf... no
checking for broken readdir... no
checking for utimbuf... yes
checking for pututline... yes
checking for pututxline... yes
checking for updwtmp... no
checking for updwtmpx... no
checking for getutmpx... no
checking for ut_name in utmp... yes
checking for ut_user in utmp... yes
checking for ut_id in utmp... yes
checking for ut_host in utmp... yes
checking for ut_time in utmp... yes
checking for ut_tv in utmp... no
checking for ut_type in utmp... yes
checking for ut_pid in utmp... yes
checking for ut_exit in utmp... yes
checking for ut_addr in utmp... yes
checking whether pututline returns pointer... no
checking for ut_syslen in utmpx... no
checking for Linux kernel oplocks... no
checking for kernel change notify support... no
checking for kernel share modes... no
checking for IRIX kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... yes
checking for ftruncate extend... yes
checking for broken getgroups... no
checking whether getpass should be replaced... no
checking for broken inet_ntoa... no
checking for secure mkstemp... no
checking for sysconf(_SC_NGROUPS_MAX)... yes
checking for root... yes
checking for iface AIX... no
checking for iface ifconf... no
checking for iface ifreq... no
checking for setresuid... no
checking for setreuid... no
checking for seteuid... no
checking for setuidx... no
checking for working mmap... yes
checking for ftruncate needs root... no
checking for fcntl locking... no
checking for broken (glibc2.1/x86) 64 bit fcntl locking... no
checking for 64 bit fcntl locking... no
checking for st_blocks in struct stat... yes
checking for st_blksize in struct stat... yes
checking for broken nisplus include files... no
checking whether to use smbwrapper... no
checking whether to use AFS... no
checking whether to use DCE/DFS auth... no
checking whether to use Kerberos IV... no
checking whether to use Kerberos 5... no
checking whether to use AUTOMOUNT... no
checking whether to use SMBMOUNT... no
checking whether to use PAM password database... no
checking for pam_get_data in -lpam... no
checking whether to use pam_smbpass... no
checking for crypt... yes
checking for a crypt that needs truncated salt... no
checking whether to use TDB SAM database... no
checking whether to use LDAP SAM database... no
checking whether to use NISPLUS SAM database... no
checking whether to use traditional smbpasswd file... yes
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support disk-quotas... no
checking whether to support utmp accounting... no
checking whether to support Microsoft Dfs... no
checking whether to build the libsmbclient shared library... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking if large file support can be enabled... no
checking whether to support ACLs... no
checking whether to check for support sendfile... no
checking whether to build winbind... no, unsupported on hpux10.20
checking whether or not getgroups returns EGID too many times... yes
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... ./popt
checking configure summary... ERROR: No locking available. Running Samba would be unsafe
configure : error : summary failure. Aborting config
Que dois je faire pour que cette compilation fonctionne?
Merci de vos réponses.