lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

./autogen.sh error: C++ preprocessor "/lib/cpp" fails sanity check


From: Villum Sejersen
Subject: ./autogen.sh error: C++ preprocessor "/lib/cpp" fails sanity check
Date: Wed, 08 Jun 2011 07:29:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110505 Icedove/3.0.11

Hello

I am sending this to devel, because it is about the configure script.

For several years I have compiled Lilypond development version from the git master branch, keeping the stable version alongside as a backup. This is easily done in Debian.

A few days ago I had to move my main installation to a new hard-disk, first installing from scratch Debian 6.0.1a (Squeeze), updating, and then installing the various applications needed for building lilypond. I have done these steps several times before.

However, running (as root) ./autogen.sh I now get the following error message:
===
address@hidden:/usr/local/src/lilypond# ./autogen.sh
.....
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/usr/local/src/lilypond':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
===
and the script ends here without finishing.

First check:
===
address@hidden:/usr/local/src/lilypond# cpp --version
cpp (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 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.
===
Anything apparently wrong there?

Next, looking into config.log I find some strange-looking lines like the following:
===
configure:4777: gpp -qversion >&5

configure:4811: gpp -c   conftest.cpp >&5
stdin:1: error: character not allowed to start a syntax specifier
===
Anything not intended there? gpp seems to have no directly callable -c or -q options?

--
Villum Sejersen
Nørregade  1 A
DK-4500  Nykøbing Sj. - Danmark
mobil    +45   30 34  03 44


Attachment: vse-config.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]