also try: get-pkgs devel and you can get-pkgs SFEsed (sorry i missed that you are on belenix)
On Thu, Aug 7, 2008 at 5:37 AM, Krenz von Leiberman <[EMAIL PROTECTED]> wrote: > Hello. > I just tried to run configure on gnu sed. > I got this output: > > [quote] > /root/bld/sed-4.1.5# /root/src/sed-4.1.5/configure > checking for a BSD-compatible install... /usr/bin/ginstall -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... no > checking for cc... cc > 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... no > checking whether cc accepts -g... yes > checking for cc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of cc... none > checking for ranlib... ranlib > checking how to run the C preprocessor... /lib/cpp > configure: error: C preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. > [end] > > I installed sunstudio 11. I don't see why this would not work. I thought that > the C-Preprocesor was included. How do I install/enable it? > Here is my config.log: > > [start] > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by sed configure 4.1.5, which was > generated by GNU Autoconf 2.59. Invocation command line was > > $ /root/src/sed-4.1.5/configure > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = ragnarok > uname -m = i86pc > uname -r = 5.11 > uname -s = SunOS > uname -v = BeleniX0.7.1 > > /usr/bin/uname -p = i386 > /bin/uname -X = System = SunOS > Node = ragnarok > Release = 5.11 > KernelID = BeleniX0.7.1 > Machine = i86pc > BusType = <unknown> > Serial = <unknown> > Users = <unknown> > OEM# = 0 > Origin# = 1 > NumCPU = 1 > > /bin/arch = i86pc > /usr/bin/arch -k = i86pc > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /usr/gnu/bin > PATH: /usr/bin > PATH: /usr/SUNWspro/bin > PATH: /usr/X11/bin > PATH: /usr/sbin > PATH: /sbin > PATH: /usr/sfw/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1376: checking for a BSD-compatible install > configure:1431: result: /usr/bin/ginstall -c > configure:1442: checking whether build environment is sane > configure:1485: result: yes > configure:1550: checking for gawk > configure:1566: found /usr/bin/gawk > configure:1576: result: gawk > configure:1586: checking whether make sets $(MAKE) > configure:1606: result: yes > configure:1829: checking for gcc > configure:1858: result: no > configure:1909: checking for cc > configure:1925: found /usr/SUNWspro/bin/cc > configure:1935: result: cc > configure:2099: checking for C compiler version > configure:2102: cc --version </dev/null >&5 > cc: Warning: option -- passed to ld > usage: cc [ options] files. Use 'cc -flags' for details > configure:2105: $? = 1 > configure:2107: cc -v </dev/null >&5 > usage: cc [ options] files. Use 'cc -flags' for details > configure:2110: $? = 1 > configure:2112: cc -V </dev/null >&5 > cc: Sun C 5.8 Patch 121016-05 2007/01/10 > usage: cc [ options] files. Use 'cc -flags' for details > configure:2115: $? = 1 > configure:2138: checking for C compiler default output file name > configure:2141: cc conftest.c >&5 > configure:2144: $? = 0 > configure:2190: result: a.out > configure:2195: checking whether the C compiler works > configure:2201: ./a.out > configure:2204: $? = 0 > configure:2221: result: yes > configure:2228: checking whether we are cross compiling > configure:2230: result: no > configure:2233: checking for suffix of executables > configure:2235: cc -o conftest conftest.c >&5 > configure:2238: $? = 0 > configure:2263: result: > configure:2269: checking for suffix of object files > configure:2290: cc -c conftest.c >&5 > configure:2293: $? = 0 > configure:2315: result: o > configure:2319: checking whether we are using the GNU C compiler > configure:2343: cc -c conftest.c >&5 > "conftest.c", line 17: undefined symbol: choke > "conftest.c", line 17: syntax error before or at: me > cc: acomp failed for conftest.c > configure:2349: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | > | int > | main () > | { > | #ifndef __GNUC__ > | choke me > | #endif > | > | ; > | return 0; > | } > configure:2375: result: no > configure:2381: checking whether cc accepts -g > configure:2402: cc -c -g conftest.c >&5 > configure:2408: $? = 0 > configure:2412: test -z > || test ! -s conftest.err > configure:2415: $? = 0 > configure:2418: test -s conftest.o > configure:2421: $? = 0 > configure:2432: result: yes > configure:2449: checking for cc option to accept ANSI C > configure:2519: cc -c -g conftest.c >&5 > "conftest.c", line 12: cannot find include file: <stdarg.h> > "conftest.c", line 13: cannot find include file: <stdio.h> > "conftest.c", line 14: cannot find include file: <sys/types.h> > "conftest.c", line 15: cannot find include file: <sys/stat.h> > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > FILE > "conftest.c", line 18: syntax error before or at: * > "conftest.c", line 18: warning: dubious tag declaration: struct stat > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > rcsopen > "conftest.c", line 28: undefined symbol: va_list > "conftest.c", line 28: syntax error before or at: v > "conftest.c", line 29: warning: implicit function declaration: va_start > "conftest.c", line 29: undefined symbol: v > "conftest.c", line 30: warning: implicit function declaration: va_arg > "conftest.c", line 30: syntax error before or at: int > "conftest.c", line 31: warning: implicit function declaration: va_end > "conftest.c", line 47: syntax error before or at: FILE > "conftest.c", line 47: warning: undefined or missing type for: FILE > "conftest.c", line 47: warning: dubious tag declaration: struct stat > "conftest.c", line 47: function cannot return function or array > "conftest.c", line 47: syntax error before or at: int > "conftest.c", line 47: warning: syntax error: empty declaration > "conftest.c", line 55: warning: statement not reached > cc: acomp failed for conftest.c > configure:2525: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2519: cc -qlanglvl=ansi -c -g conftest.c >&5 > cc: illegal option -qlanglvl=ansi > configure:2525: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2519: cc -std1 -c -g conftest.c >&5 > cc: Warning: illegal option -d1 > "conftest.c", line 12: cannot find include file: <stdarg.h> > "conftest.c", line 13: cannot find include file: <stdio.h> > "conftest.c", line 14: cannot find include file: <sys/types.h> > "conftest.c", line 15: cannot find include file: <sys/stat.h> > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > FILE > "conftest.c", line 18: syntax error before or at: * > "conftest.c", line 18: warning: dubious tag declaration: struct stat > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > rcsopen > "conftest.c", line 28: undefined symbol: va_list > "conftest.c", line 28: syntax error before or at: v > "conftest.c", line 29: warning: implicit function declaration: va_start > "conftest.c", line 29: undefined symbol: v > "conftest.c", line 30: warning: implicit function declaration: va_arg > "conftest.c", line 30: syntax error before or at: int > "conftest.c", line 31: warning: implicit function declaration: va_end > "conftest.c", line 47: syntax error before or at: FILE > "conftest.c", line 47: warning: undefined or missing type for: FILE > "conftest.c", line 47: warning: dubious tag declaration: struct stat > "conftest.c", line 47: function cannot return function or array > "conftest.c", line 47: syntax error before or at: int > "conftest.c", line 47: warning: syntax error: empty declaration > "conftest.c", line 55: warning: statement not reached > cc: acomp failed for conftest.c > configure:2525: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2519: cc -Ae -c -g conftest.c >&5 > "conftest.c", line 12: cannot find include file: <stdarg.h> > "conftest.c", line 13: cannot find include file: <stdio.h> > "conftest.c", line 14: cannot find include file: <sys/types.h> > "conftest.c", line 15: cannot find include file: <sys/stat.h> > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > FILE > "conftest.c", line 18: syntax error before or at: * > "conftest.c", line 18: warning: dubious tag declaration: struct stat > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > rcsopen > "conftest.c", line 28: undefined symbol: va_list > "conftest.c", line 28: syntax error before or at: v > "conftest.c", line 29: warning: implicit function declaration: va_start > "conftest.c", line 29: undefined symbol: v > "conftest.c", line 30: warning: implicit function declaration: va_arg > "conftest.c", line 30: syntax error before or at: int > "conftest.c", line 31: warning: implicit function declaration: va_end > "conftest.c", line 47: syntax error before or at: FILE > "conftest.c", line 47: warning: undefined or missing type for: FILE > "conftest.c", line 47: warning: dubious tag declaration: struct stat > "conftest.c", line 47: function cannot return function or array > "conftest.c", line 47: syntax error before or at: int > "conftest.c", line 47: warning: syntax error: empty declaration > "conftest.c", line 55: warning: statement not reached > cc: acomp failed for conftest.c > configure:2525: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2519: cc -Aa -D_HPUX_SOURCE -c -g conftest.c >&5 > "conftest.c", line 12: cannot find include file: <stdarg.h> > "conftest.c", line 13: cannot find include file: <stdio.h> > "conftest.c", line 14: cannot find include file: <sys/types.h> > "conftest.c", line 15: cannot find include file: <sys/stat.h> > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > FILE > "conftest.c", line 18: syntax error before or at: * > "conftest.c", line 18: warning: dubious tag declaration: struct stat > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > rcsopen > "conftest.c", line 28: undefined symbol: va_list > "conftest.c", line 28: syntax error before or at: v > "conftest.c", line 29: warning: implicit function declaration: va_start > "conftest.c", line 29: undefined symbol: v > "conftest.c", line 30: warning: implicit function declaration: va_arg > "conftest.c", line 30: syntax error before or at: int > "conftest.c", line 31: warning: implicit function declaration: va_end > "conftest.c", line 47: syntax error before or at: FILE > "conftest.c", line 47: warning: undefined or missing type for: FILE > "conftest.c", line 47: warning: dubious tag declaration: struct stat > "conftest.c", line 47: function cannot return function or array > "conftest.c", line 47: syntax error before or at: int > "conftest.c", line 47: warning: syntax error: empty declaration > "conftest.c", line 55: warning: statement not reached > cc: acomp failed for conftest.c > configure:2525: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2519: cc -Xc -D__EXTENSIONS__ -c -g conftest.c >&5 > "conftest.c", line 12: cannot find include file: <stdarg.h> > "conftest.c", line 13: cannot find include file: <stdio.h> > "conftest.c", line 14: cannot find include file: <sys/types.h> > "conftest.c", line 15: cannot find include file: <sys/stat.h> > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > FILE > "conftest.c", line 18: syntax error before or at: * > "conftest.c", line 18: warning: dubious tag declaration: struct stat > "conftest.c", line 18: warning: old-style declaration or incorrect type for: > rcsopen > "conftest.c", line 28: undefined symbol: va_list > "conftest.c", line 28: syntax error before or at: v > "conftest.c", line 29: warning: implicit function declaration: va_start > "conftest.c", line 29: undefined symbol: v > "conftest.c", line 30: warning: implicit function declaration: va_arg > "conftest.c", line 30: syntax error before or at: int > "conftest.c", line 31: warning: implicit function declaration: va_end > "conftest.c", line 47: syntax error before or at: FILE > "conftest.c", line 47: warning: undefined or missing type for: FILE > "conftest.c", line 47: warning: dubious tag declaration: struct stat > "conftest.c", line 47: function cannot return function or array > "conftest.c", line 47: syntax error before or at: int > "conftest.c", line 47: warning: syntax error: empty declaration > "conftest.c", line 55: warning: statement not reached > cc: acomp failed for conftest.c > configure:2525: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | /* end confdefs.h. */ > | #include <stdarg.h> > | #include <stdio.h> > | #include <sys/types.h> > | #include <sys/stat.h> > | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ > | struct buf { int x; }; > | FILE * (*rcsopen) (struct buf *, struct stat *, int); > | static char *e (p, i) > | char **p; > | int i; > | { > | return p[i]; > | } > | static char *f (char * (*g) (char **, int), char **p, ...) > | { > | char *s; > | va_list v; > | va_start (v,p); > | s = g (p, va_arg (v,int)); > | va_end (v); > | return s; > | } > | > | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has > | function prototypes and stuff, but not '\xHH' hex character constants. > | These don't provoke an error unfortunately, instead are silently treated > | as 'x'. The following induces an error, until -std1 is added to get > | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an > | array size at least. It's necessary to write '\x00'==0 to get something > | that's true only with -std1. */ > | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; > | > | int test (int i, double x); > | struct s1 {int (*f) (int a);}; > | struct s2 {int (*f) (double a);}; > | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), > int, int); > | int argc; > | char **argv; > | int > | main () > | { > | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; > | ; > | return 0; > | } > configure:2556: result: none needed > configure:2574: cc -c -g conftest.c >&5 > "conftest.c", line 2: warning: old-style declaration or incorrect type for: > choke > "conftest.c", line 2: syntax error before or at: me > "conftest.c", line 3: warning: old-style declaration or incorrect type for: me > cc: acomp failed for conftest.c > configure:2580: $? = 2 > configure: failed program was: > | #ifndef __cplusplus > | choke me > | #endif > configure:2724: checking for style of include used by make > configure:2752: result: GNU > configure:2780: checking dependency style of cc > configure:2870: result: none > configure:2928: checking for ranlib > configure:2944: found /usr/bin/ranlib > configure:2955: result: ranlib > configure:2979: checking how to run the C preprocessor > configure:3014: cc -E conftest.c > "conftest.c", line 14: cannot find include file: <limits.h> > cc: acomp failed for conftest.c > configure:3020: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3014: cc -E conftest.c > "conftest.c", line 14: cannot find include file: <limits.h> > cc: acomp failed for conftest.c > configure:3020: $? = 2 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3014: cc -E -traditional-cpp conftest.c > cc: Warning: illegal option -ditional-cpp > cc: -a conflicts with -dy. > configure:3020: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3014: cc -E -traditional-cpp conftest.c > cc: Warning: illegal option -ditional-cpp > cc: -a conflicts with -dy. > configure:3020: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3014: /lib/cpp conftest.c > /root/src/sed-4.1.5/configure[3015]: eval[1]: /lib/cpp: not found [No such > file or directory] > configure:3020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3014: /lib/cpp conftest.c > /root/src/sed-4.1.5/configure[3015]: eval[1]: /lib/cpp: not found [No such > file or directory] > configure:3020: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3097: result: /lib/cpp > configure:3121: /lib/cpp conftest.c > /root/src/sed-4.1.5/configure[3122]: eval[1]: /lib/cpp: not found [No such > file or directory] > configure:3127: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3121: /lib/cpp conftest.c > /root/src/sed-4.1.5/configure[3122]: eval[1]: /lib/cpp: not found [No such > file or directory] > configure:3127: $? = 127 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "sed" > | #define PACKAGE_TARNAME "sed" > | #define PACKAGE_VERSION "4.1.5" > | #define PACKAGE_STRING "sed 4.1.5" > | #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > | #define PACKAGE "sed" > | #define VERSION "4.1.5" > | #define SED_FEATURE_VERSION "4.1" > | #define _GNU_SOURCE 1 > | /* end confdefs.h. */ > | #ifdef __STDC__ > | # include <limits.h> > | #else > | # include <assert.h> > | #endif > | Syntax error > configure:3195: error: C preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_c_compiler_gnu=no > 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_CPP_set='' > ac_cv_env_CPP_value='' > ac_cv_env_LDFLAGS_set='' > ac_cv_env_LDFLAGS_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_exeext='' > ac_cv_objext=o > ac_cv_path_install='/usr/bin/ginstall -c' > ac_cv_prog_AWK=gawk > ac_cv_prog_CPP=/lib/cpp > ac_cv_prog_ac_ct_CC=cc > ac_cv_prog_ac_ct_RANLIB=ranlib > ac_cv_prog_cc_g=yes > ac_cv_prog_cc_stdc=no > ac_cv_prog_make_make_set=yes > am_cv_CC_dependencies_compiler_type=none > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > ACLOCAL='${SHELL} /root/src/sed-4.1.5/config/missing --run aclocal-1.9' > ALLOCA='' > AMDEPBACKSLASH='\' > AMDEP_FALSE='#' > AMDEP_TRUE='' > AMTAR='${SHELL} /root/src/sed-4.1.5/config/missing --run tar' > AUTOCONF='${SHELL} /root/src/sed-4.1.5/config/missing --run autoconf' > AUTOHEADER='${SHELL} /root/src/sed-4.1.5/config/missing --run autoheader' > AUTOMAKE='${SHELL} /root/src/sed-4.1.5/config/missing --run automake-1.9' > AWK='gawk' > BUILD_HTML_FALSE='' > BUILD_HTML_TRUE='' > BUILD_INCLUDED_LIBINTL='' > CATOBJEXT='' > CC='cc' > CCDEPMODE='depmode=none' > CFLAGS='-g' > CPP='/lib/cpp' > CPPFLAGS='' > CYGPATH_W='echo' > DATADIRNAME='' > DEFS='' > DEPDIR='.deps' > ECHO_C='ECHO_N='' > ECHO_T='' > EGREP='' > EXEEXT='' > GENCAT='' > GLIBC21='' > GMSGFMT='' > HAVE__BOOL='' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' > INSTOBJEXT='' > INTLBISON='' > INTLLIBS='' > INTLOBJS='' > INTL_LIBTOOL_SUFFIX_PREFIX='' > LDFLAGS='' > LIBICONV='' > LIBINTL='' > LIBOBJS='' > LIBS='' > LTLIBICONV='' > LTLIBINTL='' > LTLIBOBJS='' > MAKEINFO='${SHELL} /root/src/sed-4.1.5/config/missing --run makeinfo' > MAKEINFO_HTML_FALSE='' > MAKEINFO_HTML_TRUE='' > MKINSTALLDIRS='' > MSGFMT='' > MSGMERGE='' > OBJEXT='o' > PACKAGE='sed' > PACKAGE_BUGREPORT='[EMAIL PROTECTED]' > PACKAGE_NAME='sed' > PACKAGE_STRING='sed 4.1.5' > PACKAGE_TARNAME='sed' > PACKAGE_VERSION='4.1.5' > PATH_SEPARATOR=':' > POSUB='' > RANLIB='ranlib' > SED_FEATURE_VERSION='4.1' > SET_MAKE='' > SHELL='/bin/sh' > STRIP='' > TEST_REGEX_FALSE='' > TEST_REGEX_TRUE='' > TEXI2HTML='' > TEXI2HTML_HTML_FALSE='' > TEXI2HTML_HTML_TRUE='' > USE_INCLUDED_LIBINTL='' > USE_NLS='' > VERSION='4.1.5' > XGETTEXT='' > ac_ct_CC='cc' > ac_ct_RANLIB='ranlib' > ac_ct_STRIP='' > am__fastdepCC_FALSE='' > am__fastdepCC_TRUE='#' > am__include='include' > am__leading_dot='.' > am__quote='' > am__tar='${AMTAR} chof - "$$tardir"' > am__untar='${AMTAR} xf -' > bindir='${exec_prefix}/bin' > build='' > build_alias='' > build_cpu='' > build_os='' > build_vendor='' > datadir='${prefix}/share' > exec_prefix='NONE' > host='' > host_alias='' > host_cpu='' > host_os='' > host_vendor='' > includedir='${prefix}/include' > infodir='${prefix}/info' > install_sh='/root/src/sed-4.1.5/config/install-sh' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localstatedir='${prefix}/var' > mandir='${prefix}/man' > mkdir_p='mkdir -p --' > oldincludedir='/usr/include' > prefix='NONE' > program_transform_name='s,x,x,' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > #define PACKAGE "sed" > #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" > #define PACKAGE_NAME "sed" > #define PACKAGE_STRING "sed 4.1.5" > #define PACKAGE_TARNAME "sed" > #define PACKAGE_VERSION "4.1.5" > #define SED_FEATURE_VERSION "4.1" > #define VERSION "4.1.5" > #define _GNU_SOURCE 1 > > configure: exit 1 > [end] > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > -- Andy http://blog.sartek.net _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org