Date: Wed, 01 Feb 2012 22:18:31 +0100 From: 1126 <mailinglists@elfsechsundzwanzig.de> To: freebsd-questions@freebsd.org Cc: x11@freebsd.org Subject: libXext fails to build on 9.0-RELEASE/amd64 Message-ID: <20120201221831.Horde.hn2MD7uWis5PKawnWJXHcaA@webmail.df.eu>
next in thread | raw e-mail | index | archive | help
Hello list! Today, I installed a fresh 9.0-RELEASE/amd64 and wanted to install Xorg. There were no other packages installed before, so Xorg and all it's run- and build-dependencies would be the first. But it fails. The error message reads: ... checking for XEXT... configure: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.1.99) were not met: No package 'x11' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XEXT_CFLAGS and XEXT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ===> Script "configure" failed unexpectedly. Please report the problem to x11@freebsd.org [maintainer] and attach the "/usr/portx/x11/libXext/work/libXext-1.3.0/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/libXext. *** Error code 1 After reading this, I asked Google, but it didn't came up with a solution. I updated the ports (portsnap fetch update), but that didn't help either. I tried to install only libXext (make install clean), but that didn't work either. Does anyone knows a solution? As has been asked, I append the output of "config.log" from the "work"-directory of libXext. I don't know the right way to do this, but I hope this works. ;) Thanks in advance, 1126! This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libXext configure 1.3.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure --disable-specs --without-xmlto --enable-malloc0returnsnull --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd9.0 ## --------- ## ## Platform. ## ## --------- ## hostname = Suse uname -m = amd64 uname -r = 9.0-RELEASE uname -s = FreeBSD uname -v = FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = amd64 /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: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2342: checking for a BSD-compatible install configure:2410: result: /usr/bin/install -c -o root -g wheel configure:2421: checking whether build environment is sane configure:2471: result: yes configure:2612: checking for a thread-safe mkdir -p configure:2651: result: ./install-sh -c -d configure:2664: checking for gawk configure:2694: result: no configure:2664: checking for mawk configure:2694: result: no configure:2664: checking for nawk configure:2680: found /usr/bin/nawk configure:2691: result: nawk configure:2702: checking whether make sets $(MAKE) configure:2724: result: yes configure:2805: checking whether to enable maintainer-specific portions of Makefiles configure:2814: result: no configure:2858: checking build system type configure:2872: result: amd64-portbld-freebsd9.0 configure:2892: checking host system type configure:2905: result: amd64-portbld-freebsd9.0 configure:2946: checking how to print strings configure:2973: result: printf configure:3006: checking for style of include used by make configure:3034: result: GNU configure:3104: checking for gcc configure:3131: result: cc configure:3360: checking for C compiler version configure:3369: cc --version >&5 cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 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:3380: $? = 0 configure:3369: cc -v >&5 Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] configure:3380: $? = 0 configure:3369: cc -V >&5 cc: '-V' option must have argument configure:3380: $? = 1 configure:3369: cc -qversion >&5 cc: unrecognized option '-qversion' cc: No input files specified configure:3380: $? = 1 configure:3400: checking whether the C compiler works configure:3422: cc -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3426: $? = 0 configure:3474: result: yes configure:3477: checking for C compiler default output file name configure:3479: result: a.out configure:3485: checking for suffix of executables configure:3492: cc -o conftest -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3496: $? = 0 configure:3518: result: configure:3540: checking whether we are cross compiling configure:3548: cc -o conftest -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3552: $? = 0 configure:3559: ./conftest configure:3563: $? = 0 configure:3578: result: no configure:3583: checking for suffix of object files configure:3605: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3609: $? = 0 configure:3630: result: o configure:3634: checking whether we are using the GNU C compiler configure:3653: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3653: $? = 0 configure:3662: result: yes configure:3671: checking whether cc accepts -g configure:3691: cc -c -g conftest.c >&5 configure:3691: $? = 0 configure:3732: result: yes configure:3749: checking for cc option to accept ISO C89 configure:3813: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:3813: $? = 0 configure:3826: result: none needed configure:3848: checking dependency style of cc configure:3958: result: gcc3 configure:3973: checking for a sed that does not truncate output configure:4037: result: /usr/bin/sed configure:4055: checking for grep that handles long lines and -e configure:4113: result: /usr/bin/grep configure:4118: checking for egrep configure:4180: result: /usr/bin/grep -E configure:4185: checking for fgrep configure:4247: result: /usr/bin/grep -F configure:4282: checking for ld used by cc configure:4349: result: /usr/bin/ld configure:4356: checking if the linker (/usr/bin/ld) is GNU ld configure:4371: result: yes configure:4383: checking for BSD- or MS-compatible name lister (nm) configure:4432: result: /usr/bin/nm -B configure:4562: checking the name lister (/usr/bin/nm -B) interface configure:4569: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:4572: /usr/bin/nm -B "conftest.o" configure:4575: output 0000000000000000 B some_variable configure:4582: result: BSD nm configure:4585: checking whether ln -s works configure:4589: result: yes configure:4597: checking the maximum length of command line arguments configure:4722: result: 262144 configure:4739: checking whether the shell understands some XSI constructs configure:4749: result: yes configure:4753: checking whether the shell understands "+=" configure:4759: result: no configure:4794: checking how to convert amd64-portbld-freebsd9.0 file names to amd64-portbld-freebsd9.0 format configure:4834: result: func_convert_file_noop configure:4841: checking how to convert amd64-portbld-freebsd9.0 file names to toolchain format configure:4861: result: func_convert_file_noop configure:4868: checking for /usr/bin/ld option to reload object files configure:4875: result: -r configure:4949: checking for objdump configure:4965: found /usr/bin/objdump configure:4976: result: objdump configure:5008: checking how to recognize dependent libraries configure:5210: result: pass_all configure:5295: checking for dlltool configure:5325: result: no configure:5355: checking how to associate runtime and link libraries configure:5382: result: printf %s\n configure:5443: checking for ar configure:5459: found /usr/bin/ar configure:5470: result: ar configure:5507: checking for archiver @FILE support configure:5524: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:5524: $? = 0 configure:5527: ar cru libconftest.a @conftest.lst >&5 ar: warning: can't open file: @conftest.lst: No such file or directory configure:5530: $? = 0 configure:5535: ar cru libconftest.a @conftest.lst >&5 ar: warning: can't open file: @conftest.lst: No such file or directory configure:5538: $? = 0 configure:5550: result: no configure:5608: checking for strip configure:5624: found /usr/bin/strip configure:5635: result: strip configure:5707: checking for ranlib configure:5723: found /usr/bin/ranlib configure:5734: result: ranlib configure:5836: checking command to parse /usr/bin/nm -B output from cc object configure:5955: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:5958: $? = 0 configure:5962: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:5965: $? = 0 configure:6031: cc -o conftest -O2 -pipe -fno-strict-aliasing conftest.c conftstm.o >&5 configure:6034: $? = 0 configure:6072: result: ok configure:6109: checking for sysroot configure:6139: result: no configure:6382: checking for mt configure:6398: found /usr/bin/mt configure:6409: result: mt configure:6432: checking if mt is a manifest tool configure:6438: mt '-?' mt: illegal option -- ? usage: mt [-f device] command [count] configure:6446: result: no configure:7078: checking how to run the C preprocessor configure:7148: result: cpp configure:7168: cpp conftest.c configure:7168: $? = 0 configure:7182: cpp conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:7182: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7211: checking for ANSI C header files configure:7231: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7231: $? = 0 configure:7304: cc -o conftest -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7304: $? = 0 configure:7304: ./conftest configure:7304: $? = 0 configure:7315: result: yes configure:7328: checking for sys/types.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for sys/stat.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for stdlib.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for string.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for memory.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for strings.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for inttypes.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for stdint.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7328: checking for unistd.h configure:7328: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7328: $? = 0 configure:7328: result: yes configure:7342: checking for dlfcn.h configure:7342: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:7342: $? = 0 configure:7342: result: yes configure:7529: checking for objdir configure:7544: result: .libs configure:7811: checking if cc supports -fno-rtti -fno-exceptions configure:7829: cc -c -O2 -pipe -fno-strict-aliasing -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7833: $? = 0 configure:7846: result: no configure:8156: checking for cc option to produce PIC configure:8163: result: -fPIC -DPIC configure:8171: checking if cc PIC flag -fPIC -DPIC works configure:8189: cc -c -O2 -pipe -fno-strict-aliasing -fPIC -DPIC -DPIC conftest.c >&5 configure:8193: $? = 0 configure:8206: result: yes configure:8235: checking if cc static flag -static works configure:8263: result: yes configure:8278: checking if cc supports -c -o file.o configure:8299: cc -c -O2 -pipe -fno-strict-aliasing -o out/conftest2.o conftest.c >&5 configure:8303: $? = 0 configure:8325: result: yes configure:8333: checking if cc supports -c -o file.o configure:8380: result: yes configure:8413: checking whether the cc linker (/usr/bin/ld) supports shared libraries configure:9571: result: yes configure:9608: checking whether -lc should be explicitly linked in configure:9616: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:9619: $? = 0 configure:9634: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:9637: $? = 0 configure:9651: result: no configure:9816: checking dynamic linker characteristics configure:10552: result: freebsd9.0 ld.so configure:10659: checking how to hardcode library paths into programs configure:10684: result: immediate configure:11224: checking whether stripping libraries is possible configure:11229: result: yes configure:11264: checking if libtool supports shared libraries configure:11266: result: yes configure:11269: checking whether to build shared libraries configure:11290: result: yes configure:11293: checking whether to build static libraries configure:11297: result: yes configure:11345: checking for cc option to accept ISO C99 configure:11494: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 conftest.c:73: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:127: error: 'newvar' undeclared (first use in this function) conftest.c:127: error: (Each undeclared identifier is reported only once conftest.c:127: error: for each function it appears in.) conftest.c:137: error: 'for' loop initial declaration used outside C99 mode configure:11494: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | #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 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdbool.h> | #include <stdlib.h> | #include <wchar.h> | #include <stdio.h> | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:11494: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 configure:11494: $? = 0 configure:11514: result: -std=gnu99 configure:11524: checking whether __clang__ is declared configure:11524: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 conftest.c: In function 'main': conftest.c:63: error: '__clang__' undeclared (first use in this function) conftest.c:63: error: (Each undeclared identifier is reported only once conftest.c:63: error: for each function it appears in.) configure:11524: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | #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 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | #ifndef __clang__ | #ifdef __cplusplus | (void) __clang__; | #else | (void) __clang__; | #endif | #endif | | ; | return 0; | } configure:11524: result: no configure:11531: checking whether __INTEL_COMPILER is declared configure:11531: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 conftest.c: In function 'main': conftest.c:63: error: '__INTEL_COMPILER' undeclared (first use in this function) conftest.c:63: error: (Each undeclared identifier is reported only once conftest.c:63: error: for each function it appears in.) configure:11531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | #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 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | #ifndef __INTEL_COMPILER | #ifdef __cplusplus | (void) __INTEL_COMPILER; | #else | (void) __INTEL_COMPILER; | #endif | #endif | | ; | return 0; | } configure:11531: result: no configure:11538: checking whether __SUNPRO_C is declared configure:11538: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 conftest.c: In function 'main': conftest.c:63: error: '__SUNPRO_C' undeclared (first use in this function) conftest.c:63: error: (Each undeclared identifier is reported only once conftest.c:63: error: for each function it appears in.) configure:11538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | #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 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | #ifndef __SUNPRO_C | #ifdef __cplusplus | (void) __SUNPRO_C; | #else | (void) __SUNPRO_C; | #endif | #endif | | ; | return 0; | } configure:11538: result: no configure:11595: checking for pkg-config configure:11613: found /usr/local/bin/pkg-config configure:11625: result: /usr/local/bin/pkg-config configure:11650: checking pkg-config is at least version 0.9.0 configure:11653: result: yes configure:11699: checking if cc -std=gnu99 supports -Werror=attributes configure:11707: cc -std=gnu99 -c -O2 -pipe -fno-strict-aliasing -pedantic -Werror -Werror=attributes conftest.c >&5 conftest.c:23: error: expected identifier or '(' before 'return' configure:11707: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libXext" | #define PACKAGE_TARNAME "libXext" | #define PACKAGE_VERSION "1.3.0" | #define PACKAGE_STRING "libXext 1.3.0" | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" | #define PACKAGE_URL "" | #define PACKAGE "libXext" | #define VERSION "1.3.0" | #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 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | return 0; configure:11712: result: no configure:11890: checking whether to build functional specifications configure:11892: result: no configure:12086: checking for fop configure:12119: result: no configure:12125: WARNING: fop not found - documentation targets will be skipped configure:12210: checking for xsltproc configure:12243: result: no configure:12249: WARNING: xsltproc not found - cannot transform XML documents configure:12324: checking for X.Org SGML entities >= 1.7 configure:12328: $PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7" Package xorg-sgml-doctools was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-sgml-doctools.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-sgml-doctools' found configure:12331: $? = 1 configure:12347: result: no configure:12372: checking whether malloc(0) returns NULL configure:12408: result: yes configure:12440: checking for XEXT configure:12447: $PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.1.99" Package x11 was not found in the pkg-config search path. Perhaps you should add the directory containing `x11.pc' to the PKG_CONFIG_PATH environment variable No package 'x11' found configure:12450: $? = 1 configure:12463: $PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.1.99" Package x11 was not found in the pkg-config search path. Perhaps you should add the directory containing `x11.pc' to the PKG_CONFIG_PATH environment variable No package 'x11' found configure:12466: $? = 1 No package 'x11' found configure:12503: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.1.99) were not met: No package 'x11' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XEXT_CFLAGS and XEXT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=amd64-portbld-freebsd9.0 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -fno-strict-aliasing' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=cpp ac_cv_env_FOP_set='' ac_cv_env_FOP_value='' ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_value='' ac_cv_env_LINT_FLAGS_set='' ac_cv_env_LINT_FLAGS_value='' ac_cv_env_LINT_set='' ac_cv_env_LINT_value='' ac_cv_env_PKG_CONFIG_set='' ac_cv_env_PKG_CONFIG_value='' ac_cv_env_XEXT_CFLAGS_set='' ac_cv_env_XEXT_CFLAGS_value='' ac_cv_env_XEXT_LIBS_set='' ac_cv_env_XEXT_LIBS_value='' ac_cv_env_XMLTO_set='' ac_cv_env_XMLTO_value='' ac_cv_env_XSLTPROC_set='' ac_cv_env_XSLTPROC_value='' ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=amd64-portbld-freebsd9.0 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_have_decl___INTEL_COMPILER=no ac_cv_have_decl___SUNPRO_C=no ac_cv_have_decl___clang__=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=amd64-portbld-freebsd9.0 ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config ac_cv_prog_AWK=nawk ac_cv_prog_CPP=cpp ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=cc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89='' ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_ar_at_file=no lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file='' lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\' lt_cv_sys_max_cmd_len=262144 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run aclocal-1.11' ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' ADMIN_MAN_SUFFIX='8' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run tar' AM_BACKSLASH='\' AM_DEFAULT_VERBOSITY='0' APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' APP_MAN_SUFFIX='1' AR='ar' AUTOCONF='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run autoconf' AUTOHEADER='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run autoheader' AUTOMAKE='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run automake-1.11' AWK='nawk' CC='cc -std=gnu99' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -pipe -fno-strict-aliasing' CHANGELOG_CMD='(GIT_DIR=$(top_srcdir)/.git git log > $(top_srcdir)/.changelog.tmp && mv $(top_srcdir)/.changelog.tmp $(top_srcdir)/ChangeLog) || (rm -f $(top_srcdir)/.changelog.tmp; touch $(top_srcdir)/ChangeLog; echo '\''git directory not found: installing possibly empty changelog.'\'' >&2)' CPP='cpp' CPPFLAGS='' CWARNFLAGS='-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' DRIVER_MAN_SUFFIX='4' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_SPECS_FALSE='' ENABLE_SPECS_TRUE='#' EXEEXT='' FGREP='/usr/bin/grep -F' FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' FILE_MAN_SUFFIX='5' FOP='' GREP='/usr/bin/grep' HAVE_FOP_FALSE='' HAVE_FOP_TRUE='#' HAVE_STYLESHEETS_FALSE='' HAVE_STYLESHEETS_TRUE='#' HAVE_XMLTO_FALSE='' HAVE_XMLTO_TEXT_FALSE='' HAVE_XMLTO_TEXT_TRUE='#' HAVE_XMLTO_TRUE='#' HAVE_XSLTPROC_FALSE='' HAVE_XSLTPROC_TRUE='#' INSTALL_CMD='(cp -f /INSTALL $(top_srcdir)/.INSTALL.tmp && mv $(top_srcdir)/.INSTALL.tmp $(top_srcdir)/INSTALL) || (rm -f $(top_srcdir)/.INSTALL.tmp; touch $(top_srcdir)/INSTALL; echo '\''util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL.'\'' >&2)' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' LIB_MAN_SUFFIX='3' LINT='' LINTLIB='' LINT_FALSE='' LINT_FLAGS='' LINT_TRUE='' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/missing --run makeinfo' MAKE_LINT_LIB_FALSE='' MAKE_LINT_LIB_TRUE='' MALLOC_ZERO_CFLAGS='-DMALLOC_0_RETURNS_NULL' MANIFEST_TOOL=':' MAN_SUBSTS=' -e '\''s|__vendorversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|'\'' -e '\''s|__xorgversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|'\'' -e '\''s|__xservername__|Xorg|g'\'' -e '\''s|__xconfigfile__|xorg.conf|g'\'' -e '\''s|__projectroot__|$(prefix)|g'\'' -e '\''s|__apploaddir__|$(appdefaultdir)|g'\'' -e '\''s|__appmansuffix__|$(APP_MAN_SUFFIX)|g'\'' -e '\''s|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g'\'' -e '\''s|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g'\'' -e '\''s|__libmansuffix__|$(LIB_MAN_SUFFIX)|g'\'' -e '\''s|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'\'' -e '\''s|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'\''' MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' MISC_MAN_SUFFIX='7' MKDIR_P='./install-sh -c -d' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libXext' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' PACKAGE_NAME='libXext' PACKAGE_STRING='libXext 1.3.0' PACKAGE_TARNAME='libXext' PACKAGE_URL='' PACKAGE_VERSION='1.3.0' PATH_SEPARATOR=':' PKG_CONFIG='/usr/local/bin/pkg-config' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRICT_CFLAGS='-pedantic -Werror' STRIP='strip' STYLESHEET_SRCDIR='' VERSION='1.3.0' XEXT_CFLAGS='' XEXT_LIBS='' XEXT_SOREV='6:4:0' XMALLOC_ZERO_CFLAGS='-DMALLOC_0_RETURNS_NULL' XMLTO='' XORG_MAN_PAGE='X Version 11' XORG_SGML_PATH='' XSLTPROC='' XSL_STYLESHEET='' XTMALLOC_ZERO_CFLAGS='-DMALLOC_0_RETURNS_NULL -DXTMALLOC_BC' ac_ct_AR='ar' ac_ct_CC='cc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' 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='amd64-portbld-freebsd9.0' build_alias='amd64-portbld-freebsd9.0' build_cpu='amd64' build_os='freebsd9.0' build_vendor='portbld' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='amd64-portbld-freebsd9.0' host_alias='' host_cpu='amd64' host_os='freebsd9.0' host_vendor='portbld' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/local/info' install_sh='${SHELL} /usr/ports/x11/libXext/work/libXext-1.3.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='/usr/local/man' mkdir_p='$(top_builddir)/./install-sh -c -d' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libXext" #define PACKAGE_TARNAME "libXext" #define PACKAGE_VERSION "1.3.0" #define PACKAGE_STRING "libXext 1.3.0" #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" #define PACKAGE_URL "" #define PACKAGE "libXext" #define VERSION "1.3.0" #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 #define LT_OBJDIR ".libs/" #define PACKAGE_VERSION_MAJOR 1 #define PACKAGE_VERSION_MINOR 3 #define PACKAGE_VERSION_PATCHLEVEL 0 configure: exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120201221831.Horde.hn2MD7uWis5PKawnWJXHcaA>