Dear GRASS users, I have previously had GRASS 70 compiled from sourcecode and was able to install add-ons with g.extension. Few days ago I discovered the rpm of GRASS 7.0.3 so I removed the compiled one and installed the rpm instead with grass-devel, liblas, and liblas-devel. Now I'm trying to install an add-on but this is happening:
g.extension extension=r.vol.dem --verbose
Fetching <r.vol.dem> from GRASS-Addons SVN repository (be patient)...
A r.vol.dem/main.c
A r.vol.dem/r_vol_dem_layerup.jpg
A r.vol.dem/r.vol.dem.html
A r.vol.dem/chull.c
A r.vol.dem/globals.h
A r.vol.dem/r_vol_dem_layerdown.jpg
A r.vol.dem/macros.h
A r.vol.dem/Makefile
A r.vol.dem/chull.h
U r.vol.dem
Checked out revision 68319.
Compiling...
ERROR: Please install GRASS development package
As I'm pretty new in both grass and fedora I'm not really sure what do here. grass-devel is surely installed but somehow it is not recognized when running the command.
Any help is appreciated.
Thanks
If you have the GRASS development package installed, you can try to debug
the issue by using -d flag (Download source code and exit). This will give
you directory with the source code and a command to compile. Try also other
addons.
On Wed, Apr 27, 2016 at 07:21:07PM -0400, Vaclav Petras wrote:
On Wed, Apr 27, 2016 at 2:35 PM, Salim Razzaz <salim.razzaz@gmail.com>
wrote:
> the compiled one and installed the rpm instead with grass-devel, liblas,
> and liblas-devel. Now I'm trying to install an add-on but this is happening:
>
> g.extension extension=r.vol.dem --verbose
> Fetching <r.vol.dem> from GRASS-Addons SVN repository (be patient)...
> ...
>
Compiling...
> ERROR: Please install GRASS development package
>
If you have the GRASS development package installed, you can try to debug
the issue by using -d flag (Download source code and exit). This will give
you directory with the source code and a command to compile. Try also other
addons.
Thank you for your answer. I did what you suggested and downloaded the addon (I even tried with a different add-on 'd.vect.thematic2'), but when running the command to compile the source code I got:
Makefile:5: /usr/lib64/grass-7.0.3/include/Make/Script.make: No such file or directory
make: *** No rule to make target '/usr/lib64/grass-7.0.3/include/Make/Script.make'. Stop.
There isn't any directory called 'include' in /usr/lib64/grass-7.0.3/ when I checked. And grass-devel is installed (I ran 'dnf list installed grass-devel' and it is there)
I guess I'll revert back to a compiled GRASS
There isn't any directory called 'include' in /usr/lib64/grass-7.0.3/ when I checked. And grass-devel is installed (I ran 'dnf list installed grass-devel' and it is there)
it sounds like broken packaging on Fedora. What is content of
grass-devel package?
There isn't any directory called 'include' in /usr/lib64/grass-7.0.3/ when I checked. And grass-devel is installed (I ran 'dnf list installed grass-devel' and it is there)
On Thu, Apr 28, 2016 at 01:52:31PM +0200, Martin Landa wrote:
2016-04-28 12:03 GMT+02:00 Salim Razzaz <salim.razzaz@gmail.com>:
> There isn't any directory called 'include' in /usr/lib64/grass-7.0.3/ when I checked. And grass-devel is installed (I ran 'dnf list installed grass-devel' and it is there)
it sounds like broken packaging on Fedora. What is content of
grass-devel package?
So yeah. Make went missing like Markus said. It exists in the __src.rpm though. and it shows in BUILD after packaging. So I guess it's the spec file. I'm a newbie, but a curious one. So I'll try to find the culprit piece and report back if anything shows up (doubt it though, considering my skills).
On Fri, Apr 29, 2016 at 11:50 AM, Salim Razzaz <salim.razzaz@gmail.com> wrote:
...
So yeah. Make went missing like Markus said. It exists in the __src.rpm though. and
it shows in BUILD after packaging. So I guess it's the spec file. I'm a newbie, but a
curious one.
$ grass72 --config path
ERROR: Please install the GRASS GIS development package
Exiting...
$ dnf list installed *grass-devel*
Installed Packages
grass-devel.x86_64 7.2.1-2.fc27 @fedora
I believe it is a packaging error, but I don't know what is missing.
Any thought?
Regards,
Laurent
2016-04-29 5:39 GMT-05:00 Markus Neteler <neteler@osgeo.org>:
On Fri, Apr 29, 2016 at 11:50 AM, Salim Razzaz <salim.razzaz@gmail.com> wrote:
...
So yeah. Make went missing like Markus said. It exists in the __src.rpm though. and
it shows in BUILD after packaging. So I guess it's the spec file. I'm a newbie, but a
curious one.
Dear all,
I am having the same problem also with the F27 package from coprs/neteler/grass72/. But I am not sure it is the same problem or I am doing something wrong.
I removed grass from fedora repository, enabled the copr repository and then installed grass again from the new repository.
Thanks
Laura
···
On 29 November 2017 at 20:31, Markus Neteler <neteler@osgeo.org> wrote:
On Wed, Nov 29, 2017 at 8:19 PM, Laurent C. <lrntct@gmail.com> wrote:
Hello all,
I have a similar problem with Fedora 27:
$ grass72 --config path
ERROR: Please install the GRASS GIS development package
Exiting…
$ dnf list installed grass-devel
Installed Packages
grass-devel.x86_64 7.2.1-2.fc27 @fedora
I believe it is a packaging error,
Yes.
but I don’t know what is missing.
Any thought?
Missing from the grass-devel RPM is the “include/” directory. This
contains the information needed by g.extension.
On Fri, Dec 15, 2017 at 10:04 AM, Laura Poggio <laura.poggio@gmail.com> wrote:
Dear all,
I am having the same problem also with the F27 package from
coprs/neteler/grass72/. But I am not sure it is the same problem or I am
doing something wrong.
I removed grass from fedora repository, enabled the copr repository and then
installed grass again from the new repository.
There is still a bug in the SPEC file defining how the RPM package is
generated. It is missing to add the include/ directory into the
grass-devel package. See also https://bugzilla.redhat.com/show_bug.cgi?id=1489158
I would need some support to get the SPEC file right.
Anyone?
Dear all,
I am having the same problem also with the F27 package from
coprs/neteler/grass72/. But I am not sure it is the same problem or I am
doing something wrong.
I removed grass from fedora repository, enabled the copr repository and then
installed grass again from the new repository.
There is still a bug in the SPEC file defining how the RPM package is
generated. It is missing to add the include/ directory into the
grass-devel package. See also https://bugzilla.redhat.com/show_bug.cgi?id=1489158
I would need some support to get the SPEC file right.
Anyone?
I have added a working grass.spec file to trunk r72082. It works fine with Fedora 28 and GRASS 7.4.0 (yes, none of the two is already released). Installing addons with g.extension as standard user works now, granted that grass-devel is installed.
The main change is that GRASS is installed into one single folder, the same as before, but now all required components are actually in this single folder and not moved away to different locations. Man pages and docs are in the system’s standard locations and available without starting GRASS.
Further on, the demolocation is now included in the standard installation, and the gui is a separate package.
@MarkusN: can you test the new spec file (trunk/rpm/grass.spec) with your copr system? Thanks!
On Mon, Jan 15, 2018 at 9:28 PM, Markus Metz
<markus.metz.giswork@gmail.com> wrote:
...
I have added a working grass.spec file to trunk r72082. It works fine with
Fedora 28 and GRASS 7.4.0 (yes, none of the two is already released).
Installing addons with g.extension as standard user works now, granted that
grass-devel is installed.
The main change is that GRASS is installed into one single folder, the same
as before, but now all required components are actually in this single
folder and not moved away to different locations. Man pages and docs are in
the system's standard locations and available without starting GRASS.
Further on, the demolocation is now included in the standard installation,
and the gui is a separate package.
Nice!
@MarkusN: can you test the new spec file (trunk/rpm/grass.spec) with your
copr system? Thanks!