Jan Schaumann <jschauma%netmeister.org@localhost> wrote:
> Top Ten Offenders
>
> Package Breaks Maintainer
> - --------------------------------------------------------------
> graphics/png 1704 fredb%NetBSD.org@localhost
> devel/bison 1413 cjep%NetBSD.org@localhost
> textproc/libxml2 1173 recht%NetBSD.org@localhost
> graphics/freetype2 1136 rh%NetBSD.org@localhost
> x11/Xfixes 842 pkgsrc-users%NetBSD.org@localhost
> graphics/glitz 479 adam%NetBSD.org@localhost
> devel/atk 448 wiz%NetBSD.org@localhost
> graphics/xpm 434 mycroft%NetBSD.org@localhost
> devel/glib 265 tron%NetBSD.org@localhost
> graphics/libungif 236 pkgsrc-users%NetBSD.org@localhost
Most of these fail during configure:
checking dependency style of CC... sgi
checking how to run the C++ preprocessor... CC
configure: error: C++ preprocessor "CC" fails sanity check
See `config.log' for more details.
*** Error code 1
The config.log file then says:
configure:5183: checking how to run the C++ preprocessor
configure:5297: result: CC
configure:5321: CC -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include
conftest.cc
cc-1020 CC: ERROR File = conftest.cc, Line = 30
The identifier "Syntax" is undefined.
Syntax error
^
cc-1065 CC: ERROR at end of source
A semicolon is expected at this point.
2 errors detected in the compilation of "conftest.cc".
configure:5327: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.2.12"
| #define PACKAGE_STRING "libpng 1.2.12"
| #define PACKAGE_BUGREPORT "png-mng-implement%lists.sourceforge.net@localhost"
| #define PACKAGE "libpng"
| #define VERSION "1.2.12"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5321: CC -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include
conftest.cc
cc-1020 CC: ERROR File = conftest.cc, Line = 30
The identifier "Syntax" is undefined.
Syntax error
^
cc-1065 CC: ERROR at end of source
A semicolon is expected at this point.
I don't know where the "Syntax error" line in the input to the
preprocessor originates from, though.
-Jan
--
If you are undertaking anything substantial, C is the only reasonable choice
of programming language.
-- UNIX User's Supplementary Documents
Attachment:
pgpyZ1JbhMIEy.pgp
Description: PGP signature