View previous topic :: View next topic |
Author |
Message |
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Sat Jan 26, 2019 9:09 am Post subject: WxMaxima, x11-libs/wxGTK, and slot?!? |
|
|
ciao
mi sono imbattuto in qualcosa che non riesco bene a capire
inizialmente avevo compilato x11-libs/wxGTK con gcc v6.4.0, poi ho aggiornato gcc a v7.3.0 e compilato maxima e WxMaxima (suo frontend grafico), la compilazione e' andata a buon fine pero' alla prova del 9 WxMaxima riportava questa faccenda strana
Code: |
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8).
Aborted
|
ho aperto questo bug report
cercando di capire il da farsi, ho notato che WxMaxima chiedeva x11-libs/wxGTK slot3, che non ho capito bene cosa significhi visto che l'ebuild x11-libs/wxGTK e' solo slot3, ma che ai fatti
Code: |
emerge -1 x11-libs/wxGTK:3.0
|
ha risolto il problema
qualcuno pero' mi sa spiegare bene il perche' di tutto cio'?
Last edited by legacy on Sat Jan 26, 2019 9:33 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sat Jan 26, 2019 9:18 am Post subject: |
|
|
Praticamente hai bisogno che wxGTK e le applicazioni che usano questa libreria siano compilate con le stesse ABI C++.
Il problema si e' presentato perche' wxGTK e' stato compilato con gcc-6.3 che ha le 1010 ABI C++ mentre WxMaxima e' stato compilato con gcc-7.3 e ABI C++ 1011 e il programma se ne accorge.
Ricompilare le wxGTK con la stessa versione gcc con cui hai compilato WxMaxima risolve il problema. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Sat Jan 26, 2019 9:31 am Post subject: |
|
|
fedeliallalinea wrote: |
Ricompilare le wxGTK con la stessa versione gcc con cui hai compilato WxMaxima risolve il problema.
|
ho l'abitudine di loggare l'env ed i comandi che do in pasto ad emerge; ti posso mostrare il log | grep wxGTK
Code: |
2018-07-21--19-49-57 - [ -1 x11-libs/wxGTK ] - success - @2.29.1/6.4.0
2019-01-25--07-37-10 - [ --unmerge x11-libs/wxGTK ] - success - n.a.
2019-01-25--07-39-15 - [ -1 x11-libs/wxGTK ] - success - @2.29.1/7.3.0
2019-01-25--12-29-30 - [ -1 x11-libs/wxGTK:3.0 ] - success - @2.29.1/7.3.0
|
come vedi non e' andata proprio cosi'; ovvero avevo wxGTK compilato con gcc-v6.4.0, ho fatto --unmerge, e ricompilato con gcc-v7.3.0, ma ancora presentava lo stesso identico problema, che e' sparito solo dopo aver forzato lo slot 3:0
ed e' proprio questo che NON capisco. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sat Jan 26, 2019 10:25 am Post subject: |
|
|
Perche' lanciando solo
Code: | # emerge -1 x11-libs/wxGTK |
ti ha ricompilato x11-libs/wxGTK:3.0-gtk3 che non e' la versione che richiede WxMaxima, questo perche' x11-libs/wxGTK:3.0-gtk3 e' considerata una versione piu' alta che x11-libs/wxGTK:3.0.
Code: | # eix wxGTK
[U] x11-libs/wxGTK
Available versions:
(3.0) 3.0.3 3.0.4{tbz2} ~3.0.4-r1
(3.0-gtk3) 3.0.3-r300 3.0.4-r300 ~3.0.4-r301
{+X aqua debug doc gstreamer libnotify opengl sdl tiff webkit ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 3.0.4(3.0){tbz2}(10:26:54 PM 08/04/2018)(X libnotify opengl sdl tiff -aqua -debug -doc -gstreamer ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage: https://wxwidgets.org/
Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
# emerge -1 x11-libs/wxGTK
[ebuild NS ] x11-libs/wxGTK-3.0.4-r300:3.0-gtk3::gentoo [3.0.4:3.0::gentoo] USE="X libnotify opengl sdl tiff (-aqua) -debug -doc -gstreamer -webkit" ABI_X86="(64) -32 (-x32)" 0 KiB |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|