LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-14-2003, 03:30 PM   #1
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
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
 
Old 02-14-2003, 03:33 PM   #2
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
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?
 
Old 02-14-2003, 03:37 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
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
 
Old 02-14-2003, 03:42 PM   #4
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
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
 
Old 02-14-2003, 03:57 PM   #5
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
but thats the entire error
 
Old 02-14-2003, 03:59 PM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
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
 
Old 02-14-2003, 04:09 PM   #7
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

Rep: Reputation: 30
if you do a gcc at the command line do you get anything? It looks like you don't have the development packages installed.
 
Old 02-14-2003, 04:58 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 02-14-2003, 05:11 PM   #9
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
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
 
Old 02-14-2003, 05:14 PM   #10
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
i exit from fluxbox login from root at another console but still not compiling and gives the same error
 
Old 02-14-2003, 10:50 PM   #11
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,106

Rep: Reputation: 64
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.
 
Old 02-14-2003, 11:11 PM   #12
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
it says error: could not find XOpenDisplay in -lX11.
 
Old 02-14-2003, 11:45 PM   #13
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,106

Rep: Reputation: 64
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
 
Old 02-15-2003, 11:50 AM   #14
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 825

Rep: Reputation: 30
I always compile from source.. my fluxbox took about 15 seconds :P.. anyways, dont use RPMs... they make you retarded
 
Old 02-15-2003, 01:47 PM   #15
ferreter
Member
 
Registered: Oct 2002
Location: USA, IL
Distribution: Debian/Gentoo/Slack
Posts: 215

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


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
problems compiling fluxbox corbis_demon Programming 1 08-13-2004 12:05 PM
Ive been compiling a kernel for the past 4 hours... Kramer Linux - Hardware 11 10-15-2003 11:19 AM
Problem Compiling Fluxbox sebas_turu Debian 3 10-04-2003 05:30 PM
Fluxbox compiling problem Duukkis Linux - Software 7 09-20-2003 12:48 PM
24 hours of kernel compiling. Oh my god my brain hurts.. Pcghost General 16 05-09-2003 07:43 PM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration