On Sat, 29 Mar 2008, David A. Pettit wrote:

> When I try to compile, I get the following error:
>
>>  CC util-linux/dmesg.o
>>  CC util-linux/freeramdisk.o
>> checking how to run the C++ preprocessor... /lib/cpp
>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>> See `config.log' for more details.
>>  CC util-linux/losetup.o
>>  CC util-linux/more.o
>
> A few months ago, I had a corruption of my /lib directory.  I reinstalled most
> of it, but I suspect this is related.  What package would this be related to?

Er...the package on my debian system is called cpp. It's fairly easy to 
find out what package owns a file.

First you need to make sure it's not a symlink, and if it is find out 
where it points to:

[EMAIL PROTECTED]:~$ ls -l /lib/cpp
lrwxrwxrwx 1 root root 21 2007-12-29 18:54 /lib/cpp -> /etc/alternatives/cpp
[EMAIL PROTECTED]:~$ ls -l /etc/alternatives/cpp
lrwxrwxrwx 1 root root 12 2007-12-29 18:54 /etc/alternatives/cpp -> /usr/bin/cpp

Then you can search the database of installed packages:

On a debian-type system (ie debain/ubuntu/knoppix/...):

[EMAIL PROTECTED]:~$ dpkg --search /usr/bin/cpp
cpp: /usr/bin/cpp

Or on an RPM-based system (RedHat/Fedora/SuSE):

$ rpm -q -f /usr/bin/cpp

Cheers,

Simon

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to