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:
===
root@Villums12:/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:
===
root@Villums12:/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


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = Villums12
uname -m = x86_64
uname -r = 2.6.32-5-amd64
uname -s = Linux
uname -v = #1 SMP Wed May 18 23:13:22 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2284: checking build system type
configure:2298: result: x86_64-unknown-linux-gnu
configure:2318: checking host system type
configure:2331: result: x86_64-unknown-linux-gnu
configure:2385: checking Package
configure:2410: result: LILYPOND
configure:2413: checking builddir
configure:2425: result: /usr/local/src/lilypond
configure:2428: checking for stepmake
configure:2436: result: ./stepmake  (${datarootdir}/stepmake not found)
configure:2510: checking for gmake
configure:2540: result: no
configure:2510: checking for make
configure:2526: found /usr/bin/make
configure:2537: result: make
configure:2659: checking for find
configure:2675: found /usr/bin/find
configure:2686: result: find
configure:2809: checking for tar
configure:2825: found /bin/tar
configure:2836: result: tar
configure:3088: checking for bash
configure:3119: result: /bin/bash
configure:3132: checking for python
configure:3135: result: python
configure:3144: checking python version
configure:3207: result: 2.6.6
configure:3234: checking for python
configure:3252: found /usr/bin/python
configure:3264: result: /usr/bin/python
configure:3508: checking for gcc
configure:3524: found /usr/bin/gcc
configure:3535: result: gcc
configure:3764: checking for C compiler version
configure:3773: gcc --version >&5
gcc (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.

configure:3784: $? = 0
configure:3773: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8) 
configure:3784: $? = 0
configure:3773: gcc -V >&5
gcc: '-V' option must have argument
configure:3784: $? = 1
configure:3773: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3784: $? = 1
configure:3804: checking whether the C compiler works
configure:3826: gcc    conftest.c  >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:3830: $? = 0
configure:3878: result: yes
configure:3881: checking for C compiler default output file name
configure:3883: result: a.out
configure:3889: checking for suffix of executables
configure:3896: gcc -o conftest    conftest.c  >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:3900: $? = 0
configure:3922: result: 
configure:3944: checking whether we are cross compiling
configure:3952: gcc -o conftest    conftest.c  >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:3956: $? = 0
configure:3963: ./conftest
configure:3967: $? = 0
configure:3982: result: no
configure:3987: checking for suffix of object files
configure:4009: gcc -c   conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4013: $? = 0
configure:4034: result: o
configure:4038: checking whether we are using the GNU C compiler
configure:4057: gcc -c   conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4057: $? = 0
configure:4066: result: yes
configure:4075: checking whether gcc accepts -g
configure:4095: gcc -c -g  conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4095: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4110: gcc -c   conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4110: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4126: gcc -c -g  conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4126: $? = 0
configure:4136: result: yes
configure:4153: checking for gcc option to accept ISO C89
configure:4217: gcc  -c   conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4217: $? = 0
configure:4230: result: none needed
configure:4288: checking whether compiler understands -pipe
configure:4305: gcc -c  -pipe   conftest.c >&5
conftest.c:9:1: warning: "PACKAGE_NAME" redefined
conftest.c:2:1: warning: this is the location of the previous definition
configure:4305: $? = 0
configure:4312: result: yes
configure:4323: checking for IEEE-conformance compiler flags
configure:4333: result: none
configure:4348: checking for fc-list
configure:4364: found /usr/bin/fc-list
configure:4375: result: fc-list
configure:4383: checking New Century Schoolbook PFB files
configure:4415: result: /usr/share/fonts/type1/gsfonts/c059016l.pfb /usr/share/fonts/type1/gsfonts/c059036l.pfb /usr/share/fonts/type1/gsfonts/c059033l.pfb /usr/share/fonts/type1/gsfonts/c059013l.pfb 
configure:4427: checking for python
configure:4430: result: /usr/bin/python
configure:4439: checking /usr/bin/python version
configure:4502: result: 2.6.6
configure:4529: checking for /usr/bin/python
configure:4559: result: /usr/bin/python
configure:4573: checking gcc version
configure:4636: result: 4.4.5
configure:4714: checking for g++
configure:4744: result: no
configure:4714: checking for c++
configure:4744: result: no
configure:4714: checking for gpp
configure:4730: found /usr/bin/gpp
configure:4741: result: gpp
configure:4768: checking for C++ compiler version
configure:4777: gpp --version >&5
GPP 2.24
Copyright (C) 1996-2001 Denis Auroux
Copyright (C) 2003, 2004 Tristan Miller
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4788: $? = 0
configure:4777: gpp -v >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
... rest of stderr output deleted ...
configure:4788: $? = 1
configure:4777: gpp -V >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
... rest of stderr output deleted ...
configure:4788: $? = 1
configure:4777: gpp -qversion >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
... rest of stderr output deleted ...
configure:4788: $? = 1
configure:4792: checking whether we are using the GNU C++ compiler
configure:4811: gpp -c   conftest.cpp >&5
stdin:1: error: character not allowed to start a syntax specifier
stdin:1: error: character not allowed to start a syntax specifier
configure:4811: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:4820: result: no
configure:4829: checking whether gpp accepts -g
configure:4849: gpp -c -g  conftest.cpp >&5
/* confdefs.h */
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
configure:4849: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4864: gpp -c   conftest.cpp >&5
stdin:1: error: character not allowed to start a syntax specifier
configure:4864: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4880: gpp -c -g  conftest.cpp >&5
/* confdefs.h */
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
configure:4880: $? = 0
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4890: result: no
configure:5033: checking whether explicit instantiation is needed
configure:5099: gpp -o conftest   -O2 -finline-functions -g -pipe   conftest.cpp  >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5099: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| /* end confdefs.h.  */
| 
|     template <class T> struct foo { static int baz; };
|     template <class T> int foo<T>::baz = 1;
| 
| int
| main ()
| {
|  return foo<int>::baz;
|   ;
|   return 0;
| }
configure:5107: result: yes
configure:5115: checking for stl.data () method
configure:5136: gpp -c   -O2 -finline-functions -g -pipe  conftest.cpp >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5136: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| 
| #include <vector>
| using namespace std;
| vector <int> v;
| void *p = v.data ();
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:5143: result: no
configure:5157: checking for ar
configure:5173: found /usr/bin/ar
configure:5184: result: ar
configure:5344: checking for ranlib
configure:5360: found /usr/bin/ranlib
configure:5371: result: ranlib
configure:5421: checking for dlopen in -ldl
configure:5446: gpp -o conftest   -O2 -finline-functions -g -pipe   conftest.cpp -ldl   >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5446: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:5455: result: no
configure:5468: checking for dlopen
configure:5468: gpp -o conftest   -O2 -finline-functions -g -pipe   conftest.cpp  >&5
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5468: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dlopen innocuous_dlopen
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char dlopen (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef dlopen
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dlopen || defined __stub___dlopen
| choke me
| #endif
| 
| int
| main ()
| {
| return dlopen ();
|   ;
|   return 0;
| }
configure:5468: result: no
configure:5486: checking for bison
configure:5502: found /usr/bin/bison
configure:5513: result: bison -y
configure:5531: checking for bison
configure:5547: found /usr/bin/bison
configure:5558: result: bison
configure:5680: checking bison version
configure:5743: result: 2.4.1
configure:5769: checking for flex
configure:5785: found /usr/bin/flex
configure:5796: result: flex
configure:5919: checking how to run the C++ preprocessor
configure:5946: gpp -E  conftest.cpp
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5946: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5946: gpp -E  conftest.cpp
Usage : gpp [-{o|O} outfile] [-I/include/path] [-Dname=val ...] [-z] [-x] [-m]
            [-n] [-C | -T | -H | -X | -P | -U ... [-M ...]] [+c<n> str1 str2]
            [+s<n> str1 str2 c] [long options] [infile]

      default:    #define x y           macro(arg,...)
 -C : maximum cpp compatibility (includes -n, +c, +s, ...)
 -T : TeX-like    \define{x}{y}         \macro{arg}{...}
 -H : HTML-like   <#define x|y>         <#macro arg|...>
 -X : XHTML-like  <#define x|y/>        <#macro arg|.../>
 -P : prolog compatible cpp-like mode
 -U : user-defined syntax (specified in 9 following args; see manual)
 -M : user-defined syntax for meta-macros (specified in 7 following args)

 -o : output to outfile
 -O : output to outfile and stdout
 -z : line terminator is CR-LF (MS-DOS style)
 -x : enable #exec built-in macro
 -m : enable automatic mode switching upon including .h/.c files
 -n : send LF characters serving as macro terminators to output

 Long options:
 --include file : process file before infile
 --nostdinc : don't search standard directories for files to include
 --nocurinc : don't search the current directory for files to include
 --curdirinclast : search the current directory last
 --warninglevel n : set warning level
 --includemarker formatstring : keep track of #include directives in output

 --version : display version information and exit
 -h, --help : display this message and exit

configure:5946: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5946: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:5946: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5946: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:5946: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:5985: result: /lib/cpp
configure:6005: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:6005: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6005: /lib/cpp  conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:6005: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "lilypond"
| #define PACKAGE_NAME "LilyPond"
| #define TOPLEVEL_VERSION "2.15.1"
| #define DIRSEP '/'
| #define PATHSEP ':'
| #define DATADIR "NONE/share"
| #define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
| #define LIBDIR "NONE/lib"
| #define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
| #define NDEBUG 1
| #define NEED_EXPLICIT_INSTANTIATION 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:6035: error: in `/usr/local/src/lilypond':
configure:6037: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_dlopen=no
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_dl_dlopen=no
ac_cv_objext=o
ac_cv_path_BASH=/bin/bash
ac_cv_path_PYTHON=/usr/bin/python
ac_cv_prog_AR=ar
ac_cv_prog_BISON=bison
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_FCLIST=fc-list
ac_cv_prog_FIND=find
ac_cv_prog_FLEX=flex
ac_cv_prog_MAKE=make
ac_cv_prog_TAR=tar
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=gpp
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=no
ac_cv_prog_lex_root=lex.yy
stepmake_cv_cflags_pipe=yes
stepmake_cv_need_explicit_instantiation=yes
stepmake_cv_stl_data_method=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AUTOGENERATE='This file was automatically generated by configure'
BASH='/bin/bash'
BISON='bison'
CC='gcc'
CFLAGS='  -O2 -finline-functions -g -pipe'
CONFIGSUFFIX=''
CPPFLAGS=''
CXX='gpp'
CXXCPP='/lib/cpp'
CXXFLAGS='  -O2 -finline-functions -g -pipe'
DBLATEX=''
DEFINES=' -DNDEBUG'
DEFS=''
DIRSEP='/'
DOCUMENTATION='yes'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_LIBS=''
FCLIST='fc-list'
FIND='find'
FLEX='flex'
FLEXLEXER_FILE=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FONTFORGE=''
FREETYPE2_CFLAGS=''
FREETYPE2_LIBS=''
GHOSTSCRIPT=''
GREP=''
GUILE=''
GUILE_CFLAGS=''
GUILE_CONFIG=''
GUILE_LDFLAGS=''
HOST_ARCH=''
IMAGEMAGICK=''
KPSEWHICH=''
KSH=''
LD='$(CXX)'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LINK_GXX_STATICALLY='no'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
MAJOR_VERSION='2'
MAKE='make'
MAKEINFO=''
METAFONT=''
METAPOST=''
MFMODE=''
MICRO_VERSION='1'
MINOR_VERSION='15'
MSGFMT=''
NCSB_SOURCE_FILES='/usr/share/fonts/type1/gsfonts/c059016l.pfb /usr/share/fonts/type1/gsfonts/c059036l.pfb /usr/share/fonts/type1/gsfonts/c059033l.pfb /usr/share/fonts/type1/gsfonts/c059013l.pfb '
NETPBM=''
OBJEXT='o'
OPTIONAL=''
PACKAGE='LILYPOND'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='LilyPond'
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PANGO_FT2_CFLAGS=''
PANGO_FT2_LIBS=''
PATCH_LEVEL='1'
PATHSEP=':'
PATH_SEPARATOR=':'
PDFLATEX=''
PERL=''
PKG_CONFIG=''
PLATFORM_WINDOWS=''
PYTHON='/usr/bin/python'
PYTHON_CONFIG=''
RANLIB='ranlib'
REQUIRED=' gpp (Please install GNUmakefile.in c++)'
ROOTSEP=':'
RSYNC=''
SHELL='/bin/sh'
T1ASM=''
TAR='tar'
TEXI2HTML=''
TOPLEVEL_VERSION='2.15.1'
VERSION='2.15.1'
VPATH=''
WINDRES=''
YACC='bison -y'
YFLAGS=''
ZIP='zip -r -9'
ZIPDOC=''
ac_ct_CC='gcc'
ac_ct_CXX='gpp'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_package_datadir='/usr/local/src/lilypond/out/share/lilypond'
build_package_libdir='/usr/local/src/lilypond/out/lib/lilypond'
build_vendor='unknown'
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
package='lilypond'
package_depth='.'
pdfdir='${docdir}'
prefix='NONE'
program_prefix=''
program_suffix=''
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
srcdir='.'
stepmake='/usr/local/src/lilypond/stepmake'
sysconfdir='${prefix}/etc'
target_alias=''
ugh_ugh_autoconf250_builddir='/usr/local/src/lilypond'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "lilypond"
#define PACKAGE_NAME "LilyPond"
#define TOPLEVEL_VERSION "2.15.1"
#define DIRSEP '/'
#define PATHSEP ':'
#define DATADIR "NONE/share"
#define BUILD_PACKAGE_DATADIR "/usr/local/src/lilypond/out/share/lilypond"
#define LIBDIR "NONE/lib"
#define BUILD_PACKAGE_LIBDIR "/usr/local/src/lilypond/out/lib/lilypond"
#define NDEBUG 1
#define NEED_EXPLICIT_INSTANTIATION 1

configure: exit 1

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to