[GRASSLIST:1107] Re: compiling cvs source tree

Markus Neteler neteler at geog.uni-hannover.de
Sun Nov 12 15:02:37 EST 2000


Hi Moritz,


what does 
uname -a
tell you? Please send this result. It seems some variable
is not set properly (hostname or something else).

Markus


On Sun, Nov 12, 2000 at 07:48:23PM +0100, mlennert at club.worldonline.be wrote:
> I updated with the -dP option, but nothing changes. 
> 
> Here's the output of make pre-install:
> 
> -------------------------------------------------------------------
> test -d /usr/local/grass-5.0b || mkdir -p -m 755 /usr/local/grass-5.0b
> test -d src/CMD/next_step || mkdir -p src/CMD/next_step
> UNIX_BIN=/usr/local/bin SRC=`pwd` MAKE=make NAME_VER=`cat src/CMD/VERSION | 
> head -1 | sed 's/\..*//'` GISBASE=/usr/local/grass-5.0b MACHINENAME=`uname -n` 
> /bin/sh src/CMD/generic/CREATE_GMAKE.sh
> cat: src/CMD/generic/../head/head.: No such file or directory
> /bin/sh `pwd`/src/CMD/generic/is64bit.sh
> cat: /usr/local/grass/src/CMD/generic/../head/head.: No such file or directory
> /usr/local/grass/src/CMD/generic/is64bit.sh: 64test.c: command not found
> /usr/local/grass/src/CMD/generic/is64bit.sh: ./a: No such file or directory
> /usr/local/grass/src/CMD/generic/is64bit.sh: [: : integer expression expected
> echo "Now proceed with make install"
> Now proceed with make install
> ----------------------------------------------------------------------
> 
> No 'head.$ARCH' file is created, and it looks for a 'head.' file that 
> obviously doesn't exist either. There is a 'head' file in the src/CMD/head 
> directory (next to the 'head.in' file) with 'i586-linux-elf' as entry for the 
> ARCH variable.
> 
> Moritz
> 
> P.S. Markus : Entschuldige die Probleme mit meinem Mailprogramm. Ich bin 
> gerade auf exmh umgestiegen und habe noch einige Konfigurationsprobleme.
> 
> > HI Moritz,
> > 
> > it must be a local problem, as many people can compile it. But: we will fix
> > it.
> > So: Did you update with "-dP" option?
> > 
> > cvs update -dP
> > 
> > Then you get news directories also, if there.
> > P is removing empty directories.
> > Ah! Yes, the configure is generating head from
> > head.i. Then, if you say
> > make pre-install
> > you get the head.$ARCH file.
> > 
> > Could you please try that?
> > 
> > Then make install should do the job.
> > 
> > Yours
> > 
> >  Markus
> > 
> > 
> > 
> > On Sun, Nov 12, 2000 at 12:45:53AM +0100, Moritz Lennert wrote:
> > > Even when running ./configure again I get the same problem. I attached the 
> > > config.log file in which there is an error message which might be linked to 
> > > the problem. In the src/CMD/head directory I get a 'head' file and a 'head.in' 
> > > file.
> > > I'm using Debian/Linux (Potato).
> > > 
> > > 
> > > 
> > > > Hi Moritz,
> > > > 
> > > > On Sat, Nov 11, 2000 at 06:27:50PM +0100, mlennert at club.worldonline.be wrote:
> > > > > Hello,
> > > > > 
> > > > > I have trouble compiling the cvs source tree. I get the following error 
> > > > > message after typing 'make install':
> > > > > 
> > > > > test -d /usr/local/grass-5.0b || mkdir -p -m 755 /usr/local/grass-5.0b
> > > > > test -d src/CMD/next_step || mkdir -p src/CMD/next_step
> > > > > UNIX_BIN=/usr/local/bin SRC=`pwd` MAKE=make NAME_VER=`cat src/CMD/VERSION | 
> > > > > head -1 | sed 's/\..*//'` GISBASE=/usr/local/grass-5.0b MACHINENAME=`uname -n` 
> > > > > /bin/sh src/CMD/generic/CREATE_GMAKE.sh
> > > > > cat: src/CMD/generic/../head/head.: No such file or directory
> > > > ... here is the problem.       ^^^^^
> > > > 
> > > > Recently we have updated the Makefile system to generate platform
> > > > specific file. Means: Formerly one head.file was generated.
> > > > Now you get a head file name depending on the computer platform
> > > > e.g. src/CMD/head/head.i686-pc-linux-gnu
> > > > 
> > > > After you have run
> > > > cvs update -dP
> > > > I guess you did not run
> > > > configure
> > > > 
> > > > again. If you do, the problem should be fixed as the new head-file
> > > > will be generated. Sorry for this inconvenience, but now you
> > > > can compile GRASS in a network of different platform types from
> > > > the same source code tree.
> > > > 
> > > > In case of "configure" does not fix your problem, please let
> > > > me know.
> > > > 
> > > > Kind regards
> > > > 
> > > >  Markus
> > > 
> > > 
> > > 
> > 
> > Content-Description: config.log
> > > This file contains any messages produced by compilers while
> > > running configure, to aid debugging if configure makes a mistake.
> > > 
> > > configure:571: checking host system type
> > > configure:594: checking for gcc
> > > configure:707: checking whether the C compiler (gcc  ) works
> > > configure:723: gcc -o conftest    conftest.c  1>&5
> > > configure:749: checking whether the C compiler (gcc  ) is a cross-compiler
> > > configure:754: checking whether we are using GNU C
> > > configure:782: checking whether gcc accepts -g
> > > configure:815: checking whether ld -s works
> > > configure:827: gcc -o conftest -g -O2  -s conftest.c  1>&5
> > > configure:852: checking for a BSD compatible install
> > > configure:907: checking for flex
> > > configure:941: checking for yywrap in -lfl
> > > configure:985: checking for ranlib
> > > configure:1017: checking for env
> > > configure:1051: checking for f77
> > > configure:1081: checking how to run the C preprocessor
> > > configure:1165: checking for X
> > > configure:1479: checking for dnet_ntoa in -ldnet
> > > configure:1520: checking for dnet_ntoa in -ldnet_stub
> > > configure:1568: checking for gethostbyname
> > > configure:1666: checking for connect
> > > configure:1758: checking for remove
> > > configure:1850: checking for shmat
> > > configure:1951: checking for IceConnectionNumber in -lICE
> > > configure:1995: checking for ANSI C header files
> > > configure:2102: checking for curses.h
> > > configure:2102: checking for limits.h
> > > configure:2102: checking for termio.h
> > > configure:2102: checking for termios.h
> > > configure:2102: checking for unistd.h
> > > configure:2102: checking for values.h
> > > configure:2142: checking for sys/ioctl.h
> > > configure:2142: checking for sys/mtio.h
> > > configure:2142: checking for sys/resource.h
> > > configure:2142: checking for sys/time.h
> > > configure:2182: checking for sys/timeb.h
> > > configure:2182: checking for sys/types.h
> > > configure:2182: checking for sys/utsname.h
> > > configure:2219: checking whether time.h and sys/time.h may both be included
> > > configure:2254: checking for off_t
> > > configure:2287: checking for uid_t in sys/types.h
> > > configure:2322: checking curses.h WINDOW structure component
> > > configure:2335: gcc -c -g -O2  conftest.c 1>&5
> > > configure: In function `t':
> > > configure:2331: structure has no member named `maxy'
> > > configure: failed program was:
> > > #line 2325 "configure"
> > > #include "confdefs.h"
> > > 
> > >   #include <curses.h>
> > >   WINDOW w;
> > >   
> > > int main() {
> > > void t () { w.maxy = 0; }
> > > ; return 0; }
> > > configure:2354: gcc -c -g -O2  conftest.c 1>&5
> > > configure:2372: checking for ftime
> > > configure:2372: checking for gethostname
> > > configure:2372: checking for gettimeofday
> > > configure:2372: checking for lseek
> > > configure:2372: checking for nice
> > > configure:2372: checking for time
> > > configure:2372: checking for uname
> > > configure:2427: checking for seteuid
> > > configure:2427: checking for setpriority
> > > configure:2427: checking for setreuid
> > > configure:2427: checking for setruid
> > > configure:2480: checking whether setpgrp takes no argument
> > > configure:2535: checking for initscr in -lncurses
> > > configure:2577: checking for initscr in -lcurses
> > > configure:2595: checking for gtty in -lcompat
> > > configure:2640: checking for tgetent in -ltermlib
> > > configure:2685: checking for xdr_int in -lsun
> > > configure:2727: checking for xdr_int in -lnsl
> > > configure:2622: checking for gtty in -lcompat
> > > configure:2667: checking for tgetent in -ltermlib
> > > configure:2712: checking for xdr_int in -lsun
> > > configure:2754: checking for xdr_int in -lnsl
> > 
> > 
> > -- 
> > Dipl.-Geogr. Markus Neteler *  University of Hannover
> > Institute of Physical Geography and Landscape Ecology
> > Schneiderberg 50 * D-30167 Hannover * Germany
> > Tel: ++49-(0)511-762-4494  Fax: -3984
> > 
> > 
> 

-- 
Dipl.-Geogr. Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984




More information about the grass-user mailing list