Hi I am trying to compile rsync-2.5.5 on Tru64 UNIX V5.1A The configure completed sucessfully however the make failed. The following is a copy of the configure and make output. Could you please provide advice as to why this is failing and hopefully resolution. Just as a matter of comparison - rsync-2.5.4 make also fails, however, rsync-2.4.8 compiled sucessfully on this version of Tru64 5.1A Thanks Paul Hobson phobson@itustb1:-) cd rsync-2.5.5 phobson@itustb1:-) ./configure configure: Configuring rsync 2.5.5 checking build system type... alphaev67-dec-osf5.1 checking host system type... alphaev67-dec-osf5.1 checking target system type... alphaev67-dec-osf5.1 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... ./install-sh -c checking for gcc option to accept ANSI C... none needed checking whether to include debugging symbols... yes checking for remsh... 0 checking for broken largefile support... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking ipv6 stack type... unknown checking for library containing getaddrinfo... no checking whether byte ordering is bigendian... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 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... no checking for unistd.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/unistd.h usability... no checking sys/unistd.h presence... no checking for sys/unistd.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking compat.h usability... no checking compat.h presence... no checking for compat.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/wait.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/mode.h usability... yes checking sys/mode.h presence... yes checking for sys/mode.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking mcheck.h usability... no checking mcheck.h presence... no checking for mcheck.h... no checking sys/sysctl.h usability... no checking sys/sysctl.h presence... no checking for sys/sysctl.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for short... yes checking size of short... 2 checking for inline... inline 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 type of array argument to getgroups... gid_t checking for struct stat.st_rdev... yes checking for ino_t... yes checking for socklen_t... no checking for socklen_t equivalent... int checking for errno in errno.h... yes checking for connect... yes checking for inet_ntop in -lresolv... yes checking for inet_ntop... yes checking for inet_pton... yes checking for getaddrinfo... no checking for getnameinfo... yes checking for struct sockaddr.sa_len... no checking struct sockaddr_storage... yes checking for strcasecmp... yes checking whether utime accepts a null argument... yes checking for waitpid... yes checking for wait4... yes checking for getcwd... yes checking for strdup... yes checking for strerror... yes checking for chown... yes checking for chmod... yes checking for mknod... yes checking for fchmod... yes checking for fstat... yes checking for strchr... yes checking for readlink... yes checking for link... yes checking for utime... yes checking for utimes... yes checking for strftime... yes checking for memmove... yes checking for lchown... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... no checking for setsid... yes checking for glob... yes checking for strpbrk... yes checking for strlcat... no checking for strlcpy... no checking for mtrace... no checking for mallinfo... yes checking for setgroups... yes checking for working socketpair... yes checking for working fnmatch... yes checking for poptGetContext in -lpopt... no checking whether to use included libpopt... ./popt checking for long long... yes checking for off64_t... no checking for short ino_t... no checking for unsigned char... no checking for broken readdir... no checking for utimbuf... yes checking if gettimeofday takes tz argument... yes checking for C99 vsnprintf... no checking for secure mkstemp... yes checking for broken inet_ntoa... no checking for broken inet_aton... no checking whether -c -o works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/dummy config.status: creating zlib/dummy config.status: creating popt/dummy config.status: creating shconfig config.status: creating config.h rsync 2.5.5 configuration successful phobson@itustb1:-) make gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `generate_sums': generator.c:191: warning: int format, different type arg (arg 3) generator.c:191: warning: int format, different type arg (arg 4) generator.c:191: warning: int format, different type arg (arg 5) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c receiver.c -o receiver.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o cleanup.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o sender.c: In function `receive_sums': sender.c:50: warning: int format, different type arg (arg 3) sender.c:50: warning: int format, different type arg (arg 4) sender.c:50: warning: int format, different type arg (arg 5) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o exclude.o exclude.c: In function `get_exclude_tok': exclude.c:337: warning: subscript has type `char' exclude.c:350: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o util.c: In function `strlower': util.c:637: warning: subscript has type `char' util.c:637: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c main.c -o main.o main.c: In function `start_client': main.c:664: warning: unused variable `whole_file' main.c:665: warning: unused variable `write_batch' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c checksum.c -o checksum.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c match.c -o match.o match.c: In function `hash_search': match.c:144: warning: int format, different type arg (arg 3) match.c:146: warning: comparison between signed and unsigned match.c:146: warning: signed and unsigned type in conditional expression match.c:162: warning: int format, different type arg (arg 3) match.c:162: warning: int format, different type arg (arg 5) match.c:184: warning: comparison between signed and unsigned match.c:184: warning: signed and unsigned type in conditional expression match.c:220: warning: comparison between signed and unsigned match.c:220: warning: signed and unsigned type in conditional expression match.c:250: warning: comparison between signed and unsigned gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c syscall.c -o syscall.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c log.c -o log.o log.c: In function `log_transfer': log.c:574: warning: unused parameter `file' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c backup.c -o backup.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c options.c -o options.o In file included from options.c:22: popt/popt.h:117: warning: type qualifiers ignored on function return type gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c flist.c -o flist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c io.c -o io.o io.c: In function `read_unbuffered': io.c:303: warning: int format, different type arg (arg 3) io.c: In function `writefd_unbuffered': io.c:462: warning: int format, different type arg (arg 3) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c compat.c -o compat.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c hlink.c -o hlink.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c token.c -o token.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c uidlist.c -o uidlist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c socket.c -o socket.o socket.c: In function `establish_proxy_connection': socket.c:71: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c fileio.c -o fileio.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c batch.c -o batch.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c -o clientname.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c params.c -o params.o params.c: In function `Continuation': params.c:167: warning: subscript has type `char' params.c: In function `Parameter': params.c:389: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c loadparm.c -o loadparm.o loadparm.c: In function `strwicmp': loadparm.c:482: warning: subscript has type `char' loadparm.c:484: warning: subscript has type `char' loadparm.c:486: warning: subscript has type `char' loadparm.c:486: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientserver.c -o clientserver.o clientserver.c: In function `rsync_module': clientserver.c:228: warning: subscript has type `char' clientserver.c:238: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:41: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c authenticate.c -o authenticate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/fnmatch.c -o lib/fnmatch.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/compat.c -o lib/compat.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/snprintf.c -o lib/snprintf.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/mdfour.c -o lib/mdfour.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/permstring.c -o lib/permstring.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `gai_strerror': lib/getaddrinfo.c:180: `EAI_MAX' undeclared (first use in this function) lib/getaddrinfo.c:180: (Each undeclared identifier is reported only once lib/getaddrinfo.c:180: for each function it appears in.) lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206: warning: subscript has type `char' lib/getaddrinfo.c: In function `ogetaddrinfo': lib/getaddrinfo.c:262: `EAI_BADHINTS' undeclared (first use in this function) lib/getaddrinfo.c:263: `AI_MASK' undeclared (first use in this function) lib/getaddrinfo.c:353: `EAI_PROTOCOL' undeclared (first use in this function) lib/getaddrinfo.c:399: warning: unused variable `pfx' lib/getaddrinfo.c: In function `get_name': lib/getaddrinfo.c:476: warning: unused variable `h_error' *** Exit 1 Stop. -------------- next part -------------- HTML attachment scrubbed and removed
Paul, this message was big enough without also being in HTML! It was probably flagged as spam, hence the long delay. On Friday 25 Oct 02, Hobson, Paul writes:> Hi > > I am trying to compile rsync-2.5.5 on Tru64 UNIX V5.1A > > The configure completed sucessfully however the make failed. The following > is a copy of the configure and make output. Could you please provide advice > as to why this is failing and hopefully resolution. > > Just as a matter of comparison - rsync-2.5.4 make also fails, however, > rsync-2.4.8 compiled sucessfully on this version of Tru64 5.1AI also see this problem, on V5.0A and V5.1 as well. Try the patch described here: <http://www.mail-archive.com/rsync@lists.samba.org/msg03583.html> It appears to have been committed, if you want to try a CVS checkout. (I haven't tried the patch or CVS myself. My rsync-2.5.5 works because I built it on DU-4.0D. :-) Please do report back whether this solves the problem. We do want rsync-2.5.6 to build cleanly on Tru64 V5.1A! Thanks, David ------------------------------------------------------------------- David Starks-Browning | starksb@ebi.ac.uk EMBL Outstation -- | The European Bioinformatics Institute | Wellcome Trust Genome Campus | tel: +44 (1223) 494 616 Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468 -------------------------------------------------------------------
David Sorry about the original message.... length: I wanted to make sure you had the whole picture format: I keep forgetting when emailing "real" people, that the brain-dead "Outlook" sends in "Rich Text" :-)) I applied the changes to the configure.in file ----- # AC_CHECK_FUNCS(getaddrinfo, , AC_LIBOBJ(lib/getaddrinfo)) # Tru64 UNIX has getaddrinfo() but has it renamed in libc as # something else so we must include <netdb.h> to get the # redefinition. AC_CHECK_FUNCS(getaddrinfo, , [AC_MSG_CHECKING([for getaddrinfo by including <netdb.h>]) AC_TRY_LINK([#include <sys/types.h> #include <sys/socket.h> #include <netdb.h>],[getaddrinfo(NULL, NULL, NULL, NULL);], [AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_GETADDRINFO, 1, [Define if you have the `getaddrinfo' function.])], [AC_MSG_RESULT([no]) AC_LIBOBJ(lib/getaddrinfo)])]) AC_CHECK_FUNCS(getnameinfo, , AC_LIBOBJ(lib/getnameinfo)) ----- however experienced the identical error as in my previous message ----- gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `gai_strerror': lib/getaddrinfo.c:180: `EAI_MAX' undeclared (first use in this function) lib/getaddrinfo.c:180: (Each undeclared identifier is reported only once lib/getaddrinfo.c:180: for each function it appears in.) lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206: warning: subscript has type `char' lib/getaddrinfo.c: In function `ogetaddrinfo': lib/getaddrinfo.c:262: `EAI_BADHINTS' undeclared (first use in this function) lib/getaddrinfo.c:263: `AI_MASK' undeclared (first use in this function) lib/getaddrinfo.c:353: `EAI_PROTOCOL' undeclared (first use in this function) lib/getaddrinfo.c:399: warning: unused variable `pfx' lib/getaddrinfo.c: In function `get_name': lib/getaddrinfo.c:476: warning: unused variable `h_error' *** Exit 1 Stop. Sorry to be a nuisance... Paul Hobson -----Original Message----- From: David Starks-Browning [mailto:starksb@ebi.ac.uk] Sent: Thursday, 7 November 2002 9:37 PM To: Hobson, Paul Cc: 'rsync@samba.org' Subject: Rsync-2.5.5 on Tru64 UNIX V51.A Paul, this message was big enough without also being in HTML! It was probably flagged as spam, hence the long delay. On Friday 25 Oct 02, Hobson, Paul writes:> Hi > > I am trying to compile rsync-2.5.5 on Tru64 UNIX V5.1A > > The configure completed sucessfully however the make failed. The > following is a copy of the configure and make output. Could you > please provide advice as to why this is failing and hopefully > resolution. > > Just as a matter of comparison - rsync-2.5.4 make also fails, however, > rsync-2.4.8 compiled sucessfully on this version of Tru64 5.1AI also see this problem, on V5.0A and V5.1 as well. Try the patch described here: <http://www.mail-archive.com/rsync@lists.samba.org/msg03583.html> It appears to have been committed, if you want to try a CVS checkout. (I haven't tried the patch or CVS myself. My rsync-2.5.5 works because I built it on DU-4.0D. :-) Please do report back whether this solves the problem. We do want rsync-2.5.6 to build cleanly on Tru64 V5.1A! Thanks, David ------------------------------------------------------------------- David Starks-Browning | starksb@ebi.ac.uk EMBL Outstation -- | The European Bioinformatics Institute | Wellcome Trust Genome Campus | tel: +44 (1223) 494 616 Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468 -------------------------------------------------------------------
Paul, You have to regenerate configure after modifying configure.in. The rsync folks are helpful and have an up-to-date copy of configure as part of cvs. (Most projects only generate configure with a proper release.) You should probably just checkout from cvs and build that. Good luck. David On Friday 8 Nov 02, Hobson, Paul writes:> I applied the changes to the configure.in file ----- > ... > ----- however experienced the identical error as in my previous message > ...
Thanks David I grabbed the http://cvs.samba.org/cgi-bin/cvsweb/rsync/configure 1.142 - and with the changes to configure.in - it works a treat. Although I haven't had the chance for extensive testing - but it does configure, make, install and successfully moves files between machines. Thanks all Paul -----Original Message----- From: David Starks-Browning [mailto:starksb@ebi.ac.uk] Sent: Friday, 8 November 2002 9:38 AM To: Hobson, Paul Cc: 'rsync@samba.org' Subject: RE: Rsync-2.5.5 on Tru64 UNIX V51.A Paul, You have to regenerate configure after modifying configure.in. The rsync folks are helpful and have an up-to-date copy of configure as part of cvs. (Most projects only generate configure with a proper release.) You should probably just checkout from cvs and build that. Good luck. David On Friday 8 Nov 02, Hobson, Paul writes:> I applied the changes to the configure.in file ----- > ... > ----- however experienced the identical error as in my previous > message ...