Fbdesk make error
Hi, I'm running Slack 12.2 and can't find a way around this make error while trying to compile fbdesk 1.4.1. I have all of the dependencies installed...but eh, any help is appreciated.
KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' KeyUtil.cc:49: warning: deprecated conversion from string constant to 'char*' if i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -march=i486 -mtune=i686 -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 i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -march=i486 -mtune=i686 -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 i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -O2 -march=i486 -mtune=i686 -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 |
Quote:
If you have installed it from source you might use CPPFLAGS pointing to the place where imlib2 include directory is. |
|
Alright I have the library and fbdesk installed. But yet..something else is wrong.
I keep getting this when I run fbdesk at the terminal: Code:
bash-3.1# fbdesk any ideas?? Edit: I've been noticing I seem to be having quite a lot of problems compiling flux related packages, I so far haven't got around the fbdesk problem, Idesk is the same, and when I "make" conky it keeps saying its missing the lua5.1 library; but I installed it using the slackbuild script. Meh. |
I guess you have to run it in the background, that is use "&" after the command:
Code:
fbdesk & |
All times are GMT -5. The time now is 01:06 AM. |