Buidl Library with ./configure script

This is a discussion on Buidl Library with ./configure script within the C Programming forums, part of the General Programming Boards category; Hey! First time on this forum! Anyways, i've been having trouble using ./configure scripts which come with c libraries in ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    15

    Buidl Library with ./configure script

    Hey! First time on this forum!
    Anyways, i've been having trouble using ./configure scripts which come with c libraries in order to build them. This is really not a specific question, rather a general one.

    Basically, i have not figured out how to pass the directories of the dependencies to this script. It tries to include <Gl/glx.h> but it can't find it. However, I have put it in the C:/mingw/include directory so i really don't understand why. Here's the long log output. The error is at the very bottom.
    I'm guessing this was produced by autconf, but i really don't know. I'm new at this stuff.
    Thanks!

    Code:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    
    It was created by clutter configure 0.9.8, which was
    generated by GNU Autoconf 2.63.  Invocation command line was
    
      $ ./configure 
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = Seth-PC
    uname -m = i686
    uname -r = 1.0.11(0.46/3/2)
    uname -s = MINGW32_NT-6.0
    uname -v = 2009-07-11 17:46
    
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    
    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    
    PATH: .
    PATH: /usr/local/bin
    PATH: /mingw/bin
    PATH: /bin
    PATH: /c/WinAVR-20090313/utils/bin
    PATH: .
    PATH: /c/Users/Seth/.eclipse/org.eclipse.platform_3.5.0_867647348/plugins/sbcl_win32_1.0.20/sbcl/
    PATH: /c/Program Files/Steel Bank Common Lisp/1.0.28/
    PATH: /c/Program Files/Eclipse/eclipse/plugins/jasko.tim.lisp_0.9.390/sbcl/
    PATH: /c/Program Files/MPICH2/bin
    PATH: /mingw/bin/
    PATH: /c/Program Files/Java/jdk1.6.0_14/bin
    PATH: /java/C
    PATH: /MinGW/bin/
    PATH: /c/program files/imagemagick-6.5.3-q16
    PATH: /c/WinAVR-20090313/bin
    PATH: /c/Program Files/WinAVR-20090313/bin
    PATH: /c/Windows/system32
    PATH: /c/Windows
    PATH: /c/Windows/System32/Wbem
    PATH: /c/Program Files/swigwin-1.3.39
    PATH: /c/Seth/darcs-2.2.1-win1/
    PATH: /c/Program Files/CyberLink/Power2Go
    PATH: /c/Program Files/QuickTime/QTSystem/
    PATH: /c/Program Files/TortoiseSVN/bin
    PATH: /c/Users/Seth/.eclipse/org.eclipse.platform_3.5.0_867647348/plugins/sbcl_win32_1.0.20/sbcl/
    PATH: /c/Program Files/Steel Bank Common Lisp/1.0.28/
    PATH: /c/Program Files/clisp-2.47
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:2227: checking for a BSD-compatible install
    configure:2295: result: /bin/install -c
    configure:2306: checking whether build environment is sane
    configure:2349: result: yes
    configure:2374: checking for a thread-safe mkdir -p
    configure:2413: result: /bin/mkdir -p
    configure:2426: checking for gawk
    configure:2442: found /bin/gawk
    configure:2453: result: gawk
    configure:2464: checking whether make sets $(MAKE)
    configure:2486: result: yes
    configure:2710: checking for style of include used by make
    configure:2738: result: GNU
    configure:2808: checking for gcc
    configure:2824: found /mingw/bin/gcc
    configure:2835: result: gcc
    configure:3067: checking for C compiler version
    configure:3075: gcc --version >&5
    gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
    Copyright (C) 2004 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:3079: $? = 0
    configure:3086: gcc -v >&5
    Reading specs from C:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs
    Configured with: ../gcc-3.4.5-20060117-3/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
    Thread model: win32
    gcc version 3.4.5 (mingw-vista special r3)
    configure:3090: $? = 0
    configure:3097: gcc -V >&5
    gcc.exe: `-V' option must have argument
    configure:3101: $? = 1
    configure:3124: checking for C compiler default output file name
    configure:3146: gcc    conftest.c  >&5
    configure:3150: $? = 0
    configure:3188: result: a.exe
    configure:3207: checking whether the C compiler works
    configure:3217: ./a.exe
    configure:3221: $? = 0
    configure:3240: result: yes
    configure:3247: checking whether we are cross compiling
    configure:3249: result: no
    configure:3252: checking for suffix of executables
    configure:3259: gcc -o conftest.exe    conftest.c  >&5
    configure:3263: $? = 0
    configure:3289: result: .exe
    configure:3295: checking for suffix of object files
    configure:3321: gcc -c   conftest.c >&5
    configure:3325: $? = 0
    configure:3350: result: o
    configure:3354: checking whether we are using the GNU C compiler
    configure:3383: gcc -c   conftest.c >&5
    configure:3390: $? = 0
    configure:3407: result: yes
    configure:3416: checking whether gcc accepts -g
    configure:3446: gcc -c -g  conftest.c >&5
    configure:3453: $? = 0
    configure:3554: result: yes
    configure:3571: checking for gcc option to accept ISO C89
    configure:3645: gcc  -c -g -O2  conftest.c >&5
    configure:3652: $? = 0
    configure:3675: result: none needed
    configure:3695: checking dependency style of gcc
    configure:3786: result: gcc3
    configure:3802: checking whether gcc and cc understand -c and -o together
    configure:3837: gcc -c conftest.c -o conftest2.o >&5
    configure:3841: $? = 0
    configure:3847: gcc -c conftest.c -o conftest2.o >&5
    configure:3851: $? = 0
    configure:3862: cc -c conftest.c >&5
    ./configure: line 3864: cc: command not found
    configure:3866: $? = 127
    configure:3906: result: yes
    configure:3995: checking build system type
    configure:4013: result: i686-pc-mingw32
    configure:4035: checking host system type
    configure:4050: result: i686-pc-mingw32
    configure:4072: checking for a sed that does not truncate output
    configure:4138: result: /bin/sed
    configure:4156: checking for grep that handles long lines and -e
    configure:4216: result: /bin/grep
    configure:4221: checking for egrep
    configure:4285: result: /bin/grep -E
    configure:4290: checking for fgrep
    configure:4354: result: /bin/grep -F
    configure:4389: checking for ld used by gcc
    configure:4456: result: C:/mingw/mingw32/bin/ld.exe
    configure:4465: checking if the linker (C:/mingw/mingw32/bin/ld.exe) is GNU ld
    configure:4480: result: yes
    configure:4492: checking for BSD- or MS-compatible name lister (nm)
    configure:4541: result: /mingw/bin/nm
    configure:4659: checking the name lister (/mingw/bin/nm) interface
    configure:4666: gcc -c -g -O2  conftest.c >&5
    configure:4669: /mingw/bin/nm "conftest.o"
    configure:4672: output
    00000000 b .bss
    00000000 d .data
    00000000 N .stab
    00000000 N .stabstr
    00000000 t .text
    00000000 B _some_variable
    configure:4679: result: BSD nm
    configure:4682: checking whether ln -s works
    configure:4686: result: yes
    configure:4694: checking the maximum length of command line arguments
    configure:4814: result: 8192
    configure:4831: checking whether the shell understands some XSI constructs
    configure:4841: result: yes
    configure:4845: checking whether the shell understands "+="
    configure:4851: result: yes
    configure:4886: checking for C:/mingw/mingw32/bin/ld.exe option to reload object files
    configure:4893: result: -r
    configure:4962: checking for objdump
    configure:4978: found /mingw/bin/objdump
    configure:4989: result: objdump
    configure:5021: checking how to recognize dependent libraries
    configure:5217: result: file_magic ^x86 archive import|^x86 DLL
    configure:5277: checking for ar
    configure:5293: found /mingw/bin/ar
    configure:5304: result: ar
    configure:5382: checking for strip
    configure:5398: found /mingw/bin/strip
    configure:5409: result: strip
    configure:5481: checking for ranlib
    configure:5497: found /mingw/bin/ranlib
    configure:5508: result: ranlib
    configure:5598: checking command to parse /mingw/bin/nm output from gcc object
    configure:5716: gcc -c -g -O2  conftest.c >&5
    configure:5719: $? = 0
    configure:5723: /mingw/bin/nm conftest.o \| sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 \2 \2/p' \> conftest.nm
    configure:5726: $? = 0
    cannot find nm_test_var in conftest.nm
    configure:5716: gcc -c -g -O2  conftest.c >&5
    configure:5719: $? = 0
    configure:5723: /mingw/bin/nm conftest.o \| sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*_\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 _\2 \2/p' \> conftest.nm
    configure:5726: $? = 0
    configure:5780: gcc -o conftest.exe -g -O2   conftest.c conftstm.o >&5
    configure:5783: $? = 0
    configure:5821: result: ok
    configure:6688: checking how to run the C preprocessor
    configure:6728: gcc -E  conftest.c
    configure:6735: $? = 0
    configure:6766: gcc -E  conftest.c
    conftest.c:10:28: ac_nonexistent.h: No such file or directory
    configure:6773: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:6806: result: gcc -E
    configure:6835: gcc -E  conftest.c
    configure:6842: $? = 0
    configure:6873: gcc -E  conftest.c
    conftest.c:10:28: ac_nonexistent.h: No such file or directory
    configure:6880: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:6920: checking for ANSI C header files
    configure:6950: gcc -c -g -O2  conftest.c >&5
    configure:6957: $? = 0
    configure:7056: gcc -o conftest.exe -g -O2   conftest.c  >&5
    configure:7060: $? = 0
    configure:7066: ./conftest.exe
    configure:7070: $? = 0
    configure:7088: result: yes
    configure:7112: checking for sys/types.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for sys/stat.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for stdlib.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for string.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for memory.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for strings.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for inttypes.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for stdint.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7112: checking for unistd.h
    configure:7133: gcc -c -g -O2  conftest.c >&5
    configure:7140: $? = 0
    configure:7157: result: yes
    configure:7175: checking for dlfcn.h
    configure:7196: gcc -c -g -O2  conftest.c >&5
    conftest.c:54:19: dlfcn.h: No such file or directory
    configure:7203: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | #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
    | /* 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
    | 
    | #include <dlfcn.h>
    configure:7220: result: no
    configure:7376: checking for objdir
    configure:7391: result: .libs
    configure:7687: checking if gcc supports -fno-rtti -fno-exceptions
    configure:7705: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
    cc1.exe: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
    configure:7709: $? = 0
    configure:7722: result: no
    configure:7742: checking for gcc option to produce PIC
    configure:8014: result: -DDLL_EXPORT -DPIC
    configure:8026: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
    configure:8044: gcc -c -g -O2  -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
    configure:8048: $? = 0
    configure:8061: result: yes
    configure:8085: checking if gcc static flag -static works
    configure:8113: result: yes
    configure:8128: checking if gcc supports -c -o file.o
    configure:8149: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
    configure:8153: $? = 0
    configure:8175: result: yes
    configure:8183: checking if gcc supports -c -o file.o
    configure:8230: result: yes
    configure:8263: checking whether the gcc linker (C:/mingw/mingw32/bin/ld.exe) supports shared libraries
    configure:9341: result: yes
    configure:9378: checking whether -lc should be explicitly linked in
    configure:9383: gcc -c -g -O2  conftest.c >&5
    configure:9386: $? = 0
    configure:9401: gcc -shared conftest.o  -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
    configure:9404: $? = 1
    configure:9416: result: yes
    configure:9580: checking dynamic linker characteristics
    configure:10275: result: Win32 ld.exe
    configure:10377: checking how to hardcode library paths into programs
    configure:10402: result: immediate
    configure:11235: checking whether stripping libraries is possible
    configure:11240: result: yes
    configure:11275: checking if libtool supports shared libraries
    configure:11277: result: yes
    configure:11280: checking whether to build shared libraries
    configure:11301: result: yes
    configure:11304: checking whether to build static libraries
    configure:11308: result: no
    configure:11349: checking for bash
    configure:11367: found /bin/bash
    configure:11379: result: /bin/bash
    configure:11387: checking if dolt supports this host
    configure:11409: result: no, falling back to libtool
    configure:11543: checking for ANSI C header files
    configure:11711: result: yes
    configure:11740: checking fcntl.h usability
    configure:11757: gcc -c -g -O2  conftest.c >&5
    configure:11764: $? = 0
    configure:11778: result: yes
    configure:11782: checking fcntl.h presence
    configure:11797: gcc -E  conftest.c
    configure:11804: $? = 0
    configure:11818: result: yes
    configure:11851: checking for fcntl.h
    configure:11860: result: yes
    configure:11729: checking for stdlib.h
    configure:11736: result: yes
    configure:11729: checking for string.h
    configure:11736: result: yes
    configure:11729: checking for unistd.h
    configure:11736: result: yes
    configure:11877: checking for an ANSI C-conforming const
    configure:11952: gcc -c -g -O2  conftest.c >&5
    configure:11959: $? = 0
    configure:11974: result: yes
    configure:11991: checking for stdlib.h
    configure:11998: result: yes
    configure:12137: checking for GNU libc compatible malloc
    configure:12171: gcc -o conftest.exe -g -O2   conftest.c  >&5
    configure:12175: $? = 0
    configure:12181: ./conftest.exe
    configure:12185: $? = 0
    configure:12202: result: yes
    configure:12236: checking for stdlib.h
    configure:12243: result: yes
    configure:12236: checking for unistd.h
    configure:12243: result: yes
    configure:12386: checking for getpagesize
    configure:12442: gcc -o conftest.exe -g -O2   conftest.c  >&5
    configure:12449: $? = 0
    configure:12471: result: yes
    configure:12483: checking for working mmap
    configure:12630: gcc -o conftest.exe -g -O2   conftest.c  >&5
    conftest.c:90:22: sys/mman.h: No such file or directory
    conftest.c: In function `main':
    conftest.c:166: error: `PROT_READ' undeclared (first use in this function)
    conftest.c:166: error: (Each undeclared identifier is reported only once
    conftest.c:166: error: for each function it appears in.)
    conftest.c:166: error: `PROT_WRITE' undeclared (first use in this function)
    conftest.c:167: error: `MAP_PRIVATE' undeclared (first use in this function)
    conftest.c:167: error: `MAP_FIXED' undeclared (first use in this function)
    conftest.c:167: warning: comparison between pointer and integer
    configure:12634: $? = 1
    configure: program exited with status 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | #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 LT_OBJDIR ".libs/"
    | #define STDC_HEADERS 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_MALLOC 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_GETPAGESIZE 1
    | /* 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
    | /* malloc might have been renamed as rpl_malloc. */
    | #undef malloc
    | 
    | /* Thanks to Mike Haertel and Jim Avera for this test.
    |    Here is a matrix of mmap possibilities:
    | 	mmap private not fixed
    | 	mmap private fixed at somewhere currently unmapped
    | 	mmap private fixed at somewhere already mapped
    | 	mmap shared not fixed
    | 	mmap shared fixed at somewhere currently unmapped
    | 	mmap shared fixed at somewhere already mapped
    |    For private mappings, we should verify that changes cannot be read()
    |    back from the file, nor mmap's back from the file at a different
    |    address.  (There have been systems where private was not correctly
    |    implemented like the infamous i386 svr4.0, and systems where the
    |    VM page cache was not coherent with the file system buffer cache
    |    like early versions of FreeBSD and possibly contemporary NetBSD.)
    |    For shared mappings, we should conversely verify that changes get
    |    propagated back to all the places they're supposed to be.
    | 
    |    Grep wants private fixed already mapped.
    |    The main things grep needs to know about mmap are:
    |    * does it exist and is it safe to write into the mmap'd area
    |    * how to use it (BSD variants)  */
    | 
    | #include <fcntl.h>
    | #include <sys/mman.h>
    | 
    | #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
    | char *malloc ();
    | #endif
    | 
    | /* This mess was copied from the GNU getpagesize.h.  */
    | #ifndef HAVE_GETPAGESIZE
    | /* Assume that all systems that can run configure have sys/param.h.  */
    | # ifndef HAVE_SYS_PARAM_H
    | #  define HAVE_SYS_PARAM_H 1
    | # endif
    | 
    | # ifdef _SC_PAGESIZE
    | #  define getpagesize() sysconf(_SC_PAGESIZE)
    | # else /* no _SC_PAGESIZE */
    | #  ifdef HAVE_SYS_PARAM_H
    | #   include <sys/param.h>
    | #   ifdef EXEC_PAGESIZE
    | #    define getpagesize() EXEC_PAGESIZE
    | #   else /* no EXEC_PAGESIZE */
    | #    ifdef NBPG
    | #     define getpagesize() NBPG * CLSIZE
    | #     ifndef CLSIZE
    | #      define CLSIZE 1
    | #     endif /* no CLSIZE */
    | #    else /* no NBPG */
    | #     ifdef NBPC
    | #      define getpagesize() NBPC
    | #     else /* no NBPC */
    | #      ifdef PAGESIZE
    | #       define getpagesize() PAGESIZE
    | #      endif /* PAGESIZE */
    | #     endif /* no NBPC */
    | #    endif /* no NBPG */
    | #   endif /* no EXEC_PAGESIZE */
    | #  else /* no HAVE_SYS_PARAM_H */
    | #   define getpagesize() 8192	/* punt totally */
    | #  endif /* no HAVE_SYS_PARAM_H */
    | # endif /* no _SC_PAGESIZE */
    | 
    | #endif /* no HAVE_GETPAGESIZE */
    | 
    | int
    | main ()
    | {
    |   char *data, *data2, *data3;
    |   int i, pagesize;
    |   int fd;
    | 
    |   pagesize = getpagesize ();
    | 
    |   /* First, make a file with some known garbage in it. */
    |   data = (char *) malloc (pagesize);
    |   if (!data)
    |     return 1;
    |   for (i = 0; i < pagesize; ++i)
    |     *(data + i) = rand ();
    |   umask (0);
    |   fd = creat ("conftest.mmap", 0600);
    |   if (fd < 0)
    |     return 1;
    |   if (write (fd, data, pagesize) != pagesize)
    |     return 1;
    |   close (fd);
    | 
    |   /* Next, try to mmap the file at a fixed address which already has
    |      something else allocated at it.  If we can, also make sure that
    |      we see the same garbage.  */
    |   fd = open ("conftest.mmap", O_RDWR);
    |   if (fd < 0)
    |     return 1;
    |   data2 = (char *) malloc (2 * pagesize);
    |   if (!data2)
    |     return 1;
    |   data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
    |   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
    | 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
    |     return 1;
    |   for (i = 0; i < pagesize; ++i)
    |     if (*(data + i) != *(data2 + i))
    |       return 1;
    | 
    |   /* Finally, make sure that changes to the mapped area do not
    |      percolate back to the file as seen by read().  (This is a bug on
    |      some variants of i386 svr4.0.)  */
    |   for (i = 0; i < pagesize; ++i)
    |     *(data2 + i) = *(data2 + i) + 1;
    |   data3 = (char *) malloc (pagesize);
    |   if (!data3)
    |     return 1;
    |   if (read (fd, data3, pagesize) != pagesize)
    |     return 1;
    |   for (i = 0; i < pagesize; ++i)
    |     if (*(data + i) != *(data3 + i))
    |       return 1;
    |   close (fd);
    |   return 0;
    | }
    configure:12661: result: no
    configure:12678: checking for memset
    configure:12734: gcc -o conftest.exe -g -O2   conftest.c  >&5
    conftest.c:54: warning: conflicting types for built-in function 'memset'
    configure:12741: $? = 0
    configure:12763: result: yes
    configure:12678: checking for memcpy
    configure:12734: gcc -o conftest.exe -g -O2   conftest.c  >&5
    conftest.c:55: warning: conflicting types for built-in function 'memcpy'
    configure:12741: $? = 0
    configure:12763: result: yes
    configure:12678: checking for strcasecmp
    configure:12734: gcc -o conftest.exe -g -O2   conftest.c  >&5
    configure:12741: $? = 0
    configure:12763: result: yes
    configure:12778: checking for glib-mkenums
    configure:12811: result: no
    configure:12818: checking for glib-genmarshal
    configure:12851: result: no
    configure:12906: checking for pkg-config
    configure:12939: result: no
    configure:13009: checking for dlopen in -ldl
    configure:13044: gcc -o conftest.exe -g -O2   conftest.c -ldl   >&5
    C:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -ldl
    collect2: ld returned 1 exit status
    configure:13051: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | #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 LT_OBJDIR ".libs/"
    | #define STDC_HEADERS 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_MALLOC 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_GETPAGESIZE 1
    | #define HAVE_MEMSET 1
    | #define HAVE_MEMCPY 1
    | #define HAVE_STRCASECMP 1
    | /* end confdefs.h.  */
    | 
    | /* Override any GCC internal prototype to avoid an error.
    |    Use char because int might match the return type of a GCC
    |    builtin and then its argument prototype would still apply.  */
    | #ifdef __cplusplus
    | extern "C"
    | #endif
    | char dlopen ();
    | int
    | main ()
    | {
    | return dlopen ();
    |   ;
    |   return 0;
    | }
    configure:13072: result: no
    configure:14063: checking GL/glx.h usability
    configure:14080: gcc -c -g -O2  conftest.c >&5
    conftest.c:69:20: GL/glx.h: No such file or directory
    configure:14087: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | #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 LT_OBJDIR ".libs/"
    | #define STDC_HEADERS 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_MALLOC 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_GETPAGESIZE 1
    | #define HAVE_MEMSET 1
    | #define HAVE_MEMCPY 1
    | #define HAVE_STRCASECMP 1
    | #define HAVE_CLUTTER_GLX 1
    | #define HAVE_COGL_GL 1
    | /* 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
    | #include <GL/glx.h>
    configure:14101: result: no
    configure:14105: checking GL/glx.h presence
    configure:14120: gcc -E  conftest.c
    conftest.c:36:20: GL/glx.h: No such file or directory
    configure:14127: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */
    | #define PACKAGE_NAME "clutter"
    | #define PACKAGE_TARNAME "clutter"
    | #define PACKAGE_VERSION "0.9.8"
    | #define PACKAGE_STRING "clutter 0.9.8"
    | #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    | #define PACKAGE "clutter"
    | #define VERSION "0.9.8"
    | #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 LT_OBJDIR ".libs/"
    | #define STDC_HEADERS 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_MALLOC 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_GETPAGESIZE 1
    | #define HAVE_MEMSET 1
    | #define HAVE_MEMCPY 1
    | #define HAVE_STRCASECMP 1
    | #define HAVE_CLUTTER_GLX 1
    | #define HAVE_COGL_GL 1
    | /* end confdefs.h.  */
    | #include <GL/glx.h>
    configure:14141: result: no
    configure:14174: checking for GL/glx.h
    configure:14183: result: no
    configure:14195: error: Unable to locate required GLX headers
    
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
    
    ac_cv_build=i686-pc-mingw32
    ac_cv_c_compiler_gnu=yes
    ac_cv_c_const=yes
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CLUTTER_DEPS_CFLAGS_set=
    ac_cv_env_CLUTTER_DEPS_CFLAGS_value=
    ac_cv_env_CLUTTER_DEPS_LIBS_set=
    ac_cv_env_CLUTTER_DEPS_LIBS_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_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_TSLIB_CFLAGS_set=
    ac_cv_env_TSLIB_CFLAGS_value=
    ac_cv_env_TSLIB_LIBS_set=
    ac_cv_env_TSLIB_LIBS_value=
    ac_cv_env_XINPUT_CFLAGS_set=
    ac_cv_env_XINPUT_CFLAGS_value=
    ac_cv_env_XINPUT_LIBS_set=
    ac_cv_env_XINPUT_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_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=.exe
    ac_cv_func_getpagesize=yes
    ac_cv_func_malloc_0_nonnull=yes
    ac_cv_func_memcpy=yes
    ac_cv_func_memset=yes
    ac_cv_func_mmap_fixed_mapped=no
    ac_cv_func_strcasecmp=yes
    ac_cv_header_GL_glx_h=no
    ac_cv_header_dlfcn_h=no
    ac_cv_header_fcntl_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=i686-pc-mingw32
    ac_cv_lib_dl_dlopen=no
    ac_cv_objext=o
    ac_cv_path_DOLT_BASH=/bin/bash
    ac_cv_path_EGREP='/bin/grep -E'
    ac_cv_path_FGREP='/bin/grep -F'
    ac_cv_path_GREP=/bin/grep
    ac_cv_path_SED=/bin/sed
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CPP='gcc -E'
    ac_cv_prog_ac_ct_AR=ar
    ac_cv_prog_ac_ct_CC=gcc
    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_g=yes
    ac_cv_prog_cc_gcc_c_o=yes
    ac_cv_prog_make_make_set=yes
    am_cv_CC_dependencies_compiler_type=gcc3
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    lt_cv_file_magic_cmd=func_win32_libid
    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=C:/mingw/mingw32/bin/ld.exe
    lt_cv_path_NM=/mingw/bin/nm
    lt_cv_prog_compiler_c_o=yes
    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_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*_\([_A-Za-z][_A-Za-z0-9]*\)
    \{0,1\}$/\1 _\2 \2/p'\'''
    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=8192
    
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    
    ACLOCAL='${SHELL} /c/Seth/random/clutter/missing --run aclocal-1.10'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /c/Seth/random/clutter/missing --run tar'
    AM_MAKEFLAGS=''
    AR='ar'
    AUTOCONF='${SHELL} /c/Seth/random/clutter/missing --run autoconf'
    AUTOHEADER='${SHELL} /c/Seth/random/clutter/missing --run autoheader'
    AUTOMAKE='${SHELL} /c/Seth/random/clutter/missing --run automake-1.10'
    AWK='gawk'
    BUILD_GTK_DOC_FALSE=''
    BUILD_GTK_DOC_TRUE=''
    CATALOGS=''
    CATOBJEXT=''
    CC='gcc'
    CCDEPMODE='depmode=gcc3'
    CFLAGS='-g -O2'
    CLUTTER_API_VERSION='0.9'
    CLUTTER_CFLAGS=''
    CLUTTER_COGL='gl'
    CLUTTER_DEBUG_CFLAGS=''
    CLUTTER_DEPS_CFLAGS=''
    CLUTTER_DEPS_LIBS=''
    CLUTTER_FLAVOUR='glx'
    CLUTTER_GL_HEADER=''
    CLUTTER_LIBS=''
    CLUTTER_LT_LDFLAGS='-version-info 908:0:908'
    CLUTTER_LT_VERSION='908:0:908'
    CLUTTER_MAJORMINOR='0.9'
    CLUTTER_MAJOR_VERSION='0'
    CLUTTER_MICRO_VERSION='8'
    CLUTTER_MINOR_VERSION='9'
    CLUTTER_REQUIRES=''
    CLUTTER_STAGE_TYPE='CLUTTER_TYPE_STAGE_GLX'
    CLUTTER_VERSION='0.9.8'
    COGL_DEBUG_CFLAGS=''
    COGL_GLES_VERSION=''
    CPP='gcc -E'
    CPPFLAGS=''
    CXX=''
    CYGPATH_W='echo'
    DATADIRNAME=''
    DEFS=''
    DEPDIR='.deps'
    DOLT_BASH='/bin/bash'
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='/bin/grep -E'
    ENABLE_GTK_DOC_FALSE=''
    ENABLE_GTK_DOC_TRUE=''
    ENABLE_MANUAL_FALSE=''
    ENABLE_MANUAL_TRUE=''
    EXEEXT='.exe'
    F77=''
    FC=''
    FGREP='/bin/grep -F'
    GETTEXT_PACKAGE=''
    GLIB_GENMARSHAL=''
    GLIB_MKENUMS=''
    GLIB_PREFIX=''
    GMOFILES=''
    GMSGFMT=''
    GREP='/bin/grep'
    GTKDOC_CHECK=''
    GTK_DOC_USE_LIBTOOL_FALSE=''
    GTK_DOC_USE_LIBTOOL_TRUE=''
    HAVE_INTROSPECTION_FALSE=''
    HAVE_INTROSPECTION_TRUE=''
    HAVE_LIBDL_FALSE=''
    HAVE_LIBDL_TRUE='#'
    HTML_DIR=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INSTOBJEXT=''
    INTLLIBS=''
    INTROSPECTION_COMPILER=''
    INTROSPECTION_GENERATE=''
    INTROSPECTION_GIRDIR=''
    INTROSPECTION_SCANNER=''
    INTROSPECTION_TYPELIBDIR=''
    JSON_PREFIX=''
    JW=''
    LD='C:/mingw/mingw32/bin/ld.exe'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    LIPO=''
    LN_S='ln -s'
    LOCAL_JSON_GLIB_FALSE=''
    LOCAL_JSON_GLIB_TRUE=''
    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
    LTLIBOBJS=''
    MAINTAINER_CFLAGS=''
    MAKEFLAGS=''
    MAKEINFO='${SHELL} /c/Seth/random/clutter/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MKINSTALLDIRS=''
    MSGFMT=''
    MSGFMT_OPTS=''
    NM='/mingw/bin/nm'
    NMEDIT=''
    OBJDUMP='objdump'
    OBJEXT='o'
    OTOOL64=''
    OTOOL=''
    PACKAGE='clutter'
    PACKAGE_BUGREPORT='http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter'
    PACKAGE_NAME='clutter'
    PACKAGE_STRING='clutter 0.9.8'
    PACKAGE_TARNAME='clutter'
    PACKAGE_VERSION='0.9.8'
    PANGO_PREFIX=''
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    POFILES=''
    POSUB=''
    PO_IN_DATADIR_FALSE=''
    PO_IN_DATADIR_TRUE=''
    Q=''
    RANLIB='ranlib'
    SDL_CONFIG=''
    SED='/bin/sed'
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP='strip'
    TSLIB_CFLAGS=''
    TSLIB_LIBS=''
    USE_GLES2_WRAPPER_FALSE=''
    USE_GLES2_WRAPPER_TRUE='#'
    USE_NLS=''
    V=''
    VERSION='0.9.8'
    X11_TESTS_FALSE=''
    X11_TESTS_TRUE=''
    XGETTEXT=''
    XINPUT_CFLAGS=''
    XINPUT_LIBS=''
    XMKMF=''
    XMLTO=''
    ac_ct_CC='gcc'
    ac_ct_DUMPBIN=''
    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 -'
    backendextra=''
    backendextralib=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-mingw32'
    build_alias=''
    build_cpu='i686'
    build_os='mingw32'
    build_vendor='pc'
    clutterbackend='glx'
    clutterbackendlib=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i686-pc-mingw32'
    host_alias=''
    host_cpu='i686'
    host_os='mingw32'
    host_vendor='pc'
    htmldir='${docdir}'
    imagebackend=''
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /c/Seth/random/clutter/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    lt_ECHO='echo'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    shavedir=''
    sysconfdir='${prefix}/etc'
    target_alias=''
    
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    
    #define PACKAGE_NAME "clutter"
    #define PACKAGE_TARNAME "clutter"
    #define PACKAGE_VERSION "0.9.8"
    #define PACKAGE_STRING "clutter 0.9.8"
    #define PACKAGE_BUGREPORT "http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter"
    #define PACKAGE "clutter"
    #define VERSION "0.9.8"
    #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 LT_OBJDIR ".libs/"
    #define STDC_HEADERS 1
    #define HAVE_FCNTL_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRING_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_MALLOC 1
    #define HAVE_STDLIB_H 1
    #define HAVE_UNISTD_H 1
    #define HAVE_GETPAGESIZE 1
    #define HAVE_MEMSET 1
    #define HAVE_MEMCPY 1
    #define HAVE_STRCASECMP 1
    #define HAVE_CLUTTER_GLX 1
    #define HAVE_COGL_GL 1
    
    configure: exit 1

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    If I remember correctly, you need to include that path when you run configure:
    ./configure CFLAGS=-I/path/to/header
    Where the path to the header is:
    /path/to/header/GL/glx.h

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    15
    Thanks ! But unfortunately, it didn't work. I searched for that option online, and it sounds like it should work.
    These are the command prompts I tried:

    ./configure CFLAGS=-I/c/Seth/random/clutter

    (GL i copied into clutter directory)

    ./configure ADD_CFLAGS="-IC:/Seth/Random/clutter"

    Now, i noticed that it failed to find a couple of other packages before, inluding pkgconfig. Maybe this is the problem?

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    15
    Just an idle question. How long does it take to build the average c library (as in time spent in trying to figure out just the right way to compile)??

    BTW: I''m using MSYS, if that matters
    Last edited by Jardon; 07-23-2009 at 09:16 PM.

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    15
    Alright, so i looked in the new config log and apparentl its finding gl.h. However, glx.h which is also included includes <x11/xlib.h>. When i installed libgl (mesa), it definitely didn't install this or say it need it. Where can i find this library?

  6. #6
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    You need xlib.

    The homepage for X-Windows is here.
    The ftp site where you can download xlib binaries is here.

  7. #7
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    I forgot you are compiling this on Windows. In this case, you will need to install cygwin (if you haven't already), and then install X. Even then, there's a good chance you may run into more compilation problems.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 07:04 AM
  2. Script in games
    By Shakti in forum Game Programming
    Replies: 7
    Last Post: 09-27-2006, 01:27 AM
  3. From script to C to C++
    By VirtualAce in forum Game Programming
    Replies: 2
    Last Post: 09-11-2006, 05:35 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 08:55 AM
  5. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 02:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21