Closed jceipek closed 11 years ago
One of my friends got it to build using gcc 4.4 instead of gcc 4.6.3, which I was using before. Changing the issue title.
Wow, github haven't done me any notification about the issue being opened. Thanks for reporting, I'll try that out. In the meanwhile, could you try without autogen, just by running the configure file Ivan provided?
As far as I can tell, Ivan just provided a configure.in
file for autotools rather than a configure
script. What do you want me to try?
With the what I've forked there was a configure
was already there. Works for me at the moment. Alternatively, I'd wish to see the failing command and it's precise error messages.
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking size of void *... 8 checking for cos in -lm... yes checking GL/gl.h usability... no checking GL/gl.h presence... no checking for GL/gl.h... no checking GL/glu.h usability... no checking GL/glu.h presence... no checking for GL/glu.h... no checking GL/glut.h usability... no checking GL/glut.h presence... no checking for GL/glut.h... no checking GL/glx.h usability... no checking GL/glx.h presence... no checking for GL/glx.h... no checking for OpenGL library... no checking for glXGetProcAddress in -lGL... no checking for GLU library... no checking for GLUT library... no checking jpeglib.h usability... no checking jpeglib.h presence... no checking for jpeglib.h... no checking for JPEG library... no configure: error: in `/home/dvermilya/ShivaVG': configure: error:
gl.h header missing! ShivaVG cannot be built without
OpenGL headers.
See `config.log' for more details
We couldn't find a configure script. Here's config.log with gcc 4.6.3:
config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ShivaVG configure 0.2.1, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = MYHOSTNAME
uname -m = i686
uname -r = 3.2.0-32-generic-pae
uname -s = Linux
uname -v = #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012
/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: /usr/lib/lightdm/lightdm
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2565: checking for a BSD-compatible install
configure:2633: result: /usr/bin/install -c
configure:2644: checking whether build environment is sane
configure:2694: result: yes
configure:2835: checking for a thread-safe mkdir -p
configure:2874: result: /bin/mkdir -p
configure:2887: checking for gawk
configure:2917: result: no
configure:2887: checking for mawk
configure:2903: found /usr/bin/mawk
configure:2914: result: mawk
configure:2925: checking whether make sets $(MAKE)
configure:2947: result: yes
configure:3031: checking build system type
configure:3045: result: i686-pc-linux-gnu
configure:3065: checking host system type
configure:3078: result: i686-pc-linux-gnu
configure:3147: checking for gcc
configure:3163: found /usr/bin/gcc
configure:3174: result: gcc
configure:3403: checking for C compiler version
configure:3412: gcc --version >&5
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 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:3423: $? = 0
configure:3412: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configure:3423: $? = 0
configure:3412: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3423: $? = 4
configure:3412: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3423: $? = 4
configure:3443: checking whether the C compiler works
configure:3465: gcc conftest.c >&5
configure:3469: $? = 0
configure:3517: result: yes
configure:3520: checking for C compiler default output file name
configure:3522: result: a.out
configure:3528: checking for suffix of executables
configure:3535: gcc -o conftest conftest.c >&5
configure:3539: $? = 0
configure:3561: result:
configure:3583: checking whether we are cross compiling
configure:3591: gcc -o conftest conftest.c >&5
configure:3595: $? = 0
configure:3602: ./conftest
configure:3606: $? = 0
configure:3621: result: no
configure:3626: checking for suffix of object files
configure:3648: gcc -c conftest.c >&5
configure:3652: $? = 0
configure:3673: result: o
configure:3677: checking whether we are using the GNU C compiler
configure:3696: gcc -c conftest.c >&5
configure:3696: $? = 0
configure:3705: result: yes
configure:3714: checking whether gcc accepts -g
configure:3734: gcc -c -g conftest.c >&5
configure:3734: $? = 0
configure:3775: result: yes
configure:3792: checking for gcc option to accept ISO C89
configure:3856: gcc -c -g -O2 conftest.c >&5
configure:3856: $? = 0
configure:3869: result: none needed
configure:3900: checking for style of include used by make
configure:3928: result: GNU
configure:3954: checking dependency style of gcc
configure:4065: result: gcc3
configure:4085: checking how to run the C preprocessor
configure:4116: gcc -E conftest.c
configure:4116: $? = 0
configure:4130: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4130: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4155: result: gcc -E
configure:4175: gcc -E conftest.c
configure:4175: $? = 0
configure:4189: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4189: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4263: checking how to print strings
configure:4290: result: printf
configure:4311: checking for a sed that does not truncate output
configure:4375: result: /bin/sed
configure:4393: checking for grep that handles long lines and -e
configure:4451: result: /bin/grep
configure:4456: checking for egrep
configure:4518: result: /bin/grep -E
configure:4523: checking for fgrep
configure:4585: result: /bin/grep -F
configure:4620: checking for ld used by gcc
configure:4687: result: /usr/bin/ld
configure:4694: checking if the linker (/usr/bin/ld) is GNU ld
configure:4709: result: yes
configure:4721: checking for BSD- or MS-compatible name lister (nm)
configure:4770: result: /usr/bin/nm -B
configure:4900: checking the name lister (/usr/bin/nm -B) interface
configure:4907: gcc -c -g -O2 conftest.c >&5
configure:4910: /usr/bin/nm -B "conftest.o"
configure:4913: output
00000000 B some_variable
configure:4920: result: BSD nm
configure:4923: checking whether ln -s works
configure:4927: result: yes
configure:4935: checking the maximum length of command line arguments
configure:5065: result: 1572864
configure:5082: checking whether the shell understands some XSI constructs
configure:5092: result: yes
configure:5096: checking whether the shell understands "+="
configure:5102: result: yes
configure:5137: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
configure:5177: result: func_convert_file_noop
configure:5184: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:5204: result: func_convert_file_noop
configure:5211: checking for /usr/bin/ld option to reload object files
configure:5218: result: -r
configure:5292: checking for objdump
configure:5308: found /usr/bin/objdump
configure:5319: result: objdump
configure:5351: checking how to recognize dependent libraries
configure:5553: result: pass_all
configure:5638: checking for dlltool
configure:5668: result: no
configure:5698: checking how to associate runtime and link libraries
configure:5725: result: printf %s\n
configure:5786: checking for ar
configure:5802: found /usr/bin/ar
configure:5813: result: ar
configure:5850: checking for archiver @FILE support
configure:5867: gcc -c -g -O2 conftest.c >&5
configure:5867: $? = 0
configure:5870: ar cru libconftest.a @conftest.lst >&5
configure:5873: $? = 0
configure:5878: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5881: $? = 1
configure:5893: result: @
configure:5951: checking for strip
configure:5967: found /usr/bin/strip
configure:5978: result: strip
configure:6050: checking for ranlib
configure:6066: found /usr/bin/ranlib
configure:6077: result: ranlib
configure:6179: checking command to parse /usr/bin/nm -B output from gcc object
configure:6299: gcc -c -g -O2 conftest.c >&5
configure:6302: $? = 0
configure:6306: /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:6309: $? = 0
configure:6375: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6378: $? = 0
configure:6416: result: ok
configure:6453: checking for sysroot
configure:6483: result: no
configure:6739: checking for mt
configure:6755: found /bin/mt
configure:6766: result: mt
configure:6789: checking if mt is a manifest tool
configure:6795: mt '-?'
configure:6803: result: no
configure:7441: checking for ANSI C header files
configure:7461: gcc -c -g -O2 conftest.c >&5
configure:7461: $? = 0
configure:7534: gcc -o conftest -g -O2 conftest.c >&5
configure:7534: $? = 0
configure:7534: ./conftest
configure:7534: $? = 0
configure:7545: result: yes
configure:7558: checking for sys/types.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for sys/stat.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for stdlib.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for string.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for memory.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for strings.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for inttypes.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for stdint.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7558: checking for unistd.h
configure:7558: gcc -c -g -O2 conftest.c >&5
configure:7558: $? = 0
configure:7558: result: yes
configure:7572: checking for dlfcn.h
configure:7572: gcc -c -g -O2 conftest.c >&5
configure:7572: $? = 0
configure:7572: result: yes
configure:7778: checking for objdir
configure:7793: result: .libs
configure:8060: checking if gcc supports -fno-rtti -fno-exceptions
configure:8078: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:8082: $? = 0
configure:8095: result: no
configure:8422: checking for gcc option to produce PIC
configure:8429: result: -fPIC -DPIC
configure:8437: checking if gcc PIC flag -fPIC -DPIC works
configure:8455: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8459: $? = 0
configure:8472: result: yes
configure:8501: checking if gcc static flag -static works
configure:8529: result: yes
configure:8544: checking if gcc supports -c -o file.o
configure:8565: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8569: $? = 0
configure:8591: result: yes
configure:8599: checking if gcc supports -c -o file.o
configure:8646: result: yes
configure:8679: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9836: result: yes
configure:9873: checking whether -lc should be explicitly linked in
configure:9881: gcc -c -g -O2 conftest.c >&5
configure:9884: $? = 0
configure:9899: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9902: $? = 0
configure:9916: result: no
configure:10076: checking dynamic linker characteristics
configure:10587: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10587: $? = 0
configure:10821: result: GNU/Linux ld.so
configure:10928: checking how to hardcode library paths into programs
configure:10953: result: immediate
configure:11493: checking whether stripping libraries is possible
configure:11498: result: yes
configure:11533: checking if libtool supports shared libraries
configure:11535: result: yes
configure:11538: checking whether to build shared libraries
configure:11559: result: yes
configure:11562: checking whether to build static libraries
configure:11566: result: yes
configure:11700: checking for int8_t
configure:11700: gcc -c -g -O2 conftest.c >&5
configure:11700: $? = 0
configure:11700: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:12: error: size of array 'test_array' is negative
configure:11700: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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
| enum { N = 8 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:11700: result: yes
configure:11711: checking for uint8_t
configure:11711: gcc -c -g -O2 conftest.c >&5
configure:11711: $? = 0
configure:11711: result: yes
configure:11725: checking for int16_t
configure:11725: gcc -c -g -O2 conftest.c >&5
configure:11725: $? = 0
configure:11725: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:12: error: size of array 'test_array' is negative
configure:11725: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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
| enum { N = 16 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:11725: result: yes
configure:11736: checking for uint16_t
configure:11736: gcc -c -g -O2 conftest.c >&5
configure:11736: $? = 0
configure:11736: result: yes
configure:11748: checking for int32_t
configure:11748: gcc -c -g -O2 conftest.c >&5
configure:11748: $? = 0
configure:11748: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:53: warning: integer overflow in expression [-Woverflow]
conftest.c:60:12: error: size of array 'test_array' is negative
conftest.c:60:12: error: storage size of 'test_array' isn't constant
configure:11748: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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
| enum { N = 32 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:11748: result: yes
configure:11759: checking for uint32_t
configure:11759: gcc -c -g -O2 conftest.c >&5
configure:11759: $? = 0
configure:11759: result: yes
configure:11773: checking for int64_t
configure:11773: gcc -c -g -O2 conftest.c >&5
configure:11773: $? = 0
configure:11773: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:53: warning: integer overflow in expression [-Woverflow]
conftest.c:60:12: error: size of array 'test_array' is negative
conftest.c:60:12: error: storage size of 'test_array' isn't constant
configure:11773: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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
| enum { N = 64 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:11773: result: yes
configure:11784: checking for uint64_t
configure:11784: gcc -c -g -O2 conftest.c >&5
configure:11784: $? = 0
configure:11784: result: yes
configure:11802: checking size of void *
configure:11807: gcc -o conftest -g -O2 conftest.c >&5
configure:11807: $? = 0
configure:11807: ./conftest
configure:11807: $? = 0
configure:11821: result: 4
configure:11835: checking for cos in -lm
configure:11860: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:31:6: warning: conflicting types for built-in function 'cos' [enabled by default]
configure:11860: $? = 0
configure:11869: result: yes
configure:11925: checking GL/gl.h usability
configure:11925: gcc -c -g -O2 conftest.c >&5
configure:11925: $? = 0
configure:11925: result: yes
configure:11925: checking GL/gl.h presence
configure:11925: gcc -E conftest.c
configure:11925: $? = 0
configure:11925: result: yes
configure:11925: checking for GL/gl.h
configure:11925: result: yes
configure:11941: checking GL/glu.h usability
configure:11941: gcc -c -g -O2 conftest.c >&5
configure:11941: $? = 0
configure:11941: result: yes
configure:11941: checking GL/glu.h presence
configure:11941: gcc -E conftest.c
configure:11941: $? = 0
configure:11941: result: yes
configure:11941: checking for GL/glu.h
configure:11941: result: yes
configure:11957: checking GL/glut.h usability
configure:11957: gcc -c -g -O2 conftest.c >&5
configure:11957: $? = 0
configure:11957: result: yes
configure:11957: checking GL/glut.h presence
configure:11957: gcc -E conftest.c
configure:11957: $? = 0
configure:11957: result: yes
configure:11957: checking for GL/glut.h
configure:11957: result: yes
configure:11975: checking GL/glx.h usability
configure:11975: gcc -c -g -O2 conftest.c >&5
configure:11975: $? = 0
configure:11975: result: yes
configure:11975: checking GL/glx.h presence
configure:11975: gcc -E conftest.c
configure:11975: $? = 0
configure:11975: result: yes
configure:11975: checking for GL/glx.h
configure:11975: result: yes
configure:12001: gcc -o conftest -g -O2 -lGL conftest.c -lm >&5
/tmp/ccgJt1qB.o: In function `main':
/home/MYUSERNAME/shiva_theVengance/ShivaVG/conftest.c:31: undefined reference to `glEnd'
collect2: ld returned 1 exit status
configure:12001: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_H 1
| /* end confdefs.h. */
|
| char glEnd();
| int main(void) {glEnd(); return 0;}
configure:12011: checking for glXGetProcAddress in -lGL
configure:12036: gcc -o conftest -g -O2 -lGL conftest.c -lGL -lm >&5
configure:12036: $? = 0
configure:12045: result: yes
configure:12064: gcc -o conftest -g -O2 -lGL -lGLU conftest.c -lm >&5
/tmp/ccMniDWS.o: In function `main':
/home/MYUSERNAME/shiva_theVengance/ShivaVG/conftest.c:31: undefined reference to `gluOrtho2D'
collect2: ld returned 1 exit status
configure:12064: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_H 1
| /* end confdefs.h. */
|
| char gluOrtho2D();
| int main(void) {gluOrtho2D(); return 0;}
configure:12081: gcc -o conftest -g -O2 -lGL -lGLU -lglut conftest.c -lm >&5
/tmp/cc61GnC1.o: In function `main':
/home/MYUSERNAME/shiva_theVengance/ShivaVG/conftest.c:31: undefined reference to `glutInit'
collect2: ld returned 1 exit status
configure:12081: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_H 1
| /* end confdefs.h. */
|
| char glutInit();
| int main(void) {glutInit(); return 0;}
configure:12099: checking jpeglib.h usability
configure:12099: gcc -c -INONE/include conftest.c >&5
conftest.c:62:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
configure:12099: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_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 <jpeglib.h>
configure:12099: result: no
configure:12099: checking jpeglib.h presence
configure:12099: gcc -E conftest.c
conftest.c:29:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
configure:12099: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_H 1
| /* end confdefs.h. */
| #include <jpeglib.h>
configure:12099: result: no
configure:12099: checking for jpeglib.h
configure:12099: result: no
configure:12121: gcc -o conftest -INONE/include -ljpeg -L/usr/local/lib -LNONE/lib conftest.c -lm >&5
conftest.c:32:22: fatal error: jpeglib.h: No such file or directory
compilation terminated.
configure:12121: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ShivaVG"
| #define PACKAGE_TARNAME "shivavg"
| #define PACKAGE_VERSION "0.2.1"
| #define PACKAGE_STRING "ShivaVG 0.2.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "shivavg"
| #define VERSION "0.2.1"
| #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 SIZEOF_VOID_P 4
| #define HAVE_LIBM 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLU_H 1
| #define HAVE_GL_GLUT_H 1
| #define HAVE_GL_GLX_H 1
| /* end confdefs.h. */
|
| #include <stdio.h>
| #include <stdlib.h>
| #include <jpeglib.h>
| int main(void) {jpeg_create_decompress(0); return 0;}
configure:12203: error: in `/home/MYUSERNAME/shiva_theVengance/ShivaVG':
configure:12205: error:
Failed linking with GL library! ShivaVG cannot be built
without OpenGL library.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int64_t=yes
ac_cv_c_int8_t=yes
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=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_header_GL_gl_h=yes
ac_cv_header_GL_glu_h=yes
ac_cv_header_GL_glut_h=yes
ac_cv_header_GL_glx_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_jpeglib_h=no
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-linux-gnu
ac_cv_lib_GL_glXGetProcAddress=yes
ac_cv_lib_m_cos=yes
ac_cv_objext=o
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='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
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_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_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sizeof_void_p=4
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_ar_at_file=@
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_shlibpath_overrides_runpath=no
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=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='ar'
AUTOCONF='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/missing --run autoconf'
AUTOHEADER='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/missing --run autoheader'
AUTOMAKE='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/missing --run automake-1.11'
AWK='mawk'
BUILD_BLEND_FALSE=''
BUILD_BLEND_TRUE=''
BUILD_DASH_FALSE=''
BUILD_DASH_TRUE=''
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
BUILD_IMAGE_FALSE=''
BUILD_IMAGE_TRUE=''
BUILD_INTERPOLATE_FALSE=''
BUILD_INTERPOLATE_TRUE=''
BUILD_LINEAR_FALSE=''
BUILD_LINEAR_TRUE=''
BUILD_PATTERN_FALSE=''
BUILD_PATTERN_TRUE=''
BUILD_RADIAL_FALSE=''
BUILD_RADIAL_TRUE=''
BUILD_TIGER_FALSE=''
BUILD_TIGER_TRUE=''
BUILD_VGU_FALSE=''
BUILD_VGU_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-INONE/include'
CONFIG_CFLAGS=''
CONFIG_LDADD='-lglut -lGL -lGLU'
CONFIG_LDFLAGS=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='shivavg'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='ShivaVG'
PACKAGE_STRING='ShivaVG 0.2.1'
PACKAGE_TARNAME='shivavg'
PACKAGE_URL=''
PACKAGE_VERSION='0.2.1'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='0.2.1'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/MYUSERNAME/shiva_theVengance/ShivaVG/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
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'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "ShivaVG"
#define PACKAGE_TARNAME "shivavg"
#define PACKAGE_VERSION "0.2.1"
#define PACKAGE_STRING "ShivaVG 0.2.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "shivavg"
#define VERSION "0.2.1"
#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 SIZEOF_VOID_P 4
#define HAVE_LIBM 1
#define HAVE_GL_GL_H 1
#define HAVE_GL_GLU_H 1
#define HAVE_GL_GLUT_H 1
#define HAVE_GL_GLX_H 1
configure: exit 1
Hello. Sorry for being slow these days. I don't honestly think I should support this automake madness, give me some time to port it to CMake and we shall see then if the problem persists.
No problem. I think using CMake is better anyway.As far as I can tell, the reason that autotools fails is related to a flag ordering issue resulting from stricter requirements in newer versions of gcc.
Please keep us updated on your progress! We're working on a new project to try to create cross-platform python wrappers for ShivaVG, and making ShivaVG easy to compile will be very useful for us.
It's settled then. In all my honesty I just don't feel like debugging things we are going to root soon enough anyways. I'll ping you when we port things over. Should be somewhere this week I hope.
Any luck with this?
Okay, I've ported things to CMake but it only relies on find_package() to look up the library. Unsure whether I should port the testcode or not, but feel free to test if it works in the current state of things. Thanks.
It currently doesn't work on OS X. I'll ask my friends running Ubuntu to try it out.
$ cmake .
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 4.0.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
-- Found GLUT: -framework GLUT
-- Found JPEG: /usr/local/lib/libjpeg.dylib
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file jpeglib.h
-- Looking for include file jpeglib.h - not found.
-- Looking for cos in m
-- Looking for cos in m - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Checking whether system has ANSI C header files
-- Looking for 8 include files dlfcn.h, ..., float.h
-- Looking for 8 include files dlfcn.h, ..., float.h - found
-- Looking for memchr
-- Looking for memchr - found
-- Looking for free
-- Looking for free - found
-- ANSI C header files - found
-- Found Git: /usr/local/bin/git (found version "1.7.11.3")
ShivaVG will be compiled with the following example programs
(run (cmake-gui, ccmake or cmake -D<option>) to change selection) :
VGU ON
Dashing ON
Linear Gradient ON
Radial Gradient ON
Path Interpolation ON
Tiger SVG ON
Images ON
Pattern paint ON
Blending ON
Electoro Body ON
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jceipek/Development/Group Projects/ShivaVG
$ make
Scanning dependencies of target OpenVG
[ 3%] Building C object src/CMakeFiles/OpenVG.dir/shExtensions.c.o
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:23:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shDefs.h:52:22: error: #if with no expression
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:23:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shDefs.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SHuint8’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shDefs.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SHuint16’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shDefs.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SHuint32’
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shArrays.h:41,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shContext.h:26,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:25:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:55: error: expected specifier-qualifier-list before ‘SHuint8’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:60: warning: struct has no members
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:207: error: expected declaration specifiers or ‘...’ before ‘SHuint8’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:230: error: expected declaration specifiers or ‘...’ before ‘SHuint8’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:264: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘shUint8ArrayFront’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:275: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘shUint8ArrayBack’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘shUint8ArrayAt’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/Users/jceipek/Development/Group Projects/ShivaVG/src/shArrayBase.h:331: error: expected declaration specifiers or ‘...’ before ‘SHuint8’
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shContext.h:27,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:25:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shPath.h:54: error: expected specifier-qualifier-list before ‘SHuint32’
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shContext.h:27,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:25:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shPath.h:84: error: expected specifier-qualifier-list before ‘SHuint8’
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shPaint.h:26,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shContext.h:28,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:25:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shImage.h:34: error: expected specifier-qualifier-list before ‘SHuint8’
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/src/shPaint.h:26,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shContext.h:28,
from /Users/jceipek/Development/Group Projects/ShivaVG/src/shExtensions.c:25:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shImage.h:75: error: expected specifier-qualifier-list before ‘SHuint8’
/Users/jceipek/Development/Group Projects/ShivaVG/src/shImage.h:86: warning: struct has no members
make[2]: *** [src/CMakeFiles/OpenVG.dir/shExtensions.c.o] Error 1
make[1]: *** [src/CMakeFiles/OpenVG.dir/all] Error 2
make: *** [all] Error 2
Pull the new version please. I realized I forgot one file when I pushed. Should be okay now. Also, it -should- work with MacOS but there's no bundling code yet.
It got further but still got stuck:
Scanning dependencies of target test_blend
[ 37%] Building C object examples/CMakeFiles/test_blend.dir/test.c.o
In file included from /Users/jceipek/Development/Group Projects/ShivaVG/examples/test.c:1:
/Users/jceipek/Development/Group Projects/ShivaVG/examples/test.h:21:22: error: GL/glext.h: No such file or directory
make[2]: *** [examples/CMakeFiles/test_blend.dir/test.c.o] Error 1
make[1]: *** [examples/CMakeFiles/test_blend.dir/all] Error 2
make: *** [all] Error 2
I had an error similar to this when I built the earlier version. I got around it by moving the GL folder temporarily, and I can try that again, but it would be better to fix it properly.
Got it, thanks will file a fix in a minute.
I think the error is in line 21 of test.h
Fixed by changing:
#include "GL/glext.h"
to
#include "../src/GL/glext.h"
Does that work for you?
After I made that change, I got the examples to run.
Yeah, it works but I added that include dir to the CMakeLists, can you try a clean build now please?
Awesome!
$ make
Scanning dependencies of target OpenVG
[ 3%] Building C object src/CMakeFiles/OpenVG.dir/shExtensions.c.o
[ 6%] Building C object src/CMakeFiles/OpenVG.dir/shArrays.c.o
[ 9%] Building C object src/CMakeFiles/OpenVG.dir/shVectors.c.o
[ 12%] Building C object src/CMakeFiles/OpenVG.dir/shPath.c.o
[ 15%] Building C object src/CMakeFiles/OpenVG.dir/shImage.c.o
/Users/jceipek/Development/Group Projects/ShivaVG/src/shImage.c: In function ‘vgGetPixels’:
/Users/jceipek/Development/Group Projects/ShivaVG/src/shImage.c:1093: warning: ISO C90 forbids mixed declarations and code
[ 18%] Building C object src/CMakeFiles/OpenVG.dir/shPaint.c.o
[ 21%] Building C object src/CMakeFiles/OpenVG.dir/shGeometry.c.o
[ 25%] Building C object src/CMakeFiles/OpenVG.dir/shPipeline.c.o
[ 28%] Building C object src/CMakeFiles/OpenVG.dir/shParams.c.o
[ 31%] Building C object src/CMakeFiles/OpenVG.dir/shContext.c.o
[ 34%] Building C object src/CMakeFiles/OpenVG.dir/shVgu.c.o
Linking C static library libOpenVG.a
[ 34%] Built target OpenVG
Scanning dependencies of target test_blend
[ 37%] Building C object examples/CMakeFiles/test_blend.dir/test.c.o
[ 40%] Building C object examples/CMakeFiles/test_blend.dir/test_blend.c.o
Linking C executable test_blend
[ 40%] Built target test_blend
Scanning dependencies of target test_dash
[ 43%] Building C object examples/CMakeFiles/test_dash.dir/test.c.o
[ 46%] Building C object examples/CMakeFiles/test_dash.dir/test_dash.c.o
Linking C executable test_dash
[ 46%] Built target test_dash
Scanning dependencies of target test_eb
[ 50%] Building C object examples/CMakeFiles/test_eb.dir/test.c.o
[ 53%] Building C object examples/CMakeFiles/test_eb.dir/test_eb.c.o
/Users/jceipek/Development/Group Projects/ShivaVG/examples/test_eb.c:378: warning: conflicting types for ‘createTextures’
/Users/jceipek/Development/Group Projects/ShivaVG/examples/test_eb.c:156: warning: previous implicit declaration of ‘createTextures’ was here
/Users/jceipek/Development/Group Projects/ShivaVG/examples/test_eb.c: In function ‘main’:
/Users/jceipek/Development/Group Projects/ShivaVG/examples/test_eb.c:429: warning: passing argument 2 of ‘testInit’ from incompatible pointer type
Linking C executable test_eb
[ 53%] Built target test_eb
Scanning dependencies of target test_image
[ 56%] Building C object examples/CMakeFiles/test_image.dir/test.c.o
[ 59%] Building C object examples/CMakeFiles/test_image.dir/test_image.c.o
Linking C executable test_image
[ 59%] Built target test_image
Scanning dependencies of target test_interpolate
[ 62%] Building C object examples/CMakeFiles/test_interpolate.dir/test.c.o
[ 65%] Building C object examples/CMakeFiles/test_interpolate.dir/test_interpolate.c.o
Linking C executable test_interpolate
[ 65%] Built target test_interpolate
Scanning dependencies of target test_linear
[ 68%] Building C object examples/CMakeFiles/test_linear.dir/test.c.o
[ 71%] Building C object examples/CMakeFiles/test_linear.dir/test_linear.c.o
Linking C executable test_linear
[ 71%] Built target test_linear
Scanning dependencies of target test_pattern
[ 75%] Building C object examples/CMakeFiles/test_pattern.dir/test.c.o
[ 78%] Building C object examples/CMakeFiles/test_pattern.dir/test_pattern.c.o
Linking C executable test_pattern
[ 78%] Built target test_pattern
Scanning dependencies of target test_radial
[ 81%] Building C object examples/CMakeFiles/test_radial.dir/test.c.o
[ 84%] Building C object examples/CMakeFiles/test_radial.dir/test_radial.c.o
Linking C executable test_radial
[ 84%] Built target test_radial
Scanning dependencies of target test_tiger
[ 87%] Building C object examples/CMakeFiles/test_tiger.dir/test.c.o
[ 90%] Building C object examples/CMakeFiles/test_tiger.dir/test_tiger.c.o
[ 93%] Building C object examples/CMakeFiles/test_tiger.dir/test_tiger_paths.c.o
Linking C executable test_tiger
[ 93%] Built target test_tiger
Scanning dependencies of target test_vgu
[ 96%] Building C object examples/CMakeFiles/test_vgu.dir/test.c.o
[100%] Building C object examples/CMakeFiles/test_vgu.dir/test_vgu.c.o
Linking C executable test_vgu
[100%] Built target test_vgu
Great! Should I resolve this issue now? I'm going to file some more fixes (e.g. bundling of executables for MacOSX) soon though, so keep an eye on the repo.
I think you should keep it open until it is tested on a system where it didn't work before; I only have access to gcc 4.2.1 and clang 4.0 at the moment.
Thanks for doing this and I'll keep an eye on the repo. There should probably be some sort of build directory rather than throwing the library into src.
Well, it's a feature of CMake itself. Basically what you do is:
mkdir build
cd build
cmake .. && make
and the output files will be generated in that directory instead of the source one, however the library stays in src
now because it would recreate the subdirectory structure. This will autofix itself when I add an install
target. Probably there's a way to put it out, but I'm just lazy to do it at the moment, it will all work when I add install
and other targets.
Sounds good!
Just tested the CMake build in a 64-bit Ubuntu VM using gcc 4.7.2. It worked after I did the following:
sudo apt-get install libx11-dev
sudo apt-get install mesa-common-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install cmake
sudo apt-get install freeglut3-dev
sudo apt-get install libjpeg-dev
sudo apt-get install libxmu-dev libxi-dev
sudo apt-get install g++
Note that I also wanted to install GLFW, so I'm not sure if libx11-dev
is strictly necessary. I'm particularly confused by the last one because ShivaVG uses ANSI C rather than C++. Output before sudo apt-get install g++
:
CMake Error: your CXX compiler: "/usr/bin/c++" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Warning at CMakeLists.txt:73 (find_package):
By not providing "FindANSIC.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ANSIC", but
CMake did not find one.
Could not find a package configuration file provided by "ANSIC" with any of
the following names:
ANSICConfig.cmake
ansic-config.cmake
Add the installation prefix of "ANSIC" to CMAKE_PREFIX_PATH or set
"ANSIC_DIR" to a directory containing one of the above files. If "ANSIC"
provides a separate development package or SDK, be sure it has been
installed.
ShivaVG will be compiled with the following example programs
(run (cmake-gui, ccmake or cmake -D<option>) to change selection) :
VGU ON
Dashing ON
Linear Gradient ON
Radial Gradient ON
Path Interpolation ON
Tiger SVG ON
Images ON
Pattern paint ON
Blending ON
Electoro Body ON
-- Configuring incomplete, errors occurred!
Interesting. First of all:
so I'm not sure if
libx11-dev
is strictly necessary
It isn't, really, but glut's dev package should pick it up anyways.
I'm particularly confused by the last one because ShivaVG uses ANSI C rather than C++.
I've blindly copied the code of FindANSIC.cmake from some other library. It must be invoking a C++ compiler at some point. I'll look into it and report back.
Thanks!
I can confirm that it works on 32 bit Ubuntu with gcc 4.6.3 and on 64 bit Ubuntu with gcc 4.7.2.
This can be closed now.
Does it still require a C++ compiler though? I'm opening #10.
Compiling on Ubuntu through the
autogen.sh
,./configure
,make
process doesn't seem to work (although it does work on OSX). I've tried installing every conceivable OpenGL header and development library I could find in Synaptic.I've spent about 5 hours trying to figure out what is wrong. Do you have any suggestions on what to try?
Ubuntu 12.04 LTS 64bit
NVS 3100M/PCIe/SSE2 Driver
I was able to compile and run this demo without any issues: