amule e librerie

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

amule e librerie

Messaggio da Bart »

Ciao,
mi sapete dire che librerie servono per compilare e pacchettizzare amule?
Perchè nella configurazione ottengo i seguenti errori:

Codice: Seleziona tutto

 WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 WARNING: libpng-devel >= 1.2.0 is needed for amuleweb
You need wxWidgets (http://www.wxwidgets.org/) to compile aMule. If you
have wxWidgets installed, please check that wx-config is in path, and
the directory where wxWidgets libraries are installed is in
LD_LIBRARY_PATH or equivalent variable. If you have wx-config in a
non-standard location please use the --with-wx-config=/path/to/wx-config
configure option.
Ho usato lo slackbuild di useless: http://sukkonet.cjb.net/~sukko/slackwar ... ild/amule/

Alla fine ottengo anche:

Codice: Seleziona tutto

------------------------------ Compiling -------------------------------
make: *** No targets specified and no makefile found.  Stop.
ma questo è probabilmente un mio errore...molto probabilmente non ho settato tutto.

Avatar utente
goldy
Packager
Packager
Messaggi: 1267
Iscritto il: lun 3 mag 2004, 0:00
Slackware: Current
Kernel: 2.6.26.5
Desktop: KDE 3.5.10
Località: Bologna
Contatta:

Messaggio da goldy »

Io l'ho compilato con

wxBase-2.6.1-i486-1sl e
wxGTK-2.6.1-i486-1sl

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

goldy ha scritto:Io l'ho compilato con

wxBase-2.6.1-i486-1sl e
wxGTK-2.6.1-i486-1sl
wxGTK l'ho trovato per slackware 10.2 mentre wxBase c'è solo per la 10.1. Installo ugualmente quella versione? Che dite?

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

io lo farei...ma comunque cè qui il megapack! :P

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Paoletta ha scritto:io lo farei...ma comunque cè qui il megapack! :P
Si, hai pienamente ragione, ma è compilato su una 10.1 e poi volevo prendere un po' la mano con questi slackbuild. Ho delle lacune belle grosse. :)

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Credo che diano dei problemi:

Codice: Seleziona tutto

 #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.
In file included from wxcas.h:49,
                 from wxcas.cpp:57:
wxcasframe.h:63: error: base class `wxFrame' has incomplete type
wxcasframe.h:65: error: syntax error before `*' token
wxcasframe.h:66: error: field `m_toolBarBitmaps' has incomplete type
wxcasframe.h:68: error: syntax error before `*' token
wxcasframe.h:69: error: syntax error before `*' token
wxcasframe.h:71: error: syntax error before `*' token
wxcasframe.h:73: error: syntax error before `*' token
wxcasframe.h:79: error: syntax error before `*' token
wxcasframe.h:80: error: syntax error before `*' token
wxcasframe.h:82: error: syntax error before `*' token
wxcasframe.h:83: error: syntax error before `*' token
wxcasframe.h:85: error: syntax error before `*' token
wxcasframe.h:86: error: syntax error before `*' token
wxcasframe.h:88: error: syntax error before `*' token
wxcasframe.h:89: error: syntax error before `*' token
wxcasframe.h:91: error: syntax error before `*' token
wxcasframe.h:92: error: syntax error before `*' token
wxcasframe.h:93: error: syntax error before `*' token
wxcasframe.h:94: error: syntax error before `*' token
wxcasframe.h:95: error: syntax error before `*' token
wxcasframe.h:96: error: syntax error before `*' token
wxcasframe.h:98: error: syntax error before `*' token
wxcasframe.h:99: error: syntax error before `*' token
wxcasframe.h:101: error: syntax error before `*' token
wxcasframe.h:102: error: syntax error before `*' token
wxcasframe.h:105: error: syntax error before `*' token
wxcasframe.h:106: error: syntax error before `*' token
wxcasframe.h:113: error: syntax error before `*' token
wxcasframe.h:114: error: syntax error before `*' token
wxcasframe.h:160: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:160: error: `event' was not declared in this scope
wxcasframe.h:160: error: invalid data member initialization
wxcasframe.h:160: error: (use `=' to initialize static data members)
wxcasframe.h:160: error: variable or field `OnBarRefresh' declared void
wxcasframe.h:161: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:161: error: `event' was not declared in this scope
wxcasframe.h:161: error: invalid data member initialization
wxcasframe.h:161: error: variable or field `OnBarAbout' declared void
wxcasframe.h:162: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:162: error: `event' was not declared in this scope
wxcasframe.h:162: error: invalid data member initialization
wxcasframe.h:162: error: variable or field `OnBarSave' declared void
wxcasframe.h:163: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:163: error: `event' was not declared in this scope
wxcasframe.h:163: error: invalid data member initialization
wxcasframe.h:163: error: variable or field `OnBarPrint' declared void
wxcasframe.h:164: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:164: error: `event' was not declared in this scope
wxcasframe.h:164: error: invalid data member initialization
wxcasframe.h:164: error: variable or field `OnBarPrefs' declared void
wxcasframe.h:165: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:165: error: `event' was not declared in this scope
wxcasframe.h:165: error: invalid data member initialization
wxcasframe.h:165: error: variable or field `OnRefreshTimer' declared void
wxcasframe.h:166: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:166: error: `event' was not declared in this scope
wxcasframe.h:166: error: invalid data member initialization
wxcasframe.h:166: error: variable or field `OnFtpUpdateTimer' declared void
wxcasframe.h:167: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:167: error: `event' was not declared in this scope
wxcasframe.h:167: error: invalid data member initialization
wxcasframe.h:167: error: variable or field `OnHitButton' declared void
wxcasframe.h:168: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:168: error: `event' was not declared in this scope
wxcasframe.h:168: error: invalid data member initialization
wxcasframe.h:168: error: variable or field `OnAbsHitButton' declared void
wxcasframe.h:180: error: syntax error before `*' token
wxcas.cpp: In function `wxAppConsole* wxCreateApp()':
wxcas.cpp:60: error: cannot allocate an object of type `WxCas'
wxcas.cpp:60: error:   because the following virtual functions are abstract:
/usr/include/wx-2.6/wx/app.h:100: error:        virtual int wxAppConsole::OnRun()
wxcas.cpp: In member function `virtual bool WxCas::OnInit()':
wxcas.cpp:71: error: `wxImage' undeclared (first use this function)
wxcas.cpp:71: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
wxcas.cpp:71: error: syntax error before `::' token
wxcas.cpp:84: error: `SetPrintMode' undeclared (first use this function)
wxcas.cpp:94: error: `Show' undeclared (first use this function)
wxcas.cpp:95: error: `SetTopWindow' undeclared (first use this function)
make[5]: *** [wxcas-wxcas.o] Error 1
make[5]: Leaving directory `/tmp/pkg/amule-2.0.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/pkg/amule-2.0.3/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/pkg/amule-2.0.3/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pkg/amule-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pkg/amule-2.0.3'
make: *** [all] Error 2
Questo errore lo ottengo dopo l'installazione delle due librerie (wxBase 2.6.1 per 10.1 e wxGTK 2.6.2 per 10.2)

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Forse ho risolto installando le librerie mancanti e utilizzando solo wxGTK 2.6.2.

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Ho parlato troppo presto. La procedura va a buon fine ma crasha all'avvio con il seguente messaggio.

Codice: Seleziona tutto

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.0.3 using wxGTK2 v2.6.2 (Unicoded)
Running on: Linux 2.6.13.3-valnir i686

[2] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0xb797e0e8]
[3] ?? in [0xffffe420]
[4] wxMBConv::cMB2WC(char const*, unsigned, unsigned*) const in /usr/lib/libwx_baseu-2.6.so.0[0xb792c799]
[5] wxString::wxString(char const*, wxMBConv&, unsigned) in /usr/lib/libwx_baseu-2.6.so.0[0xb7935b77]
[6] wxMsgCatalogFile::FillHash(wxMessagesHash&, wxString const&, bool) const in /usr/lib/libwx_baseu-2.6.so.0[0xb7910796]
[7] wxMsgCatalog::Load(wchar_t const*, wchar_t const*, wchar_t const*, bool) in /usr/lib/libwx_baseu-2.6.so.0[0xb7910d6f]
[8] wxLocale::AddCatalog(wchar_t const*, wxLanguage, wchar_t const*) in /usr/lib/libwx_baseu-2.6.so.0[0xb7914041]
[9] wxLocale::AddCatalog(wchar_t const*) in /usr/lib/libwx_baseu-2.6.so.0[0xb7913fa5]
[10] ?? in amule [0x81b36a6]
[11] ?? in amule [0x8072d8f]
[12] ?? in amule [0x806c974]
[13] ?? in amule [0x80791ef]
[14] wxAppConsole::CallOnInit() in amule[0x80761a1]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.6.so.0[0xb790ce70]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.6.so.0[0xb790cf7d]
[17] ?? in amule [0x80789bb]
[18] __libc_start_main in /lib/tls/libc.so.6[0xb75c3fcb]
[19] ?? in amule [0x8065af1]

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Risolto tenendo le wxBase e wxGTK entrambe alla versione 2.6.1
Grazie a tutti.

Avatar utente
Firetux
Linux 4.x
Linux 4.x
Messaggi: 1465
Iscritto il: gio 10 giu 2004, 0:00
Località: Lecco
Contatta:

Messaggio da Firetux »

se vuoi poter usare amule con l'ultima versione delle wxgtk devi applicare a quest'ultime questa patch:
http://bugs.archlinux.org/index.php?getfile=373

Avatar utente
useless
Staff
Staff
Messaggi: 3896
Iscritto il: dom 12 ott 2003, 0:00
Località: A place where the streets have no name
Contatta:

Messaggio da useless »

wxBase è superfluo, amule funziona anche senza.

Rispondi