Hi, I tried to compile rsync-2.5.2 on Solaris 5.7 Ultra-2 machine, 5.7 on Ultra-2 is running 64 bit, but, when I ran configure, it said no for largefile, I thought 2.5.2 will support large file? Is that true? Thanks, Jennifer
Hi Albert, Thanks for the quick reply. Configure was run successfully, just curious for the output, because I ran it on Ultra-2 which is running 64-bit, even the output from configure saying 64, but why the next line "checking for _LARGE_FILES value needed for large files... no" say no, configure: loading cache /dev/null configure: Configuring rsync 2.5.2 checking build system type... sparc-sun-solaris2.7 checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking for gcc... no checking for cc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes .. checking for remsh... 1 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... 64 checking for _LARGE_FILES value needed for large files... no .. Does it mean that it doesn't support largefile? Thanks for the help, Jennifer> > On Wed, Jan 30, 2002 at 06:23:02PM -0800, Jennifer Lu wrote: > > I tried to compile rsync-2.5.2 on Solaris 5.7 Ultra-2 machine, > > 5.7 on Ultra-2 is running 64 bit, but, when I ran configure, > > it said no for largefile, I thought 2.5.2 will support large > > file? Is that true? > > Please be more specific. What configure output are you having > difficult with? I just built 2.5.2 with CFLAGS=-xarch=v9 and get: > .. > 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 > > This is to be expected as -xarch=v9 enables 64-bit mode which defaults > to supporting large files (because we're using 64-bit integral types). > > -- > albert chin (china@thewrittenword.com) >-- Jennifer
On Wed, Jan 30, 2002 at 06:23:02PM -0800, Jennifer Lu wrote:> I tried to compile rsync-2.5.2 on Solaris 5.7 Ultra-2 machine, > 5.7 on Ultra-2 is running 64 bit, but, when I ran configure, > it said no for largefile, I thought 2.5.2 will support large > file? Is that true?Please be more specific. What configure output are you having difficult with? I just built 2.5.2 with CFLAGS=-xarch=v9 and get: .. 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 This is to be expected as -xarch=v9 enables 64-bit mode which defaults to supporting large files (because we're using 64-bit integral types). -- albert chin (china@thewrittenword.com)
Hi Albert, Thanks for the help. I did compile rsync2.5.2 with 64 bit, just want to confirm if I got it right. When I ran rsync --version, I got: % ./rsync --version rsync version 2.5.2 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 64-bit system inums, 64-bit internal inums Thanks, Jennifer> Delivered-To: rsync@samba.org > From: Albert Chin <rsync@lists.thewrittenword.com> > To: Jennifer Lu <mou@goodluck.Eng.Sun.COM> > Cc: rsync@samba.org > Subject: Re: Error when compile rsync > Mime-Version: 1.0 > Content-Disposition: inline > User-Agent: Mutt/1.2.5i > X-BeenThere: rsync@lists.samba.org > X-Mailman-Version: 2.0.8 > List-Help: <mailto:rsync-request@lists.samba.org?subject=help> > List-Post: <mailto:rsync@lists.samba.org> > List-Subscribe: <http://lists.samba.org/mailman/listinfo/rsync>,<mailto:rsync-request@lists.samba.org?subject=subscribe>> List-Id: Rsync user list <rsync.lists.samba.org> > List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/rsync>,<mailto:rsync-request@lists.samba.org?subject=unsubscribe>> List-Archive: <http://lists.samba.org/pipermail/rsync/> > Date: Thu, 31 Jan 2002 00:40:58 -0600 > > On Wed, Jan 30, 2002 at 09:49:33PM -0800, Jennifer Lu wrote: > > Thanks for the quick reply. Configure was run successfully, just > > curious for the output, because I ran it on Ultra-2 which is running > > 64-bit, even the output from configure saying 64, but why the next line > > "checking for _LARGE_FILES value needed for large files... no" say no, > > > > configure: loading cache /dev/null > > configure: Configuring rsync 2.5.2 > > checking build system type... sparc-sun-solaris2.7 > > checking host system type... sparc-sun-solaris2.7 > > checking target system type... sparc-sun-solaris2.7 > > checking for gcc... no > > checking for cc... cc > > checking for C compiler default output... a.out > > checking whether the C compiler works... yes > > .. > > checking for remsh... 1 > > 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... 64 > > checking for _LARGE_FILES value needed for large files... no > > .. > > > > > > Does it mean that it doesn't support largefile? > > No. It means that in order to support large files, > -D_FILE_OFFSET_BITS=64 is being added to $CPPFLAGS (look at CPPFLAGS > in Makefile). This also means that you are *not* compiling a 64-bit > version of rsync. You are compiling a 32-bit version with support for > large files. > > To compile a 64-bit version: > $ CC=cc CFLAGS="-xarch=v9" ./configure [blah] > This assumes you're using the Sun C compiler. > > -- > albert chin (china@thewrittenword.com) >Jennifer