ezroller Posted January 7, 2003 Report Share Posted January 7, 2003 I am trying to install this thing called Fluxspace. http://www.isomedia.com/homes/stevencooper.../fluxspace.html I'm getting some really funky error messages that I am not familiar. when I try to do the ./configure, I get the following halfway through it. The lines in red are the ones in question. [pwolfe1@TECH04 fluxspace-0.0.2]$ ./configure checking for a BSD-compatible install... /usr//bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for sed... sed checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr//bin/install -c checking for swig... /usr//bin/swig checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr//bin/ld checking if the linker (/usr//bin/ld) is GNU ld... yes checking for /usr//bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr//bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr//bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr//bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking whether time.h and sys/time.h may both be included... yes checking for setlocale... yes checking for sigaction... yes checking for strftime... yes checking for X... libraries /usr/X11R6/lib, headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for pixmap support... yes checking for dlopen in -ldl... yes checking for TT_Init_FreeType in -lttf... no checking for imlib_create_image in -lImlib2... no configure: WARNING: *** Pixmap support has been disabled because Imlib2 was not found *** configure: WARNING: *** or could not be linked. Eterm should still work configure: WARNING: *** not be very happy. Check config.log for more detailed *** configure: WARNING: *** information on why my attempt to link with Imlib2 failed. *** checking for python... /usr//bin/python checking for python version... 2.2 checking for python platform... linux-i386 checking for python >= 2.2... okay checking for headers required to compile python extensions... found checking for Py_Initialize in -lpython2.2... yes checking for ANSI C header files... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for select... yes checking for strstr... yes configure: creating ./config.status config.status: creating version.h config.status: creating Makefile config.status: executing depfiles commands [pwolfe1@TECH04 fluxspace-0.0.2]$ make if /bin/sh ./libtool --mode=compile g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME=" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKGE="fluxspace" -DVERSION="0.0.2" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRNGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H= -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCAL=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIE_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -I. -I. -I/usr/include/pytho2.2 -O2 -Wall -MT BaseDisplay.lo -MD -MP -MF ".deps/BaseDisplay.Tpo" -c -o BaseDisplay.lo `test -f 'BaseDisplay.cc' || echo './'`BaseDisplay.cc; then mv ".deps/BaseDisplay.Tpo" ".deps/BaseDisplay.Plo"; else rm -f ".deps/BaseDisplay.Tpo"; exit 1; fi mkdir .libs g++ -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGESTRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="fluxspace" -DVERSION="0.0.2 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECTH=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAI_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIE=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -HAVE_STRSTR=1 -I. -I. -I/usr/include/python2.2 -O2 -Wall -MT BaseDisplay.lo -MD-MP -MF .deps/BaseDisplay.Tpo -c BaseDisplay.cc -fPIC -DPIC -o .libs/BaseDisply.lo In file included from BaseDisplay.cc:41: BaseDisplay.hh:119: parse error before `,' token BaseDisplay.hh: In member function `const char* BaseDisplay::getXDisplayName() onst': BaseDisplay.hh:282: `display_name' undeclared (first use this function) BaseDisplay.hh:282: (Each undeclared identifier is reported only once for each unction it appears in.) BaseDisplay.hh: In member function `const char* BaseDisplay::getApplicationName) const': BaseDisplay.hh:284: `application_name' undeclared (first use this function) BaseDisplay.cc: In constructor `BaseDisplay::BaseDisplay(const char*, const cha*, bool)': BaseDisplay.cc:179: class `BaseDisplay' does not have any field named `applicaton_name' make: *** [baseDisplay.lo] Error 1 [pwolfe1@TECH04 fluxspace-0.0.2]$ Thanks in advance for any help!!! Link to comment Share on other sites More sharing options...
tyme Posted January 7, 2003 Report Share Posted January 7, 2003 Edit: took a second look and came up w/some ideas: i would contact the guy who writes fluxspace (this previously read fluxbox, that was a mistake), it looks like he made some mistakes in his code (not relating to the Imlib issue), I think. the following are what i'm wondering about: const char* BaseDisplay::getXDisplayName() onst missing the c in const at the end? const char* BaseDisplay::getApplicationName) const missing the beginning "("? BaseDisplay::BaseDisplay(const char*, const cha*, bool) missing the r in the second char? the problem appears to be that the function BaseDisplay doesn't have a variable assigned to take the value of the variable "application_data" that's my guess, but it's been nearly 2 years since i've worked with C/C++ Link to comment Share on other sites More sharing options...
ezroller Posted January 7, 2003 Author Report Share Posted January 7, 2003 you know what else is wierd is the part about imlib2 not being found, so pixmap support is disabled. that sucks pixmap support is what the whole damn program is about! I have imlib3 installed. I tried to install imlib2, and it would let me, but I always got the same error messsage. Link to comment Share on other sites More sharing options...
tyme Posted January 7, 2003 Report Share Posted January 7, 2003 I tried to install imlib2, and it would let me, but I always got the same error messsage. probably because it's only finding imlib3, try specifying where imlib2 is when you run the configure command. do a ./configure --help and look for an option to use for specifying the directory to find imlib in. Link to comment Share on other sites More sharing options...
bvc Posted January 8, 2003 Report Share Posted January 8, 2003 Don't know if you saw it or not....but you're not alone :( http://www.mandrakeusers.org/viewtopic.php?t=2088 Link to comment Share on other sites More sharing options...
ezroller Posted January 8, 2003 Author Report Share Posted January 8, 2003 oh I get it now!!!!!! crappy code. Link to comment Share on other sites More sharing options...
tyme Posted January 8, 2003 Report Share Posted January 8, 2003 oh I get it now!!!!!! crappy code. woohoo! was i actually right? i should take the time to fix it for everyone, if i can figure it out *starts thinking really hard* remember C++.....remember C++.... Link to comment Share on other sites More sharing options...
bvc Posted January 8, 2003 Report Share Posted January 8, 2003 Are you saying it's working for you? If so what did you do? Link to comment Share on other sites More sharing options...
tyme Posted January 8, 2003 Report Share Posted January 8, 2003 Are you saying it's working for you? If so what did you do? who's that directed towards? i don't think anyone has fixed it yet, and i know i certainly haven't :) Link to comment Share on other sites More sharing options...
ezroller Posted January 8, 2003 Author Report Share Posted January 8, 2003 nope...no fixed code here. just a missing "Y" key from me punching the keyboard and it going flying to god no what remote corner of my room. Link to comment Share on other sites More sharing options...
tyme Posted January 8, 2003 Report Share Posted January 8, 2003 nope...no fixed code here. just a missing "Y" key from me punching the keyboard and it going flying to god no what remote corner of my room. whoops? must be fun to type anything with a why in it...try typing this sentence: why worry you can always just type with a stylus? yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy mwahaha...i'm evil.....erm, right. anyways...... Link to comment Share on other sites More sharing options...
tyme Posted January 8, 2003 Report Share Posted January 8, 2003 ok, i took a look at the program, opened up the file to see if i could figure out what the deal was. it appears that on line 119, for some reason we're getting a parse error. line 119 is: string display_name, application_name; both my brother and i looked at this, and could not find the problem. going to email the guy wh wrote the program and see if he can figure it out-thats my best bet. Link to comment Share on other sites More sharing options...
Guest joehill Posted January 9, 2003 Report Share Posted January 9, 2003 thanks, it looks like that did it. the new source on the fluxspace site compiled fine after I did: #urpmi imlib2-devel cheers! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now