[GRASS-user] GUI/Addons
Hernán De Angelis
variablestarlight at gmail.com
Thu May 6 06:57:18 PDT 2021
Cyril,
I also use openSUSE (Tumbleweed, not Leap). I believe you are
experiencing problems that have different causes.
In first place you seem to use Python modules installed using both the
package manager (zypper) and pip. My experience is that this is often
cause for conflicts that are hard to diagnose and solve. My suggestion
is to uninstall everything and install again using one or the other
approach exclusively.
One reason I use Tumbleweed instead of Leap is that packages in the
latter may be outdated and pose problems. In tumbleweed everything is
bleeding edge. This is most often and advantage although of course it
sometimes poses a different sort of problem.
Then I see you also have problems with openJPEG but I cannot help with
that.
Good luck!
Hernán
On 2021-05-06 15:20, Cyril Gainon wrote:
> 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
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210506/f9b65dbc/attachment.html>
More information about the grass-user
mailing list