Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 10:34:34 +0300
From:      "Aries LTD" <info@ariesltd.com.ua>
To:        <x11@FreeBSD.org>
Subject:   Apache install fails on xproto-7.0.15 Script "configure" failed unexpectedly
Message-ID:  <2A655B55AE3047A2BF294F6C0F5BA3C7@ARIESTWO>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Dear sirs,

Good day,

When I try to install Apache 2.2.11_4 the install process fails on xproto-7.0.15 see attached config.log
What can I do?

  
NewBSD# cd apache22
NewBSD# ls
Makefile                distinfo                pkg-message
Makefile.doc            files                   pkg-plist
Makefile.modules        pkg-descr               work
Makefile.options        pkg-install
NewBSD# make
NewBSD# make install
===>  Installing for apache-2.2.11_4
===>   apache-2.2.11_4 depends on file: /usr/local/lib/libcrypto.so.5 - not found
===>    Verifying install for /usr/local/lib/libcrypto.so.5 in /usr/ports/security/openssl
===>  Vulnerability check disabled, database not found
=> openssl-0.9.8k.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.openssl.org/source/.
openssl-0.9.8k.tar.gz                         100% of 3761 kB  116 kBps 00m00s
===>  Extracting for openssl-0.9.8k
=> MD5 Checksum OK for openssl-0.9.8k.tar.gz.
=> SHA256 Checksum OK for openssl-0.9.8k.tar.gz.
===>   openssl-0.9.8k depends on file: /usr/local/bin/perl5.8.9 - found
===>  Patching for openssl-0.9.8k
===>   openssl-0.9.8k depends on file: /usr/local/bin/perl5.8.9 - found
===>  Applying FreeBSD patches for openssl-0.9.8k
===>   openssl-0.9.8k depends on executable: makedepend - not found
===>    Verifying install for makedepend in /usr/ports/devel/makedepend
===>  Vulnerability check disabled, database not found
=> makedepend-1.0.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/xorg/util.
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/individual/util/.
makedepend-1.0.1.tar.bz2                      100% of  105 kB   98 kBps
===>  Extracting for makedepend-1.0.1,1
=> MD5 Checksum OK for xorg/util/makedepend-1.0.1.tar.bz2.
=> SHA256 Checksum OK for xorg/util/makedepend-1.0.1.tar.bz2.
===>  Patching for makedepend-1.0.1,1
===>   makedepend-1.0.1,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xproto.pc in /usr/ports/x11/xproto
===>  Vulnerability check disabled, database not found
=> xproto-7.0.15.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/xorg/proto.
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/individual/proto/.
xproto-7.0.15.tar.bz2                         100% of  155 kB  106 kBps
===>  Extracting for xproto-7.0.15
=> MD5 Checksum OK for xorg/proto/xproto-7.0.15.tar.bz2.
=> SHA256 Checksum OK for xorg/proto/xproto-7.0.15.tar.bz2.
===>  Patching for xproto-7.0.15
===>   xproto-7.0.15 depends on executable: pkg-config - found
===>  Configuring for xproto-7.0.15
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking if xorg-macros used to generate configure is at least 1.2... yes, 1.2.1
checking build system type... i386-portbld-freebsd6.2
checking host system type... i386-portbld-freebsd6.2
checking for style of include used by make... GNU
checking for gcc... 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... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... unsupported
checking dependency style of cc... none
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/usr/ports/x11/xproto/work/xproto-7.0.15':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/xproto/work/xproto-7.0.15/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/xproto.
*** Error code 1

Stop in /usr/ports/devel/makedepend.
*** Error code 1

Stop in /usr/ports/security/openssl.
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache22.

NewBSD# ls /var/db/pkg
autoconf-2.62                   lynx-2.8.6.5_5,1
autoconf-wrapper-20071109       m4-1.4.12,1
automake-1.9.6_3                mc-4.6.2
automake-wrapper-20071109       mime-support-3.44.1
cvsup-without-gui-16.1h_2       mysql-client-5.0.77_1
db41-4.1.25_4                   p5-gettext-1.05_2
expat-2.0.1                     pcre-7.9
ezm3-1.2_1                      perl-5.8.9_2
gamin-0.1.10                    pkg-config-0.23_1
gettext-0.14.5_2                pkgdb.db
gio-fam-backend-2.20.1          png-1.2.35
glib-2.20.1                     portupgrade-2.4.6_2,2
gmake-3.81_1                    python25-2.5.4_1
help2man-1.36.4_2               ruby-1.8.7.72_1,1
libiconv-1.9.2_2                ruby18-bdb-0.6.5
libslang2-2.1.4_1               screen-4.0.3_6
libtool-1.5.22_2                wget-1.11.4

++++++++++++++++++++++++++++++++++++++

Best regards,

Alexey 

info@ariesltd.com.ua

[-- Attachment #2 --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Xproto configure 7.0.15, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure 

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

hostname = NewBSD
uname -m = i386
uname -r = 6.2-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-RELEASE #1: Thu Apr 16 20:36:51 UTC 2009     alex@:/usr/obj/usr/src/sys/GENERIC 

/usr/bin/uname -p = i386
/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: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


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

configure:1905: checking for a BSD-compatible install
configure:1973: result: /usr/bin/install -c
configure:1984: checking whether build environment is sane
configure:2027: result: yes
configure:2052: checking for a thread-safe mkdir -p
configure:2091: result: ./install-sh -c -d
configure:2104: checking for gawk
configure:2134: result: no
configure:2104: checking for mawk
configure:2134: result: no
configure:2104: checking for nawk
configure:2120: found /usr/bin/nawk
configure:2131: result: nawk
configure:2142: checking whether make sets $(MAKE)
configure:2164: result: yes
configure:2360: checking if xorg-macros used to generate configure is at least 1.2
configure:2375: result: yes, 1.2.1
configure:2385: checking build system type
configure:2403: result: i386-unknown-freebsd6.2
configure:2425: checking host system type
configure:2440: result: i386-unknown-freebsd6.2
configure:2515: checking for style of include used by make
configure:2543: result: GNU
configure:2613: checking for gcc
configure:2629: found /usr/bin/gcc
configure:2640: result: gcc
configure:2872: checking for C compiler version
configure:2880: gcc --version >&5
gcc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 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:2884: $? = 0
configure:2891: gcc -v >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:2895: $? = 0
configure:2902: gcc -V >&5
gcc: `-V' option must have argument
configure:2906: $? = 1
configure:2929: checking for C compiler default output file name
configure:2951: gcc    conftest.c  >&5
configure:2955: $? = 0
configure:2993: result: a.out
configure:3012: checking whether the C compiler works
configure:3022: ./a.out
configure:3026: $? = 0
configure:3045: result: yes
configure:3052: checking whether we are cross compiling
configure:3054: result: no
configure:3057: checking for suffix of executables
configure:3064: gcc -o conftest    conftest.c  >&5
configure:3068: $? = 0
configure:3094: result: 
configure:3100: checking for suffix of object files
configure:3126: gcc -c   conftest.c >&5
configure:3130: $? = 0
configure:3155: result: o
configure:3159: checking whether we are using the GNU C compiler
configure:3188: gcc -c   conftest.c >&5
configure:3195: $? = 0
configure:3212: result: yes
configure:3221: checking whether gcc accepts -g
configure:3251: gcc -c -g  conftest.c >&5
configure:3258: $? = 0
configure:3359: result: yes
configure:3376: checking for gcc option to accept ISO C89
configure:3450: gcc  -c -g -O2  conftest.c >&5
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -qlanglvl=extc89 -c -g -O2  conftest.c >&5
gcc: unrecognized option `-qlanglvl=extc89'
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -qlanglvl=ansi -c -g -O2  conftest.c >&5
gcc: unrecognized option `-qlanglvl=ansi'
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -std -c -g -O2  conftest.c >&5
cc1: error: unrecognized command line option "-std"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -Ae -c -g -O2  conftest.c >&5
<command line>:2:2: missing '(' after predicate
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -Aa -D_HPUX_SOURCE -c -g -O2  conftest.c >&5
<command line>:2:2: missing '(' after predicate
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3450: gcc -Xc -D__EXTENSIONS__ -c -g -O2  conftest.c >&5
gcc: unrecognized option `-Xc'
conftest.c:10:20: stdarg.h: No such file or directory
conftest.c:11:19: stdio.h: No such file or directory
conftest.c:12:23: sys/types.h: No such file or directory
conftest.c:13:22: sys/stat.h: No such file or directory
conftest.c:16: error: syntax error before '*' token
conftest.c:16: warning: "struct stat" declared inside parameter list
conftest.c:16: warning: its scope is only this definition or declaration, which is probably not what you want
conftest.c:16: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:26: error: syntax error before "v"
conftest.c:27: error: `v' undeclared (first use in this function)
conftest.c:27: error: (Each undeclared identifier is reported only once
conftest.c:27: error: for each function it appears in.)
conftest.c:28: error: syntax error before "int"
conftest.c: At top level:
conftest.c:50: error: syntax error before "FILE"
conftest.c:50: warning: "struct stat" declared inside parameter list
conftest.c:50: error: `pairnames' declared as function returning a function
conftest.c:50: error: syntax error before "int"
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* 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 -std 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 -std.  */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
| 
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|    inside strings and character constants.  */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 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:3483: result: unsupported
configure:3500: checking dependency style of gcc
configure:3591: result: none
configure:3612: checking how to run the C preprocessor
configure:3652: gcc -E  conftest.c
conftest.c:11:21: limits.h: No such file or directory
configure:3659: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3652: gcc -E  conftest.c
conftest.c:11:21: limits.h: No such file or directory
configure:3659: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3652: gcc -E -traditional-cpp  conftest.c
conftest.c:13: assert.h: No such file or directory
configure:3659: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3652: gcc -E -traditional-cpp  conftest.c
conftest.c:13: assert.h: No such file or directory
configure:3659: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3652: /lib/cpp  conftest.c
eval: /lib/cpp: not found
configure:3659: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3652: /lib/cpp  conftest.c
eval: /lib/cpp: not found
configure:3659: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3730: result: /lib/cpp
configure:3759: /lib/cpp  conftest.c
eval: /lib/cpp: not found
configure:3766: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3759: /lib/cpp  conftest.c
eval: /lib/cpp: not found
configure:3766: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Xproto"
| #define PACKAGE_TARNAME "xproto"
| #define PACKAGE_VERSION "7.0.15"
| #define PACKAGE_STRING "Xproto 7.0.15"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xproto"
| #define VERSION "7.0.15"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3828: error: in `/usr/ports/x11/xproto/work/xproto-7.0.15':
configure:3830: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_build=i386-unknown-freebsd6.2
ac_cv_c_compiler_gnu=yes
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_LIBS_set=''
ac_cv_env_LIBS_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_host=i386-unknown-freebsd6.2
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=no
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=none

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

ACLOCAL='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run tar'
AUTOCONF='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run automake-1.10'
AWK='nawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2'
CHANGELOG_CMD=''
CPP='/lib/cpp'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/ports/x11/xproto/work/xproto-7.0.15/missing --run makeinfo'
MKDIR_P='./install-sh -c -d'
OBJEXT='o'
PACKAGE='xproto'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='Xproto'
PACKAGE_STRING='Xproto 7.0.15'
PACKAGE_TARNAME='xproto'
PACKAGE_VERSION='7.0.15'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_FDS_BITS=''
VERSION='7.0.15'
ac_ct_CC='gcc'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-unknown-freebsd6.2'
build_alias=''
build_cpu='i386'
build_os='freebsd6.2'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
distcleancheck_listfiles=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-unknown-freebsd6.2'
host_alias=''
host_cpu='i386'
host_os='freebsd6.2'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /usr/ports/x11/xproto/work/xproto-7.0.15/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "Xproto"
#define PACKAGE_TARNAME "xproto"
#define PACKAGE_VERSION "7.0.15"
#define PACKAGE_STRING "Xproto 7.0.15"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE "xproto"
#define VERSION "7.0.15"

configure: exit 1

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A655B55AE3047A2BF294F6C0F5BA3C7>