From ripley at stats.ox.ac.uk  Tue Jul 20 16:20:21 2010
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 20 Jul 2010 15:20:21 +0100 (BST)
Subject: [Rd] Package ff building error on solaris x64 10u7
In-Reply-To: <002301cb280c$b28ee960$17acbc20$@com>
References: <002301cb280c$b28ee960$17acbc20$@com>
Message-ID: <alpine.LFD.2.00.1007201508130.30652@gannet.stats.ox.ac.uk>

This is a known problem, reported to the maintainer months ago.  Try

http://www.stats.ox.ac.uk/pub/RWin/GPLcompliance/ff_2.1-2.1.tar.gz

[You will be able to see which 100+ packages fail on Solaris from the 
CRAN package check pages.]

And please try to send properly formatted text messages: we really 
don't want to read double-spaced output.

On Tue, 20 Jul 2010, ??? wrote:

> Hi again,
>
>         I am trying to building ff on solaris x64 10u7, and failed 
> with the following result:
>
>
>
> -bash-3.00$ R CMD INSTALL ff
>
> * installing to library '/opt/R/R2-11-1/lib/R/library'
>
> * installing *source* package 'ff' ...
>
> checking for gcc... /opt/sunstudio12.1/bin/cc -m64
>
> checking for C compiler default output file name... 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... no
>
> checking whether /opt/sunstudio12.1/bin/cc -m64 accepts -g... yes
>
> checking for /opt/sunstudio12.1/bin/cc -m64 option to accept ISO C89... none needed
>
> checking how to run the C preprocessor... /opt/sunstudio12.1/bin/cc -m64 -E
>
> checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
>
> checking for egrep... /usr/sfw/bin/ggrep -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 sys/vfs.h usability... yes
>
> checking sys/vfs.h presence... yes
>
> checking for sys/vfs.h... yes
>
> checking sys/mman.h usability... yes
>
> checking sys/mman.h presence... yes
>
> checking for sys/mman.h... yes
>
> checking sys/file.h usability... yes
>
> checking sys/file.h presence... yes
>
> checking for sys/file.h... yes
>
> checking for sys/stat.h... (cached) yes
>
> checking for unistd.h... (cached) yes
>
> checking fcntl.h usability... yes
>
> checking fcntl.h presence... yes
>
> checking for fcntl.h... yes
>
> checking sys/param.h usability... yes
>
> checking sys/param.h presence... yes
>
> checking for sys/param.h... yes
>
> checking sys/mount.h usability... yes
>
> checking sys/mount.h presence... yes
>
> checking for sys/mount.h... yes
>
> checking for struct statfs.f_iosize... no
>
> checking sys/statfs.h usability... yes
>
> checking sys/statfs.h presence... yes
>
> checking for sys/statfs.h... yes
>
> checking for struct statfs.f_iosize... (cached) no
>
> checking sys/statvfs.h usability... yes
>
> checking sys/statvfs.h presence... yes
>
> checking for sys/statvfs.h... yes
>
> checking for off_t... yes
>
> checking for size_t... yes
>
> checking for special C compiler options needed for large files... no
>
> checking for _FILE_OFFSET_BITS value needed for large files... no
>
> checking for _LARGEFILE_SOURCE value needed for large files... no
>
> checking for fseeko... yes
>
> configure: creating ./config.status
>
> config.status: creating src/ac_config.h
>
> ** libs
>
> /opt/sunstudio12.1/bin/CC -m64 -lCrun -I/opt/R/R2-11-1/lib/R/include  -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include    -KPIC  -xO3 -c Error.cpp -o Error.o
>
> /opt/sunstudio12.1/bin/CC -m64 -lCrun -I/opt/R/R2-11-1/lib/R/include  -I/opt/R/R2-11-1/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/share/include    -KPIC  -xO3 -c FSInfo_statfs.cpp -o FSInfo_statfs.o
>
> "FSInfo_statfs.cpp", line 50: Error: Could not find a match for statfs(const char*, statfs*) needed in ff::getFSInfo(const char*, ff::FSInfo&).
>
> "FSInfo_statfs.cpp", line 52: Error: f_bavail is not a member of statfs.
>
> "FSInfo_statfs.cpp", line 53: Warning: The variable sfs has not yet been assigned a value.
>
> 2 Error(s) and 1 Warning(s) detected.
>
> *** Error code 2
>
> make: Fatal error: Command failed for target `FSInfo_statfs.o'
>
> ERROR: compilation failed for package 'ff'
>
> * removing '/opt/R/R2-11-1/lib/R/library/ff'
>
> -bash-3.00$
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Package ff building error on solaris x64 10u7
Prof Brian Ripley