From: rjtupas01@earthlink.net
To: foser@gentoo.org
Subject: Re: Bug 26363 gtkglarea-1.99.0 configure fails, missing GL headers

Please excuse my first reply. A search of the forums pointed me in the right direction.

TIA,

Randy

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc

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

hostname = Acer.home.org
uname -m = i686
uname -r = 2.4.20
uname -s = Linux
uname -v = #3 Sat Aug 2 02:43:13 HST 2003

/usr/bin/uname -p = Pentium II (Deschutes)
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.2
PATH: /opt/Acrobat5
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jre-1.4.1/bin


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

configure:1425: checking for a BSD-compatible install
configure:1479: result: /bin/install -c
configure:1490: checking whether build environment is sane
configure:1533: result: yes
configure:1566: checking for gawk
configure:1582: found /bin/gawk
configure:1592: result: gawk
configure:1602: checking whether make sets ${MAKE}
configure:1622: result: yes
configure:1673: checking for i686-pc-linux-gnu-strip
configure:1702: result: no
configure:1711: checking for strip
configure:1727: found /usr/bin/strip
configure:1738: result: strip
configure:1769: checking for i686-pc-linux-gnu-gcc
configure:1795: result: gcc
configure:2077: checking for C compiler version
configure:2080: gcc --version </dev/null >&5
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
Copyright (C) 2002 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:2083: $? = 0
configure:2085: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
configure:2088: $? = 0
configure:2090: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2093: $? = 1
configure:2119: checking for C compiler default output
configure:2122: gcc -march=pentium2 -O3 -pipe   conftest.c  >&5
configure:2125: $? = 0
configure:2158: result: a.out
configure:2163: checking whether the C compiler works
configure:2169: ./a.out
configure:2172: $? = 0
configure:2187: result: yes
configure:2194: checking whether we are cross compiling
configure:2196: result: no
configure:2199: checking for suffix of executables
configure:2201: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c  >&5
configure:2204: $? = 0
configure:2226: result: 
configure:2232: checking for suffix of object files
configure:2256: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:2259: $? = 0
configure:2278: result: o
configure:2282: checking whether we are using the GNU C compiler
configure:2309: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:2312: $? = 0
configure:2315: test -s conftest.o
configure:2318: $? = 0
configure:2330: result: yes
configure:2336: checking whether gcc accepts -g
configure:2360: gcc -c -g  conftest.c >&5
configure:2363: $? = 0
configure:2366: test -s conftest.o
configure:2369: $? = 0
configure:2379: result: yes
configure:2406: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2409: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2538: checking for style of include used by make
configure:2566: result: GNU
configure:2594: checking dependency style of gcc
configure:2656: result: gcc3
configure:2666: checking how to run the C preprocessor
configure:2692: gcc -E  conftest.c
configure:2698: $? = 0
configure:2725: gcc -E  conftest.c
configure:2721:28: ac_nonexistent.h: No such file or directory
configure:2731: $? = 1
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2768: result: gcc -E
configure:2783: gcc -E  conftest.c
configure:2789: $? = 0
configure:2816: gcc -E  conftest.c
configure:2812:28: ac_nonexistent.h: No such file or directory
configure:2822: $? = 1
configure: failed program was:
#line 2811 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2933: checking build system type
configure:2951: result: i686-pc-linux-gnu
configure:2959: checking host system type
configure:2973: result: i686-pc-linux-gnu
configure:3003: checking for ld used by GCC
configure:3066: result: /usr/i686-pc-linux-gnu/bin/ld
configure:3075: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld
GNU ld version 2.14.90.0.2 20030515
configure:3087: result: yes
configure:3092: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files
configure:3099: result: -r
configure:3104: checking for BSD-compatible nm
configure:3140: result: nm
configure:3143: checking whether ln -s works
configure:3147: result: yes
configure:3154: checking how to recognise dependant libraries
configure:3332: result: pass_all
configure:3345: checking command to parse nm output
configure:3426: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3429: $? = 0
configure:3433: nm conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:3436: $? = 0
configure:3488: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c conftstm.o >&5
configure:3491: $? = 0
configure:3535: result: ok
configure:3540: checking for ANSI C header files
configure:3554: gcc -E  conftest.c
configure:3560: $? = 0
configure:3645: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c  >&5
configure:3648: $? = 0
configure:3650: ./conftest
configure:3653: $? = 0
configure:3667: result: yes
configure:3691: checking for sys/types.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for sys/stat.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for stdlib.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for string.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for memory.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for strings.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for inttypes.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for stdint.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3691: checking for unistd.h
configure:3704: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3707: $? = 0
configure:3710: test -s conftest.o
configure:3713: $? = 0
configure:3723: result: yes
configure:3749: checking dlfcn.h usability
configure:3758: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:3761: $? = 0
configure:3764: test -s conftest.o
configure:3767: $? = 0
configure:3776: result: yes
configure:3780: checking dlfcn.h presence
configure:3787: gcc -E  conftest.c
configure:3793: $? = 0
configure:3811: result: yes
configure:3829: checking for dlfcn.h
configure:3836: result: yes
configure:3995: checking for i686-pc-linux-gnu-ranlib
configure:4024: result: no
configure:4033: checking for ranlib
configure:4049: found /usr/bin/ranlib
configure:4060: result: ranlib
configure:4075: checking for i686-pc-linux-gnu-strip
configure:4101: result: strip
configure:4351: checking for objdir
configure:4362: result: .libs
configure:4379: checking for gcc option to produce PIC
configure:4529: result: -fPIC
configure:4533: checking if gcc PIC flag -fPIC works
configure:4559: gcc -c -march=pentium2 -O3 -pipe -fPIC -DPIC  conftest.c >&5
configure:4562: $? = 0
configure:4565: test -s conftest.o
configure:4568: $? = 0
configure:4605: result: yes
configure:4621: checking if gcc static flag -static works
configure:4648: gcc -o conftest -march=pentium2 -O3 -pipe   -static conftest.c  >&5
configure:4651: $? = 0
configure:4654: test -s conftest
configure:4657: $? = 0
configure:4672: result: yes
configure:4684: checking if gcc supports -c -o file.o
configure:4706: gcc -c -march=pentium2 -O3 -pipe -o out/conftest2.o  conftest.c >&5
configure:4728: result: yes
configure:4733: checking if gcc supports -c -o file.lo
configure:4763: gcc -c -march=pentium2 -O3 -pipe -c -o conftest.lo  conftest.c >&5
configure:4766: $? = 0
configure:4769: test -s conftest.lo
configure:4772: $? = 0
configure:4793: result: yes
configure:4824: checking if gcc supports -fno-rtti -fno-exceptions
configure:4849: gcc -c -march=pentium2 -O3 -pipe -fno-rtti -fno-exceptions -c conftest.c  conftest.c >&5
configure:4852: $? = 0
configure:4855: test -s conftest.o
configure:4858: $? = 0
configure:4874: result: yes
configure:4885: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries
configure:5565: result: yes
configure:5570: checking how to hardcode library paths into programs
configure:5594: result: immediate
configure:5599: checking whether stripping libraries is possible
configure:5604: result: yes
configure:5615: checking dynamic linker characteristics
configure:6008: result: GNU/Linux ld.so
configure:6013: checking if libtool supports shared libraries
configure:6015: result: yes
configure:6018: checking whether to build shared libraries
configure:6039: result: yes
configure:6042: checking whether to build static libraries
configure:6046: result: yes
configure:6708: checking whether -lc should be explicitly linked in
configure:6716: gcc -c -march=pentium2 -O3 -pipe  conftest.c >&5
configure:6719: $? = 0
configure:6733: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:6736: $? = 0
configure:6749: result: no
configure:7319: checking whether build environment is sane
configure:7362: result: yes
configure:7364: checking whether to enable maintainer-specific portions of Makefiles
configure:7373: result: no
configure:7411: checking for pkg-config
configure:7429: found /usr/bin/pkg-config
configure:7442: result: /usr/bin/pkg-config
configure:7463: checking for GTK+ - version >= 2.0.0
configure:7575: gcc -o conftest -march=pentium2 -O3 -pipe -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     conftest.c -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    >&5
configure:7578: $? = 0
configure:7580: ./conftest
configure:7583: $? = 0
configure:7600: result: yes (version 2.2.1)
configure:7709: checking OpenGL
configure:7731: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lGL >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure:7734: $? = 1
configure: failed program was:
#line 7712 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
 char glBegin(); glBegin();
  ;
  return 0;
}
configure:7749: result: no
configure:7752: checking Mesa
configure:7774: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lMesaGL >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure:7777: $? = 1
configure: failed program was:
#line 7755 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
 char glBegin(); glBegin();
  ;
  return 0;
}
configure:7792: result: no
configure:7796: checking Mesa with pthreads
configure:7818: gcc -o conftest -march=pentium2 -O3 -pipe   conftest.c  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -lMesaGL -lpthread >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure:7821: $? = 1
configure: failed program was:
#line 7799 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
 char glBegin(); glBegin();
  ;
  return 0;
}
configure:7836: result: no
configure:7874: error: You need GL or MesaGL libraries

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=pentium2 -O3 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_archive_cmds_need_lc=no
lt_cv_compiler_c_o=yes
lt_cv_compiler_o_lo=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.2.so'
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/i686-pc-linux-gnu/bin/ld
lt_cv_path_NM=nm
lt_cv_prog_cc_can_build_shared=yes
lt_cv_prog_cc_no_builtin=
lt_cv_prog_cc_pic=' -fPIC'
lt_cv_prog_cc_pic_works=yes
lt_cv_prog_cc_shlib=
lt_cv_prog_cc_static=-static
lt_cv_prog_cc_static_works=yes
lt_cv_prog_cc_wl=-Wl,
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_path_separator=:

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#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

configure: exit 1
