LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Failed sanity check in fluxbox ./configure (https://www.linuxquestions.org/questions/linux-newbie-8/failed-sanity-check-in-fluxbox-configure-195815/)

scuzzman 06-20-2004 09:51 PM

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] $


scuzzman 06-20-2004 10:15 PM

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?

Tinkster 06-20-2004 10:15 PM

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



Cheers,
Tink

Tinkster 06-20-2004 10:17 PM

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

scuzzman 06-20-2004 10:18 PM

Yea, sorry. That was definitely a typo. I have the 0.1.14 source

scuzzman 06-20-2004 10:21 PM

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]$


Tinkster 06-20-2004 10:26 PM

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


All times are GMT -5. The time now is 12:18 AM.