Pagina 1 di 1

[RISOLTO] fbdesk non compila

Inviato: dom 13 dic 2009, 10:57
da danix
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...

Re: fbdesk non compila

Inviato: dom 13 dic 2009, 11:18
da Blallo

Re: fbdesk non compila

Inviato: dom 13 dic 2009, 22:18
da danix
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??

Re: fbdesk non compila

Inviato: lun 14 dic 2009, 0:05
da targzeta
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

Re: fbdesk non compila

Inviato: lun 14 dic 2009, 0:32
da Blallo
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

Re: fbdesk non compila

Inviato: lun 14 dic 2009, 21:16
da danix
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...