View previous topic :: View next topic |
Author |
Message |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 11:08 am Post subject: [MKVTOOLNIX] pb avec wx_gtk (resolu) |
|
|
salut,
J'ai un problème avec media-video/mkvtoolnix qui refuse de compiler (c'est un dépendance de media-video/ogmrip).
USE flags: Code: | media-video/mkvtoolnix-1.6.0 [1.5.5] -bzip2 +flac +gtk2 -lzo +wxwindows |
Erreur: Code: | CXX src/base64tool.cpp
GREP doc/mkvmerge-gui.hhc
AR src/common/libmtxcommon.a
RANLIB src/common/libmtxcommon.a
AR src/input/libmtxinput.a
RANLIB src/input/libmtxinput.a
AR src/output/libmtxoutput.a
AR avilib-0.6.10/libavi.a
RANLIB src/output/libmtxoutput.a
RANLIB avilib-0.6.10/libavi.a
AR librmff/librmff.a
RANLIB librmff/librmff.a
AR src/mpegparser/libmpegparser.a
RANLIB src/mpegparser/libmpegparser.a
LINK src/mkvinfo
LINK src/mkvextract
LINK src/base64tool
LINK src/mkvmerge
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to `pango_x_get_context'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [src/mkvinfo] Erreur 1
make: *** Attente des tâches non terminées.... |
Après vérification, /usr/lib64/libwx_gtk2u-2.4.so est un lien vers libwx_gtk2u-2.4.so.0.1.1, qui appartient au paquet x11-libs/wxGTK-2.4.2-r3. J'ai recompilé ce package, mais pas d'amélioration. Au cas ou, les flags: Code: | emerge -pv =x11-libs/wxGTK-2.4.2-r3
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 -odbc +opengl +unicode +wxgtk1 0 kB |
J'ai aussi recompilé x11-libs/pango à tout hasard.
Au moment de la configuration de la compilation de mkvtoolnix, je vois ça: Code: | checking for wxWidgets 2.4.0 or newer... no: test program could not be compiled | (je sais pas si ça a un rapport).
Bref, rien dans bugzilla, et rien en cherchant dans les forums. revdep-rebuild ne fait rien non plus.
Une idée ?
+
Last edited by marvin rouge on Thu Nov 03, 2005 3:36 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Thu Nov 03, 2005 12:55 pm Post subject: |
|
|
Salut,
Même principe que pour ce topic ?
Tu utilises gnome 2.12 non ? Quelle est ta version de pango ?
D'après cette page :
Quote: | pango_x_get_context ()
PangoContext* pango_x_get_context (Display *display);
Warning
pango_x_get_context is deprecated and should not be used in newly-written code.
Retrieves a PangoContext appropriate for rendering with X fonts on the given display.
display : an X display (As returned by XOpenDisplay().)
Returns : the new PangoContext. |
Donc la fonction a dû être supprimée. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 1:45 pm Post subject: |
|
|
j'utilise E17, mais j'ai effectivement gnome-2.12 d'installé.
Version de pango : 1.10.1
Bon, je crois que va falloir que j'ouvre un bug.
merci
+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robinhood Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/55343842841192e0db9cea.png)
Joined: 21 Jun 2004 Posts: 290
|
Posted: Thu Nov 03, 2005 2:21 pm Post subject: |
|
|
J'ai installée media-video/mkvtoolnix il y a peu sans aucun problème, mais compilé sur wxGTK-2.6. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Thu Nov 03, 2005 2:23 pm Post subject: |
|
|
Quote: | Bon, je crois que va falloir que j'ouvre un bug. |
Apparemment c'est déjà fait pour la version 2.6.1 de wxGTK.
Il y a même un patch en bas de la page. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 2:38 pm Post subject: |
|
|
robinhood wrote: | J'ai installée media-video/mkvtoolnix il y a peu sans aucun problème, mais compilé sur wxGTK-2.6. | tu pourrais préciser stp ? j'ai wxGTK-2.4.2-r3 et wxGTK-2.6.2 d'installé. Supprimer le flag wxwindows de mkvtoolnix ?
@NetFab : ok, je vais aller voir ca.
+ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robinhood Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/55343842841192e0db9cea.png)
Joined: 21 Jun 2004 Posts: 290
|
Posted: Thu Nov 03, 2005 2:46 pm Post subject: |
|
|
Le flag wxwindows te permet de compiler 'mmg' qui est une application en wxgtk2 qui permet de créer des fichiers mkv. Par contre, je n'ai que la version 2.6.2 installé:
Code: |
[root@nemo ~] # emerge -pv wxGTK
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/wxGTK-2.6.2 +X -debug -doc +gnome -joystick -odbc +opengl +sdl +unicode 12,753 kB
Total size of downloads: 12,753 kB
|
je fait un emerge sur mkvtoolnix et je rédite pour voir si j'ai le même problème. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 2:49 pm Post subject: |
|
|
le emerge -pv ne te dit pas si un package est slotté, utilise plutot eix wxGTK pour voir les différentes versions d'installées. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robinhood Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/55343842841192e0db9cea.png)
Joined: 21 Jun 2004 Posts: 290
|
Posted: Thu Nov 03, 2005 2:56 pm Post subject: |
|
|
je n'ai pas eix par contre:
Code: |
[root@nemo ~] # emerge -pC wxGTK
>>> These are the packages that I would unmerge:
x11-libs/wxGTK
selected: 2.6.2
protected: none
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
|
marche aussi j'ai recompilé le tout, ça passe comme une lettre à la poste. alors:
Code: |
[root@nemo ~] # emerge -pv gtk+ wxGTK mkvtoolnix pango
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/gtk+-2.8.6 -debug -doc +jpeg +tiff 11,545 kB
[ebuild R ] x11-libs/wxGTK-2.6.2 +X -debug -doc +gnome -joystick -odbc +opengl +sdl +unicode 12,753 kB
[ebuild R ] media-video/mkvtoolnix-1.6.0 +bzip2 +flac +gtk2 -lzo +wxwindows 0 kB
[ebuild R ] x11-libs/pango-1.10.1 -debug -doc 1,158 kB
Total size of downloads: 25,458 kB
|
Essai avec un 'emerge -C =x11-libs/wxGTK-2.4.2-r3 && emerge mkvtoolnix' c'est peut -être un conflit entre les deux paquets (?!), ou alors avec -wxgtk1 en useflag sur wxGTK.
EDIT: en moins bourrin, j'ai touvé 'wx-config' qui te permet de spécifier le wigdet à utiliser sur ton systeme: 'wx-config --list' et 'wx-config --help' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 3:20 pm Post subject: |
|
|
Code: | emerge -C =x11-libs/wxGTK-2.4.2-r3 && emerge mkvtoolnix | ca passe mais je me choppe plein de Code: | src/output/p_video.cpp: In member function `virtual void mpeg4_p2_video_packetizer_c::handle_missing_timecodes(bool)':
src/output/p_video.cpp:540: attention : format long long int, arg int64_t (arg 3)
src/output/p_video.cpp:545: attention : format long long int, arg long int (arg 3)
src/output/p_video.cpp:582: attention : format long long int, arg int64_t (arg 3)
... |
Et puis si je fais un emerge -avuD world, il veux me ré-installer wxGTK-2.4.2-r3 (pas moyen de s'en débarraser !)
Je tente maintenant avec -wxgtk1 comme USE flag pour wxGTK.
<off>je te conseille app-portage/eix pour les recherches dans les ebuilds, c'est rapide et efficace</off>
EDIT : pas vu ton EDIT, suis trop lent :/
EDIT bis : après recompil de wxGTK-2.4.2-r3 avec -wxgtk1, mkvtoolnix ne veux plus se compiler ...
EDIT ter : mkvtoolnix compile avec -wxwindows
Last edited by marvin rouge on Thu Nov 03, 2005 3:28 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
robinhood Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/55343842841192e0db9cea.png)
Joined: 21 Jun 2004 Posts: 290
|
Posted: Thu Nov 03, 2005 3:27 pm Post subject: |
|
|
Chez moi il n'essaye pas de revenir (il n'est jamais venu d'ailleurs), tu dois avoir une dépendance dessus.
je vais installer eix pour voir . |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netfab Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Mar 2005 Posts: 1970 Location: 127.0.0.1
|
Posted: Thu Nov 03, 2005 3:31 pm Post subject: |
|
|
marvin rouge wrote: | Et puis si je fais un emerge -avuD world, il veux me ré-installer wxGTK-2.4.2-r3 (pas moyen de s'en débarraser !) |
Masque le, et fais ton emerge -avuD world, tu sauras tout de suite de où vient cette dépendance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Nov 03, 2005 3:36 pm Post subject: |
|
|
Bon, c'est (resolu).
-soit on compile mkvtoolnix avec -wxwindows, et ça passe avec wxGTK-2.4.2-r3
-soit on supprime wxGTK-2.4.2-r3 et mkvtoolnix peut être compilé avec +wxwindows
(la dépendance que j'avais sur wxGTK-2.4.2-r3 était rapidsvn -> supprimé) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|