LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2004, 09:51 PM   #1
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Failed sanity check in fluxbox ./configure


I swear I'm just going to stop trying to install stuff. I heard someone say something once about FluxBox and that it's much faster than Gnome. So I figured I'd give it a shot. I then got this. Does anybody know what a sanity check is and why I failed it (go figure )

Code:
[scuzzy@localhost fluxbox-0.0.14] $ ./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 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
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
[scuzzy@localhost fluxbox-0.0.14] $
 
Old 06-20-2004, 10:15 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Ok, Never mind. I got it working, apparently I hadn't installed Gcc-c++
But a new problem has arisen. I go to a command line by logging out of KDE, and type:
Code:
[scuzzy@localhost ~] $ fluxbox
ReadFile::ReadFile:: Cannot connect to X server
Fluxbox: Unknown Error
[scuzzy@localhost ~] $ startx -fluxbox
that final line started X, but started it in IceWM (REALLY didn't expect that)

Any Ideas anyone?

Last edited by scuzzman; 06-20-2004 at 10:16 PM.
 
Old 06-20-2004, 10:15 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Where in the world did you get a 0.0.14 source? :)
0.1.14 is "current stable" ...



Cheers,
Tink
 
Old 06-20-2004, 10:17 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Quote:
Originally posted by scuzzman
Ok, Never mind. I got it working, apparently I hadn't installed Gcc-c++
But a new problem has arisen. I go to a command line by logging out of KDE, and type:
Code:
[scuzzy@localhost ~] $ fluxbox
ReadFile::ReadFile:: Cannot connect to X server
Fluxbox: Unknown Error
[scuzzy@localhost ~] $
Any Ideas anyone?
You can't run a window manager like that ...

Go to /etc/X11/xinit
and copy e.g. xinitrc.kde to xinitrc.flux
and change the last line to read
exec fluxbox...



Cheers,
Tink
 
Old 06-20-2004, 10:18 PM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Yea, sorry. That was definitely a typo. I have the 0.1.14 source
 
Old 06-20-2004, 10:21 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
hmm...
I don't have an xinitrc.kde
I have these:
Code:
[scuzzy@localhost xinit] $ ls -a
./ ../ fixkeyboard* Xclients* XIM* xinitrc*
[scuzzy@localhost xinit] $
the xinitrc, is that the file you're talking about? when don't I have one for KDE, or for Gnome for that matter?

Code:
[scuzzy@localhost xinit]$ cat xinitrc
#!/bin/sh
# (c) 2000-2002 MandrakeSoft
# $Id: xinitrc-xinitrc,v 1.2 2002/09/10 05:53:43 flepied Exp $

# Set a background here because it's not done anymore
# in Xsesion for non root users
if [ "`whoami`" != root ]; then
    xsetroot -solid "#21449C"
fi

exec /etc/X11/Xsession $*
[scuzzy@localhost xinit]$

Last edited by scuzzman; 06-20-2004 at 10:23 PM.
 
Old 06-20-2004, 10:26 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
DOH. Yet another thing that Mandrake tweaked
beyond recognition :)

Sorry, not familiar with how it's set-up in your
distro of choice.


Cheers,
Tink
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 /lib/cpp failed sanity check cwynn Fedora 2 11-07-2005 12:35 PM
./configure sanity check xushi Slackware 9 06-18-2005 04:47 PM
LFS 6 ch5.9 adjusting the toolchain failed sanity check totty79 Linux From Scratch 1 03-21-2005 02:58 PM
sanity check failed for g++ pablovschby Programming 2 11-08-2004 02:39 AM
glibc configure: fails sanity check Mr. Eek Linux From Scratch 4 05-19-2003 01:24 AM


All times are GMT -5. The time now is 11:00 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