[R-SIG-Mac] gstat (was no subject)
Paul Roebuck
roebuck at mdanderson.org
Sun Mar 26 12:44:58 CEST 2006
On Sat, 25 Mar 2006, epi fanio wrote:
> i've a problem with gstat :
>
> i'm on a mac osx 10.4.5
>
> i've download a source code of gstat-2.4.0 from here :
>
> http://www.gstat.org/download.html
>
> i've unzipped the file on my desktop
>
> then in my shell (bash) :
>
>
> >>>>>>> cd /Users/epi/Desktop/gstat-2.4.0/
>
>
> and :
>
> >>>>>>> ./configure --with-grass6=/usr/local/grasslib/
>
> the result is :
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> <<<<<<<<<<<<
> loading cache ./config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for ranlib... (cached) ranlib
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for gcc option to accept ANSI C... (cached)
> checking for function prototypes... yes
> checking for working const... (cached) yes
> checking for MS-DOS/djgpp... (cached) no
> checking for flex... (cached) flex
> checking for yywrap in -lfl... (cached) yes
> checking for bison... (cached) bison -y
> checking for stat.h... (cached) no
> checking for unistd.h... (cached) yes
> checking for getopt.h... (cached) yes
> checking whether time.h and sys/time.h may both be included...
> (cached) yes
> checking for 8-bit clean memcmp... (cached) yes
> checking for vprintf... (cached) yes
> checking for strstr... (cached) yes
> checking for strtod... (cached) yes
> checking for strtol... (cached) yes
> checking for popen... (cached) yes
> checking for drand48... (cached) yes
> checking for gettimeofday... (cached) yes
> checking for getopt... (cached) yes
> checking whether byte ordering is bigendian... (cached) yes
> checking for main in -lncurses... (cached) yes
> checking for gdImagePng in -lgd... (cached) no
> checking for gdImageGif in -lgd... (cached) no
> checking for main in -lnetcdf... (cached) no
> checking for QRfactor in -lmeschach... (cached) no
> checking for G_gisinit in -lgis... (cached) no
> checking for main in -lgsl... (cached) no
> creating ./config.status
> creating makefile
> creating src/makefile
> creating libcsf/src/makefile
> creating doc/tex/makefile
> creating src/config.h
> src/config.h is unchanged
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>
>
> but when i try to make :
>
>
> >>>>>> make
>
> i've this error :
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> <<<<<<<<<<<<
> (cd libcsf/src; make)
> gcc -c -O -I../include -DHAVE_CONFIG_H _getcell.c
> In file included from ../include/csf.h:13,
> from _getcell.c:9:
> ../include/csftypes.h:161:4: error: #error BYTE ORDER NOT SPECIFIED
> (CPU_LITTLE_ENDIAN or CPU_BIG_ENDIAN)
> make[1]: *** [_getcell.o] Error 1
> make: *** [libcsf/src/libcsf.a] Error 2
> powerbook-g4-12-di-epifanio:~/Desktop/gstat-2.4.0 epi$
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>
>
>
> if i try without <----with-grass6=/usr/local/grasslib/>
> in the ./ command, i've the same error!
> how can i do?
I downloaded gstat-2.4.5.tar.gz from the site you provided
and experienced no compilation issues. For that matter, the
csf directory was not part of the download, although it is
still listed in the README. Any particular reason why you
cannot use the newer version of the distribution?
$ uname -spr
Darwin 8.5.0 powerpc
$ cd ~/Desktop
$ tar zxvf gstat-2.4.5.tar.gz
$ cd gstat-2.4.5
$ ./configure
$ make
----------------------------------------------------------
SIGSIG -- signature too long (core dumped)
More information about the R-SIG-Mac
mailing list