[GRASS5] Lost in the build topology

Rich Shepard rshepard at appl-ecosys.com
Wed Feb 21 13:38:17 EST 2001


  I'm trying to compile David's latest source for v.in.mif, but I still have
the incorrect path _somewhere_ in the build path.

  The source is in /opt/grass5.0beta11.2_src/src/mapdev/v.in.mif/. When I
originally downloaded, built and installed 11.2, it was in
/opt/grass5/grass5.0beta11_src/. I removed the grass5/ directory and added
the minor number to the "...beta11" in the directory name.

  This morning, when I found the first compiler error messages, I edited
gmake5 to reflect the changed path and I traced the build topology as far as
I can in both the /opt/... and /usr/local/grass5/... paths. Changed the path
every place it needed to be corrected. But, ... someone's hiding on me.

  Here's the output. You can see that the gcc output directory still has the
old path. I just cannot find the make file that's doing it. I hope that
someone here can enlighten me.

[root at salmo v.in.mif]# gmake5
  SRC     = /opt/grass5.0beta11.2_src/src
  CMD     = /opt/grass5.0beta11.2_src/src/CMD
  HEADER  = head.i686-pc-linux-gnu
  ARCH    = i686-pc-linux-gnu
  GISBASE = /opt/grass5/grass5.0beta11_src/dist.i686-pc-linux-gnu
  VERSION = 5.0beta11 February 2001
#################################################################
/opt/grass5.0beta11.2_src/src/mapdev/v.in.mif
  make -f OBJ.i686-pc-linux-gnu/make.rules

gcc -s  -o
/opt/grass5/grass5.0beta11_src/dist.i686-pc-linux-gnu/etc/bin/cmd/v.in.mif
OBJ.i686-pc-linux-gnu/lex.yy.o OBJ.i686-pc-linux-gnu/main.o
OBJ.i686-pc-linux-gnu/attval.o OBJ.i686-pc-linux-gnu/parse.o
OBJ.i686-pc-linux-gnu/write_lines.o OBJ.i686-pc-linux-gnu/fields.o
OBJ.i686-pc-linux-gnu/cpoly.o OBJ.i686-pc-linux-gnu/gbtree.o
OBJ.i686-pc-linux-gnu/store.o
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libvect.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libdig2.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libgis.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/liblinkm.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libdig_atts.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libdatetime.a
/opt/grass5.0beta11.2_src/src/libes/LIB.i686-pc-linux-gnu/libvask.a
-lncurses   -lm  -I/usr/include  -L/usr/lib -lz
/usr/bin/ld: cannot open output file
/opt/grass5/grass5.0beta11_src/dist.i686-pc-linux-gnu/etc/bin/cmd/v.in.mif:
No such file or directory
collect2: ld returned 1 exit status
make: ***
[/opt/grass5/grass5.0beta11_src/dist.i686-pc-linux-gnu/etc/bin/cmd/v.in.mif]
Error 1

  I've rgrep'd through the complete source directory and I cannot find in
which file that incorrect GISBASE is living. I've gone through every gmake5
and Makefile I can find, but without success.

  I hope that someone here has an answer.

Thanks,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard at appl-ecosys.com


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list