LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-30-2004, 10:49 AM   #1
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Rep: Reputation: 15
??? c++ prprocessor /lib/cpp fails sanity check ????


i'm sorry can you help me with the problem???
I'm using a Linux distribution Mandrake 9.2

[killah@localhost killah]$ cd xine-lib-1-rc3b
[killah@localhost xine-lib-1-rc3b]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for inline... inline
checking for a sed that does not truncate output... /bin/sed
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 how to recognise dependent libraries... pass_all
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 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 how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

thx for your time...
 
Old 03-30-2004, 11:50 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Do you have a compiler installed?

# What compiler version do I have installed
gcc -v
gcc --version

# What is the running kernel and compiler installed
cat /proc/version

If not, you will have to install it. (urpmi gcc)

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 03-30-2004 at 11:53 AM.
 
Old 03-30-2004, 12:10 PM   #3
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
Hi, I Installed urpmi gcc right before I asked the question...

My version is:
[killah@localhost killah]$ gcc --version
gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Running kernel and compiler:
Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Man drake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003

I typed the command urpmi mc too but it didn't help my problem....
 
Old 03-30-2004, 12:22 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Did you read and follow the directions in the INSTALL and README carefully?

Check the config.log generated and see if it offers you any hints.

mc is a suite of tools that are handy to use in the command line. See the links I posted associated with it for details.

What happens if you command:

urpmi xine

Last edited by fancypiper; 03-30-2004 at 12:24 PM.
 
Old 03-30-2004, 12:30 PM   #5
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
it says

[root@localhost killah]# urpmi xine
The following packages contain xine:
libxine1
libxine1-devel
xine-aa
xine-arts
xine-dxr3
xine-esd
xine-flac
xine-gnomevfs
xine-plugins
xine-ui
xine-ui-aa
xine-ui-fb
xinetd
xinetd-ipv6
[root@localhost killah]#

sorry what dor you mean by those tools?? i'm a very very noob in linux
sorry...
 
Old 03-30-2004, 12:52 PM   #6
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
Ps you can find my config.log file on http://users.pandora.be/killah/config.log

because I don't understand the code...

thx
Pieter
 
Old 03-30-2004, 12:53 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
urpmi is Mandrake's command line software management tool.

urpmi mini-HOWTO
All You Ever Wanted to Know About Urpmi But Never Dared Asking Before

Apparently you are attempting to install xine. There are pre-built packages available according to the output of the command you used, so I would guess that the software manager would install xine for you rather than you attempting to build all the stuff needed since you are just starting.

I suggest that you visit here:

Easy urpmi config for Mandrake

and configure your urpmi tool. Then the internet sources of software will be added to the CDs (what urpmi is aware of now).

Once it is configured, you can open the mandrake control center, go to the software management area and easily install xine that way.

In the command line, urpmi xine-ui xine-plugins should do the trick for you.

Last edited by fancypiper; 03-30-2004 at 01:00 PM.
 
Old 03-30-2004, 02:39 PM   #8
Killah
Member
 
Registered: Sep 2003
Location: Belgium, Alosta²
Distribution: Linux Mandrake 9.2
Posts: 66

Original Poster
Rep: Reputation: 15
Hi I've done with the urpmi commands...

Then i've tried to go the mandrake console but again there is an error.....

Here you find a scrrenshot:

http://users.pandora.be/killah/dd.jpeg

after that I've tried to do the commands again and look...

[killah@localhost killah]$ su
Password:
[root@localhost killah]# urpmi.addmedia --update updates ftp://raven.cslab.vt.edu/pub/linux/m...dates/9.2/rpms with ../base/hdlist.cz
using different removable device [/dev/scd0] for "Installation CD 1 (x86) (cdrom1)"
using different removable device [/dev/scd0] for "Installation CD 2 (x86) (cdrom2)"
using different removable device [/dev/scd0] for "International CD (x86) (cdrom3)"
medium "updates" already exists
[root@localhost killah]# urpmi.addmedia main ftp://mirrors.usc.edu/pub/linux/dist.../Mandrake/rpms with ../base.hdlist.cz using different removable device [/dev/scd0] for "Installation CD 1 (x86) (cdrom1)"
using different removable device [/dev/scd0] for "Installation CD 2 (x86) (cdrom2)"
using different removable device [/dev/scd0] for "International CD (x86) (cdrom3)"
medium "main" already exists
[root@localhost killah]# urpmi.addmedia contrib ftp://mirrors.usc.edu/pub/linux/dist...2/contrib/i586 with ../../i586/mandrake/base/hdlist2.czusing different removable device [/dev/scd0] for "Installation CD 1 (x86) (cdrom1)"
using different removable device [/dev/scd0] for "Installation CD 2 (x86) (cdrom2)"
using different removable device [/dev/scd0] for "International CD (x86) (cdrom3)"
medium "contrib" already exists

I don't have much hope left

thx, pieter

Last edited by Killah; 03-30-2004 at 02:59 PM.
 
  


Reply



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
/lib/cpp fails sanity check on KUbuntu Cipher01 Ubuntu 2 09-25-2005 08:28 PM
/lib/cpp fails sanity check problem Varius Linux - Software 1 08-26-2005 12:13 AM
configure /lib/cpp fails sanity check johnlittlepeap Fedora 0 12-07-2004 05:52 AM
/lib/cpp fails sanity check? NonSumPisces Linux - Software 2 10-02-2004 07:46 AM
/lib/cpp fails sanity check error message lansman Linux - Software 3 11-07-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 PM.

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
Open Source Consulting | Domain Registration