[GRASS-dev] g.extension error with r.in.redwg and r.fuzzy (GRASS 7)

Hi,

I tried to install two add-ons (r.in.redwg and r.fuzzy) for GRASS7 on Ubuntu (latest revision 57266) but g.extension produces following errors:

g.extension -s extension=v.in.redwg svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <v.in.redwg> from GRASS-Addons SVN (be patient)…
Compiling…
entity.c:39:17: fatal error: dwg.h: No such file or
directory
compilation terminated.
make: *** [OBJ.i686-pc-linux-gnu/entity.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.

g.extension -s extension=r.fuzzy svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <r.fuzzy> from GRASS-Addons SVN (be patient)…
Compiling…
In file included from logic.c:3:0:
local_proto.h:21:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:22:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from main.c:18:0:
local_proto.h:21:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:22:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from fuzzylogic.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from helpers.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from io.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from main.c:17:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from map_parser.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from rule_parser.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
In file included from system.c:1:0:
local_proto.h:24:0: warning: “MAX” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:76:0: note: this is
the location of the previous definition
local_proto.h:25:0: warning: “MIN” redefined [enabled by
default]
/usr/include/i386-linux-gnu/sys/param.h:75:0: note: this is
the location of the previous definition
Installing…
make: *** No rule to make target `install’. Stop.
WARNING: Installation failed, sorry. Please check above error messages.
(Thu Jul 25 11:18:53 2013) Command finished (10 sec)

Can anyone confirm that so that I can launch a bug note? Or is that easy to solve?

Best regards,

Johannes

On Thu, Jul 25, 2013 at 11:22 AM, Johannes Radinger
<johannesradinger@gmail.com> wrote:

Hi,

I tried to install two add-ons (r.in.redwg and r.fuzzy) for GRASS7 on Ubuntu
(latest revision 57266) but g.extension produces following errors:

g.extension -s extension=v.in.redwg
svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <v.in.redwg> from GRASS-Addons SVN (be patient)...
Compiling...
entity.c:39:17: fatal error: dwg.h: No such file or
directory
compilation terminated.
make: *** [OBJ.i686-pc-linux-gnu/entity.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.

You need the LibreDWG to be installed, see
http://svn.osgeo.org/grass/grass-addons/grass7/vector/v.in.redwg/v.in.redwg.html

g.extension -s extension=r.fuzzy
svnurl=http://svn.osgeo.org/grass/grass-addons/grass7
Fetching <r.fuzzy> from GRASS-Addons SVN (be patient)...
Compiling...
In file included from logic.c:3:0:
local_proto.h:21:0: warning: "MAX" redefined [enabled by
default]

...

Installing...
make: *** No rule to make target `install'. Stop.
WARNING: Installation failed, sorry. Please check above error messages.
(Thu Jul 25 11:18:53 2013) Command finished (10 sec)

Fixed in r57277 (G7) and r57278 (G6),

Markus