LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   compiling fluxbox it has been over 2 hours (https://www.linuxquestions.org/questions/linux-software-2/compiling-fluxbox-it-has-been-over-2-hours-45407/)

nakkaya 02-14-2003 02:30 PM

compiling fluxbox it has been over 2 hours
 
i have been trying to compile fluxbox for over 2 hours but i get the same error what is that

checking for XOpenDisplay in -lX11... no

stucks after this point

ferreter 02-14-2003 02:33 PM

Well I know for a fact that fluxbox doesn't take no 3 hours to compile unless perhaps its being compiled on an atari 2600. ;) if you get the rpm for fluxbox and do the rpm -Uvh filename are you missing any dependancies perhaps?

nakkaya 02-14-2003 02:37 PM

i have installed all the depencies as it said but now came across this problem
btw i mean by that time the time took i have been trying on depencees and other thing not the actual building time

ferreter 02-14-2003 02:42 PM

Well I'm not an expert in compile errors but are you compiling it while X is running? (Don't know if that would cause the issue but its worth a shot)

Oh, and post the entire error if you don't mind. Thanx

nakkaya 02-14-2003 02:57 PM

but thats the entire error

nakkaya 02-14-2003 02:59 PM

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 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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for a BSD-compatible install... /usr/bin/install -c
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 whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... failed
checking how to run the C++ preprocessor... /lib/cpp
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking dlfcn.h usability... no
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... no
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
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... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for sed... sed
checking for ANSI C header files... (cached) no
checking errno.h usability... no
checking errno.h presence... yes
checking for errno.h... yes
checking ctype.h usability... no
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... no
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... no
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... no
checking libgen.h presence... yes
checking for libgen.h... yes
checking locale.h usability... no
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... no
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking signal.h usability... no
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... no
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... no
checking stdio.h presence... yes
checking for stdio.h... yes
checking time.h usability... no
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) no
checking sys/param.h usability... no
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... no
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/signal.h usability... no
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking for sys/stat.h... (cached) no
checking sys/time.h usability... no
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) no
checking sys/wait.h usability... no
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking whether time.h and sys/time.h may both be included... no
checking for basename... no
checking for basename in -lgen... no
checking for getpid... no
checking for setlocale... no
checking for sigaction... no
checking for strftime... no
checking for strcasestr... no
checking for snprintf... no
checking for vsnprintf... no
checking for catopen... no
checking for catgets... no
checking for catclose... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname in -lbsd... no
checking for connect... no
checking for connect in -lsocket... no
checking for remove... no
checking for remove in -lposix... no
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no

thats the whole output

ferreter 02-14-2003 03:09 PM

if you do a gcc at the command line do you get anything? It looks like you don't have the development packages installed.

MasterC 02-14-2003 03:58 PM

Ahh yes, the stupid question:

Do you have XFree86 installed? :) Easy way to tell, can you get a gui going already (like KDE or Gnome or something)?

Assuming yes, as was suggested already, have you tried logging out of X to compile this and see if it hangs at the same point? Also, it might be "hanging" not from that (since it gives a response of "no") but rather from the next item that we cannot see (since it's hanging). For now I'd suggest locating and installing the RPM for it, then tinkering around with the tarball to see if you can figure out what the problem is. And you said it was 2 hours including time for dependencies and such, so how long do you actually wait after the "hanging" line? Let it go for a while, a good long while to see if it ever snaps out of it. :)

Very odd though, maybe it's a faulty tarball, might try re-downloading and try again?

Cool

nakkaya 02-14-2003 04:11 PM

i have working gnome and fluxbox(rpm from mandrake working but hangs some times)i installed gcc glibc-devel kernel headers i trier from both sourceball and rpm source

nakkaya 02-14-2003 04:14 PM

i exit from fluxbox login from root at another console but still not compiling and gives the same error

rnturn 02-14-2003 09:50 PM

Quote:

Originally posted by nakkaya
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 gcc... gcc

snip

checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no

This looks like the output from ``configure'' and not the compiler.

Anybody know what it checks just after it looks for XOpenDisplay in the X11 library? It sure looks like it's hung up on that step... whatever it is.

nakkaya 02-14-2003 10:11 PM

it says error: could not find XOpenDisplay in -lX11.

rnturn 02-14-2003 10:45 PM

Quote:

Originally posted by nakkaya
it says error: could not find XOpenDisplay in -lX11.
What command did you issue just before that long listing that was posted previously? That output sure doesn't look like anything I've ever seen come out of `gcc'. But it sure does look like something that you see when you run `configure' and with all those ``no''s that it's spitting out, it looks like a lot of libraries and header files are missing or, and this is weird, that they're unusable. I mean, egad! ``sys/types.h'' and ``sys/stat.h'' can't be found? Ouch! Have you checked whether any of the development packages were loaded (as ferreter suggested)? Not seeing a header as basic as sys/types.h seems particularly strange. =:-O

php 02-15-2003 10:50 AM

I always compile from source.. my fluxbox took about 15 seconds :P.. anyways, dont use RPMs... they make you retarded

ferreter 02-15-2003 12:47 PM

Quote:

Originally posted by hackers_
I always compile from source.. my fluxbox took about 15 seconds :P.. anyways, dont use RPMs... they make you retarded
LOL :)


All times are GMT -5. The time now is 08:12 PM.