Repository 32bit  Forum
Repository 64bit  Wiki

[RISOLTO] fbdesk non compila

Se avete problemi con l'installazione e la configurazione di Slackware64 postate qui. Non usate questo forum per argomenti che trattano la Slackware32 o generali... per quelli usate rispettivamente il forum Slackware e Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware64 usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware64, se l'argomento è Slackware32 o generale usate rispettivamente il forum Slackware o Gnu/Linux in genere.
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.

[RISOLTO] fbdesk non compila

Messaggioda danix » dom dic 13, 2009 10:57

Ciao a tutti,
ho il seguente problema provando a compilare fbdesk sulla mia slack64 -current:
Codice: Seleziona tutto
        fbdesk version 1.4.1 configured successfully.

Using '/usr' for installation.
Using 'x86_64-slackware-linux-g++' for C++ compiler.
Building with '-O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12' for C++ compiler flags.
Building with '  -L/usr/lib64 -lX11  -lXext -lXpm -lXrender -lXft -lXrender -lfontconfig -lfreetype -lX11   -lpng12' for linker flags.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating version.h
config.status: creating src/Makefile
config.status: creating src/FbTk/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/tmp/SBo/fbdesk-1.4.1'
Making all in src
make[2]: Entering directory `/tmp/SBo/fbdesk-1.4.1/src'
Making all in FbTk
make[3]: Entering directory `/tmp/SBo/fbdesk-1.4.1/src/FbTk'
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT App.o -MD -MP -MF ".deps/App.Tpo" -c -o App.o App.cc; \
        then mv -f ".deps/App.Tpo" ".deps/App.Po"; else rm -f ".deps/App.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT Color.o -MD -MP -MF ".deps/Color.Tpo" -c -o Color.o Color.cc; \
        then mv -f ".deps/Color.Tpo" ".deps/Color.Po"; else rm -f ".deps/Color.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT EventManager.o -MD -MP -MF ".deps/EventManager.Tpo" -c -o EventManager.o EventManager.cc; \
        then mv -f ".deps/EventManager.Tpo" ".deps/EventManager.Po"; else rm -f ".deps/EventManager.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT FbWindow.o -MD -MP -MF ".deps/FbWindow.Tpo" -c -o FbWindow.o FbWindow.cc; \
        then mv -f ".deps/FbWindow.Tpo" ".deps/FbWindow.Po"; else rm -f ".deps/FbWindow.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT Font.o -MD -MP -MF ".deps/Font.Tpo" -c -o Font.o Font.cc; \
        then mv -f ".deps/Font.Tpo" ".deps/Font.Po"; else rm -f ".deps/Font.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT Directory.o -MD -MP -MF ".deps/Directory.Tpo" -c -o Directory.o Directory.cc; \
        then mv -f ".deps/Directory.Tpo" ".deps/Directory.Po"; else rm -f ".deps/Directory.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT XFontImp.o -MD -MP -MF ".deps/XFontImp.Tpo" -c -o XFontImp.o XFontImp.cc; \
        then mv -f ".deps/XFontImp.Tpo" ".deps/XFontImp.Po"; else rm -f ".deps/XFontImp.Tpo"; exit 1; fi
XFontImp.cc: In member function 'virtual void FbTk::XFontImp::rotate(float)':
XFontImp.cc:221: error: 'calloc' was not declared in this scope
XFontImp.cc:230: error: 'free' was not declared in this scope
XFontImp.cc:269: error: 'free' was not declared in this scope
make[3]: *** [XFontImp.o] Error 1
make[3]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/fbdesk-1.4.1'
make: *** [all] Error 2


Mi sapete dire da cosa dipende?? C'è qualcuno che ha già provato a compilare fbdesk su slackware64 -current??


Grazie mille in anticipo come sempre ;)


Risolto: Bisognava installare imlib2...
Avatar utente
danix
Staff
Staff
 
Messaggi: 3280
Iscritto il: ven ott 27, 2006 18:32
Località: Siderno (RC)
Nome Cognome: Danilo M.
Slackware: 64 14.0
Kernel: 3.2.29
Desktop: fluxbox

Re: fbdesk non compila

Messaggioda Blallo » dom dic 13, 2009 11:18

Io sono il detective Arsenio Magret, e porto sempre la camicia TATUATA!
Avatar utente
Blallo
Packager
Packager
 
Messaggi: 3234
Iscritto il: ven ott 12, 2007 10:37
Località: Torino / Torremaggiore (FG)
Nome Cognome: Savino Liguori
Slackware: 14.1 / 12.2
Kernel: 3.12.2-ck
Desktop: Openbox

Re: fbdesk non compila

Messaggioda danix » dom dic 13, 2009 22:18

Grazie jimmy, ho patchato ma adesso mi da quest'errore:
Codice: Seleziona tutto
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT Surface.o -MD -MP -MF ".deps/Surface.Tpo" -c -o Surface.o Surface.cc; \
        then mv -f ".deps/Surface.Tpo" ".deps/Surface.Po"; else rm -f ".deps/Surface.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT TextBox.o -MD -MP -MF ".deps/TextBox.Tpo" -c -o TextBox.o TextBox.cc; \
        then mv -f ".deps/TextBox.Tpo" ".deps/TextBox.Po"; else rm -f ".deps/TextBox.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT KeyUtil.o -MD -MP -MF ".deps/KeyUtil.Tpo" -c -o KeyUtil.o KeyUtil.cc; \
        then mv -f ".deps/KeyUtil.Tpo" ".deps/KeyUtil.Po"; else rm -f ".deps/KeyUtil.Tpo"; exit 1; fi
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
KeyUtil.cc:50: warning: deprecated conversion from string constant to 'char*'
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT FileUtil.o -MD -MP -MF ".deps/FileUtil.Tpo" -c -o FileUtil.o FileUtil.cc; \
        then mv -f ".deps/FileUtil.Tpo" ".deps/FileUtil.Po"; else rm -f ".deps/FileUtil.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT ThemeItems.o -MD -MP -MF ".deps/ThemeItems.Tpo" -c -o ThemeItems.o ThemeItems.cc; \
        then mv -f ".deps/ThemeItems.Tpo" ".deps/ThemeItems.Po"; else rm -f ".deps/ThemeItems.Tpo"; exit 1; fi
if x86_64-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -O2 -fPIC    -I/usr/include/freetype2   -I/usr/include/libpng12 -MT ImageImlib2.o -MD -MP -MF ".deps/ImageImlib2.Tpo" -c -o ImageImlib2.o ImageImlib2.cc; \
        then mv -f ".deps/ImageImlib2.Tpo" ".deps/ImageImlib2.Po"; else rm -f ".deps/ImageImlib2.Tpo"; exit 1; fi
ImageImlib2.cc:31:20: error: Imlib2.h: No such file or directory
ImageImlib2.cc:37: error: 'Imlib_Context' was not declared in this scope
ImageImlib2.cc:37: error: template argument 2 is invalid
ImageImlib2.cc:37: error: template argument 4 is invalid
ImageImlib2.cc:37: error: invalid type in declaration before ';' token
ImageImlib2.cc:38: error: expected initializer before 'ScreenImlibContext'
ImageImlib2.cc: In constructor 'FbTk::ImageImlib2::ImageImlib2()':
ImageImlib2.cc:51: error: 'imlib_set_cache_size' was not declared in this scope
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc:68: warning: deprecated conversion from string constant to 'char*'
ImageImlib2.cc: In destructor 'virtual FbTk::ImageImlib2::~ImageImlib2()':
ImageImlib2.cc:78: error: 'ScreenImlibContext' was not declared in this scope
ImageImlib2.cc:78: error: expected `;' before 'it'
ImageImlib2.cc:79: error: expected `;' before 'it_end'
ImageImlib2.cc:80: error: 'it' was not declared in this scope
ImageImlib2.cc:80: error: 'it_end' was not declared in this scope
ImageImlib2.cc:81: error: 'imlib_context_free' was not declared in this scope
ImageImlib2.cc:83: error: request for member 'clear' in '<unnamed>::contexts', which is of non-class type '<unnamed>::ScreenImlibContextContainer'
ImageImlib2.cc: In member function 'virtual FbTk::PixmapWithMask* FbTk::ImageImlib2::load(const std::string&, int) const':
ImageImlib2.cc:91: error: 'ScreenImlibContext' was not declared in this scope
ImageImlib2.cc:91: error: expected `;' before 'screen_context'
ImageImlib2.cc:92: error: 'screen_context' was not declared in this scope
ImageImlib2.cc:92: error: request for member 'end' in '<unnamed>::contexts', which is of non-class type '<unnamed>::ScreenImlibContextContainer'
ImageImlib2.cc:94: error: 'Imlib_Context' was not declared in this scope
ImageImlib2.cc:94: error: expected `;' before 'new_context'
ImageImlib2.cc:95: error: 'new_context' was not declared in this scope
ImageImlib2.cc:95: error: 'imlib_context_push' was not declared in this scope
ImageImlib2.cc:97: error: 'imlib_context_set_display' was not declared in this scope
ImageImlib2.cc:98: error: 'imlib_context_set_visual' was not declared in this scope
ImageImlib2.cc:99: error: 'imlib_context_set_colormap' was not declared in this scope
ImageImlib2.cc:100: error: 'imlib_context_set_drawable' was not declared in this scope
ImageImlib2.cc:102: error: 'imlib_context_pop' was not declared in this scope
ImageImlib2.cc:104: error: invalid types '<unnamed>::ScreenImlibContextContainer[int]' for array subscript
ImageImlib2.cc:105: error: request for member 'find' in '<unnamed>::contexts', which is of non-class type '<unnamed>::ScreenImlibContextContainer'
ImageImlib2.cc:109: error: 'screen_context' was not declared in this scope
ImageImlib2.cc:109: error: request for member 'end' in '<unnamed>::contexts', which is of non-class type '<unnamed>::ScreenImlibContextContainer'
ImageImlib2.cc:117: error: 'Imlib_Context' was not declared in this scope
ImageImlib2.cc:117: error: expected `;' before 'context'
ImageImlib2.cc:118: error: 'context' was not declared in this scope
ImageImlib2.cc:118: error: 'imlib_context_push' was not declared in this scope
ImageImlib2.cc:120: error: 'Imlib_Image' was not declared in this scope
ImageImlib2.cc:120: error: expected `;' before 'image'
ImageImlib2.cc:121: error: 'Imlib_Load_Error' was not declared in this scope
ImageImlib2.cc:121: error: expected `;' before 'err'
ImageImlib2.cc:135: error: 'image' was not declared in this scope
ImageImlib2.cc:135: error: 'err' was not declared in this scope
ImageImlib2.cc:135: error: 'imlib_load_image_with_error_return' was not declared in this scope
ImageImlib2.cc:138: error: 'imlib_context_set_image' was not declared in this scope
ImageImlib2.cc:142: error: 'imlib_image_get_data_for_reading_only' was not declared in this scope
ImageImlib2.cc:145: error: 'imlib_render_pixmaps_for_whole_image' was not declared in this scope
ImageImlib2.cc:154: error: 'imlib_free_image_and_decache' was not declared in this scope
ImageImlib2.cc:155: error: 'imlib_free_pixmap_and_mask' was not declared in this scope
ImageImlib2.cc:157: error: 'imlib_context_pop' was not declared in this scope
ImageImlib2.cc:161: error: 'imlib_context_pop' was not declared in this scope
make[3]: *** [ImageImlib2.o] Error 1
make[3]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/fbdesk-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/fbdesk-1.4.1'
make: *** [all] Error 2

:(

altre idee??
Avatar utente
danix
Staff
Staff
 
Messaggi: 3280
Iscritto il: ven ott 27, 2006 18:32
Località: Siderno (RC)
Nome Cognome: Danilo M.
Slackware: 64 14.0
Kernel: 3.2.29
Desktop: fluxbox

Re: fbdesk non compila

Messaggioda targzeta » lun dic 14, 2009 0:05

Ho scritto un piccola patch ma poi mi sono accorto che è praticamente uguale a quella indicata da jimmy_page_89. A me quella patch funziona, credo sia un problema con il configure. O a te rileva qualcosa che io non ho, oppure è il contrario. Prova a postare l'output del configure.

Emanuele
Linux Registered User #454438
Se pensi di essere troppo piccolo per fare la differenza, prova a dormire con una zanzara -- Dalai Lama
20/04/2013 - Io volevo Rodotà
Avatar utente
targzeta
Iper Master
Iper Master
 
Messaggi: 6186
Iscritto il: gio nov 03, 2005 14:05
Località: Carpignano Sal. (LE) <-> Pisa
Nome Cognome: Emanuele Tomasi
Slackware: current
Kernel: latest stable
Desktop: IceWM

Re: fbdesk non compila

Messaggioda Blallo » lun dic 14, 2009 0:32

spina ha scritto:Ho scritto un piccola patch ma poi mi sono accorto che è praticamente uguale a quella indicata da jimmy_page_89. A me quella patch funziona, credo sia un problema con il configure. O a te rileva qualcosa che io non ho, oppure è il contrario. Prova a postare l'output del configure.

Emanuele

e magari se gli passi qualche parametro extra
Io sono il detective Arsenio Magret, e porto sempre la camicia TATUATA!
Avatar utente
Blallo
Packager
Packager
 
Messaggi: 3234
Iscritto il: ven ott 12, 2007 10:37
Località: Torino / Torremaggiore (FG)
Nome Cognome: Savino Liguori
Slackware: 14.1 / 12.2
Kernel: 3.12.2-ck
Desktop: Openbox

Re: fbdesk non compila

Messaggioda danix » lun dic 14, 2009 21:16

scusatemi se vi ho fatto perdere tempo, mi ha fregato di nuovo la solita storia di imlib/imlib2... :( installando imlib2 la compilazione è andata a buon fine...

Grazie ancora per la pazienza...
Avatar utente
danix
Staff
Staff
 
Messaggi: 3280
Iscritto il: ven ott 27, 2006 18:32
Località: Siderno (RC)
Nome Cognome: Danilo M.
Slackware: 64 14.0
Kernel: 3.2.29
Desktop: fluxbox


Torna a Slackware64

Chi c’è in linea

Visitano il forum: Google [Bot] e 3 ospiti