LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-13-2009, 12:58 PM   #1
returnzero
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 13
Posts: 8

Rep: Reputation: 0
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

Last edited by returnzero; 06-13-2009 at 01:00 PM.
 
Old 06-13-2009, 01:17 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,968

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
ImageImlib2.cc:31:20: error: Imlib2.h: No such file or directory
You need imlib2, which AFAIK does not come with Slack.
If you have installed it from source you might use CPPFLAGS pointing to the place where imlib2 include directory is.

Last edited by bathory; 06-13-2009 at 01:34 PM.
 
Old 06-13-2009, 04:18 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,260

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
Slacky.eu has the package 'imlib2'
... and all ? the other gnome libs too ...

http://www.slacky.eu/
 
Old 06-14-2009, 05:52 PM   #4
returnzero
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 13
Posts: 8

Original Poster
Rep: Reputation: 0
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
loading style: /usr/share/fluxbox/styles/green_tea
Warning: Empty icon file, creating one icon.
Load pixmap failed! ()
Using default pixmap
The command line doesn't come back up, it'll just stay like that, I left it for half an hour or so and nothing...

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.

Last edited by returnzero; 06-14-2009 at 07:52 PM.
 
Old 06-15-2009, 01:07 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,968

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
I guess you have to run it in the background, that is use "&" after the command:
Code:
fbdesk &
The warning is because you don't have setup a resource file, or just the icons file, according to the documentation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 04:39 PM
fbdesk on fluxbox help TomalakBORG Linux - Software 3 03-02-2005 10:47 PM
FBdesk... LordGoddard Linux - Software 3 05-06-2004 10:05 PM
fbdesk ' Unknown even (14)' HELP :( caffeinelegacy Linux - Newbie 0 09-15-2003 09:14 AM
how to configure fbdesk?Hi, annehoog Linux - Newbie 3 06-30-2003 02:42 AM


All times are GMT -5. The time now is 03:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration