[GRASS-user] GUI/Addons

Cyril Gainon gainon.cyril at hotmail.fr
Thu May 6 06:20:05 PDT 2021


Oh yeah sorry abour that.

you're right i totally forgot about it, i mainly used apt-get (in my studies i was mostly on mint) so i guess we go back to your theory conflit with unbuntu library.

Here are all the wx i got with zypper pa | grep wx

   | openSUSE-Leap-15.2-1                                                                           | plplotwxwidgets-devel                                             | 5.15.0-lp152.2.4                                                 | x86_64
   | Dépôt principal                                                                                        | plplotwxwidgets-devel                                             | 5.15.0-lp152.2.4                                                 | x86_64
i+ | openSUSE-Leap-15.2-1                                                                           | python-wxWidgets-3_0                                              | 3.0.2.0-lp152.4.8                                                | x86_64
i+ | Dépôt principal                                                                                       | python-wxWidgets-3_0                                              | 3.0.2.0-lp152.4.8                                                | x86_64
   | openSUSE-Leap-15.2-1                                                                           | python-wxWidgets-3_0-devel                                        | 3.0.2.0-lp152.4.8                                                | x86_64
   | Dépôt principal                                                                                        | python-wxWidgets-3_0-devel                                        | 3.0.2.0-lp152.4.8                                                | x86_64
i+ | openSUSE-Leap-15.2-1                                                                         | python-wxWidgets-3_0-lang                                         | 3.0.2.0-lp152.4.8                                                | x86_64
i+ | Dépôt principal                                                                                      | python-wxWidgets-3_0-lang                                         | 3.0.2.0-lp152.4.8

btw does any package from pip influence on the behavior of grass ?

Here is the full error message

GRASS 7.8.4 (nc_spm_08_grass7):~ > g.extension extension=r.neighborhoodmatrix
Fetching <r.neighborhoodmatrix> from GRASS GIS Addons repository (be
patient)...
Compiling...
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld : /usr/lib64/libgdal.so.28 : référence indéfinie vers « opj_encoder_set_extra_options »
collect2: error: ld returned 1 exit status
make: *** [/usr/lib64/grass78/include/Make/Module.make:18: /tmp/grass7-cyril.gainon-13653/tmpsqayrj_1/r.neighborhoodmatrix/bin/r.neighborhoodmatrix] Error 1
ERREUR : Compilation failed, sorry. Please check above error messages.
GRASS 7.8.4 (nc_spm_08_grass7):~ >

________________________________
(please keep the list in CC so that all can contribute/benefit)

On Thu, May 6, 2021 at 11:27 AM Cyril Gainon <gainon.cyril at hotmail.fr> wrote:
>
> Hello Markus,
>
> First thanks for your reactivity.
>
> I thought i mentioned it at the end of my mail. I'm currently using OpenSuse Leap 15.2, both error are on the same computer.

I see. I was just confused about

> And when i try to install it via sudo apt-get install wxPython

Isn't it zypper on OpenSuse?

> I checked the wiki page you linked, and it seems that i already have the package, maybe as you said lower i have some conflict.

Please send the list of wxpython related packages which are installed.

Now to your separate g.extension problem:

> GDAL work fines, i just used gdalwarp 2 min ago.

OK, good.

> So now, how can i see there is a conflict and how can i fix it ?

No idea. I just tried here:

GRASS nc_spm_08_grass7/user1:~ > g.extension extension=r.neighborhoodmatrix
Fetching <r.neighborhoodmatrix> from GRASS GIS Addons repository (be
patient)...
Compiling...
main.c: In function ‘main’:
main.c:83:28: warning: unused variable ‘nbp_search’ [-Wunused-variable]
   83 |     struct nbp *nbp_found, nbp_search, *nbp_new;
      |                            ^~~~~~~~~~
main.c:66:9: warning: unused variable ‘i’ [-Wunused-variable]
   66 |     int i;
      |         ^
At top level:
main.c:47:13: warning: ‘free_pavl_item’ defined but not used [-Wunused-function]
   47 | static void free_pavl_item(void *p)
      |             ^~~~~~~~~~~~~~
Installing...
Updating extensions metadata file...
Updating extension modules metadata file...
Installation of <r.neighborhoodmatrix> successfully finished

The compile warnings are not dramatic and unrelated. Perhaps you can
send the entire error message to better understand.

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210506/c1866483/attachment-0001.html>


More information about the grass-user mailing list