[GRASSLIST:2582] 1)mapcalc 2)Idrisi

Hi list… Two problems i want to mention here: 1)during my last compilation of GRASS i received an error on r.mapcalc3 (the module i need most this period…Murphy’s Law i suppose. The make of the module ends with: ld:can’t locate file for -lhistory Error 1 Any help??? 2) How can i import idrisi raster files? They have a .rst extension and they are accompanied by a .rdc file. Thanks in advance Kostas Theofilis

edmund@helmug.gr wrote:

1)during my last compilation of GRASS i received an error on
r.mapcalc3 (the module i need most this period...Murphy's Law i
suppose.

The make of the module ends with:

ld:can't locate file for -lhistory Error 1

This appears to be a bug in r.mapcalc3/Gmakefile; it should use
$(READLINELIBPATH) (which is set to the argument to the
--with-readline-libs= configure switch), but it doesn't.

Change the line:

LIBES = $(GISLIB) $(BTREELIB) $(ROWIOLIB) $(READLINELIB) $(HISTORYLIB)

to:

LIBES = $(GISLIB) $(BTREELIB) $(ROWIOLIB) $(READLINELIBPATH) $(READLINELIB) $(HISTORYLIB)

--
Glynn Clements <glynn.clements@virgin.net>