Advertisement

iDesk make error...

Started by February 07, 2006 10:37 PM
2 comments, last by H_o_p_s 18 years, 8 months ago
I've been working on getting my X environment up and working... I've got fluxbox installed and configured, and now I'm looking to put icons on the desktop. Fluxbox's site recommends iDesk, so I downloaded, unarchived it, ran ./configure (without problems), and went to run make. EDIT See next post [Edited by - H_o_p_s on February 7, 2006 11:47:13 PM]
BRING BACK THE BLACK (or at least something darker)
Okay, I found a newer version of imlib2, and compiled that, now however, I'm getting a new error when I go to make idesk:

[Hops@Box-of-Hops idesk-0.7.5]$ makemake: Circular aclocal.m4 <- aclocal.m4 dependency dropped.make  all-recursivemake[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped.Making all in srcmake[2]: Circular defaults.h <- Makefile dependency dropped.g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2  -I/usr/X11R6/include -DSHAPE    -I/usr/X11R6/include -I/usr/X11R6/include/freetype2   -c DesktopConfig.cppDesktopConfig.cpp: In member function 'virtual void DesktopConfig::setDesktopOnlyOptions(Table)':DesktopConfig.cpp:130: error: aggregate 'stat b' has incomplete type and cannot be definedDesktopConfig.cpp:134: error: invalid use of undefined type 'struct stat'DesktopConfig.cpp:130: error: forward declaration of 'struct stat'DesktopConfig.cpp:151: error: aggregate 'stat b' has incomplete type and cannot be definedDesktopConfig.cpp:155: error: invalid use of undefined type 'struct stat'DesktopConfig.cpp:151: error: forward declaration of 'struct stat'make[2]: *** [DesktopConfig.o] Error 1make[1]: *** [all-recursive] Error 1make: *** [all-recursive-am] Error 2


This one is a little more cryptic... do I need a newer version of freetype2? I'll try that now...
BRING BACK THE BLACK (or at least something darker)
Advertisement
Try adding the following headers to DesktopConfig.cpp:
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
man 2 stat says they are needed for the stat functions.

Those "Circular aclocal.m4 <- aclocal.m4 dependency dropped." messages seem to indicate that iDesk's build system is somehow set up incorrectly, though.
Adding those includes made it compile, it still gave those dependency drop messages, but it compiled and runs!

Thank you thank you thank you!
BRING BACK THE BLACK (or at least something darker)

This topic is closed to new replies.

Advertisement