View previous topic :: View next topic |
Author |
Message |
luca82 Guru


Joined: 22 Oct 2003 Posts: 306 Location: Somewhere Between Heaven and Hell
|
Posted: Fri Mar 25, 2005 1:03 pm Post subject: [install] Configure non trova le wxWidgets [RISOLTO] |
|
|
Ciao a tutti,
sto provando a compilare un programma (amule-cvs) con il metodo classico ./configure, make ,ecc...
ma non riesco a capire perchè quando lancio il ./configure ottengo:
Code: | wxWidgets Not detected
GTK 1.2.10
NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
amuleweb amulecmd and alcc |
mentre se provo a compilare un ebuild dell'amule che si trova nel portage (2.0.0-rc8) le wxWidgets le trova... e procede con la compilazione.
Le wxGTK sono la versione 2.5.3. Ho provato a cercare wx-config, ma non l'ho trovato trovo solo due file wxrc e wxrc-2.5. Ho provato a creare un link wx-config->wxrc-2.5, ma se lancio configure mi da questo errore:
Code: | Unknown long option 'version'
checking for wxWidgets version >= 2.4.2... no
configure: error:
Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is new enough.
Or this might also be a bug in our configure. Please try again
with --with-wx-config=/usr/bin/wx-config
(replace /usr/bin/wx-config with a valid path to your wx-config)
* Note:
Most probably, either one of the above aren't correct, you don't
have wxGTK installed, or are missing wxGTK-devel (or equivalent) package. |
Ho provato a ricompilarle prima con (no_wxgtk1) e poi senza le gtk1, ma il risultato è lo stesso... Come mai portage trova le wxGTK e configure no?
Grazie in anticipo
Last edited by luca82 on Fri Mar 25, 2005 3:28 pm; edited 1 time in total |
|
Back to top |
|
 |
unz l33t


Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Fri Mar 25, 2005 1:38 pm Post subject: |
|
|
prova a fare così
Code: | ./configure --with-wx-config=${WX_CONFIG} |
_________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
 |
luca82 Guru


Joined: 22 Oct 2003 Posts: 306 Location: Somewhere Between Heaven and Hell
|
Posted: Fri Mar 25, 2005 1:47 pm Post subject: |
|
|
Stesso errore, e se provo a fare echo ${WX_CONFIG} mi restituisce una linea vuota... |
|
Back to top |
|
 |
unz l33t


Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Fri Mar 25, 2005 2:07 pm Post subject: |
|
|
scusami .. ma io intendevo
Code: | --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 --with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 |
questo è il percorso nel mio sistema .. spero che anche sul tuo sia così
io uso questo
Code: | ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-optimise --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 --with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 --enable-nls --disable-amulecmd --disable-amulecmdgui --disable-webserver --disable-webservergui --disable-cas --disable-wxcas --disable-alc --disable-alcc --disable-debug
|
gtk2 unicode niente ed2k niente amuleweb niente cas _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
 |
luca82 Guru


Joined: 22 Oct 2003 Posts: 306 Location: Somewhere Between Heaven and Hell
|
Posted: Fri Mar 25, 2005 2:54 pm Post subject: |
|
|
unz wrote: | scusami .. ma io intendevo
Code: | --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 --with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.5 |
|
Ok, con questo funziona.
Ultima domanda ma come mai configure non trova le wxGTK? E' un bug della serie 2.5.x? |
|
Back to top |
|
 |
unz l33t


Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Fri Mar 25, 2005 3:17 pm Post subject: |
|
|
hanno spostato i collegamenti, prima c'era un collegamento simbolico in /usr/bin/ e lì il configure cercava ... non so dirti se è voluto o meno
ps metti "risolto" al titolo se tutto funzia _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
 |
|