glib-2.2.1 configure script error



Hello,
  I'm trying to build glib-2.2.1.  The configure
script seems to die with the following error:

checking size of char... configure: error: cannot compute sizeof (char), 77

I'm using Sparc Solaris 8, gcc 3.2.1, libiconv-1.8, & gettext-0.11.5

I believe I've extracted the part that does this check, compiled,
and ran it fine.  It produced a file (conftest.val) with a single
1 inside.

Here's what I extracted and below is my config.log.  Any suggestions would
be great...  Thanks.

Jason

test.c:
long longval () { return (long) (sizeof (char)); }
unsigned long ulongval () { return (long) (sizeof (char)); }

#include <stdio.h>
#include <stdlib.h>
int
main ()
{

  FILE *f = fopen ("conftest.val", "w");
  if (! f)
    exit (1);
  if (((long) (sizeof (char))) < 0)
    {
      long i = longval ();
      if (i != ((long) (sizeof (char))))
        exit (1);
      fprintf (f, "%ld\n", i);
    }
  else
    {
      unsigned long i = ulongval ();
      if (i != ((long) (sizeof (char))))
        exit (1);
      fprintf (f, "%lu\n", i);
    }
  exit (ferror (f) || fclose (f) != 0);

  ;
  return 0;
}




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 configure, which was
generated by GNU Autoconf 2.54.  Invocation command line was

  $ ./configure

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

hostname = ultra
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-17

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = ultra
Release = 5.8
KernelID = Generic_108528-17
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

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

PATH: .
PATH: /export/home/jjrepik
PATH: /export/home/jjrepik/bin
PATH: /usr/local/bin
PATH: /usr/ucb
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/sparc-sun-solaris2.8/bin
PATH: /usr/X11R6/bin
PATH: /usr/openwin/bin
PATH: /export/home/jjrepik/pine/bin
PATH: /export/home/jjrepik/pgp-6.5.8


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

configure:1520: checking for a BSD-compatible install
configure:1574: result: ./install-sh -c
configure:1585: checking whether build environment is sane
configure:1628: result: yes
configure:1643: checking whether make sets ${MAKE}
configure:1663: result: yes
configure:1686: checking for working aclocal-1.4
configure:1697: result: missing
configure:1701: checking for working autoconf
configure:1712: result: missing
configure:1716: checking for working automake-1.4
configure:1727: result: missing
configure:1731: checking for working autoheader
configure:1742: result: missing
configure:1746: checking for working makeinfo
configure:1757: result: missing
configure:1796: checking whether to enable maintainer-specific portions of Makefiles
configure:1805: result: no
configure:1826: checking build system type
configure:1844: result: sparc-sun-solaris2.8
configure:1852: checking host system type
configure:1866: result: sparc-sun-solaris2.8
configure:1875: checking for the BeOS
configure:1885: result: no
configure:1889: checking for Win32
configure:1917: result: no
configure:2041: checking whether to enable garbage collector friendliness
configure:2053: result: no
configure:2057: checking whether to disable memory pools
configure:2060: result: no
configure:2119: checking for gcc
configure:2135: found /usr/local/bin/gcc
configure:2145: result: gcc
configure:2387: checking for C compiler version
configure:2390: gcc --version </dev/null >&5
gcc (GCC) 3.2.1
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:2393: $? = 0
configure:2395: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --with-as=/usr/local/bin/as --with-gnu-as --with-ld=/usr/local/bin/ld --with-gnu-ld
Thread model: posix
gcc version 3.2.1
configure:2398: $? = 0
configure:2400: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2403: $? = 1
configure:2423: checking for C compiler default output
configure:2426: gcc    conftest.c  >&5
configure:2429: $? = 0
configure:2463: result: a.out
configure:2468: checking whether the C compiler works
configure:2474: ./a.out
configure:2477: $? = 0
configure:2492: result: yes
configure:2499: checking whether we are cross compiling
configure:2501: result: no
configure:2504: checking for suffix of executables
configure:2506: gcc -o conftest    conftest.c  >&5
configure:2509: $? = 0
configure:2532: result:
configure:2538: checking for suffix of object files
configure:2556: gcc -c   conftest.c >&5
configure:2559: $? = 0
configure:2578: result: o
configure:2582: checking whether we are using the GNU C compiler
configure:2603: gcc -c   conftest.c >&5
configure:2606: $? = 0
configure:2609: test -s conftest.o
configure:2612: $? = 0
configure:2624: result: yes
configure:2630: checking whether gcc accepts -g
configure:2648: gcc -c -g  conftest.c >&5
configure:2651: $? = 0
configure:2654: test -s conftest.o
configure:2657: $? = 0
configure:2667: result: yes
configure:2684: checking for gcc option to accept ANSI C
configure:2741: gcc  -c -g -O2  conftest.c >&5
configure:2744: $? = 0
configure:2747: test -s conftest.o
configure:2750: $? = 0
configure:2767: result: none needed
configure:2785: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2788: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2891: checking for c++
configure:2907: found /usr/local/bin/c++
configure:2917: result: c++
configure:3030: checking for C++ compiler version
configure:3033: c++ --version </dev/null >&5
c++ (GCC) 3.2.1
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:3036: $? = 0
configure:3038: c++ -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --with-as=/usr/local/bin/as --with-gnu-as --with-ld=/usr/local/bin/ld --with-gnu-ld
Thread model: posix
gcc version 3.2.1
configure:3041: $? = 0
configure:3043: c++ -V </dev/null >&5
c++: argument to `-V' missing

configure:3046: $? = 1
configure:3049: checking whether we are using the GNU C++ compiler
configure:3070: c++ -c   conftest.cc >&5
configure:3073: $? = 0
configure:3076: test -s conftest.o
configure:3079: $? = 0
configure:3091: result: yes
configure:3097: checking whether c++ accepts -g
configure:3115: c++ -c -g  conftest.cc >&5
configure:3118: $? = 0
configure:3121: test -s conftest.o
configure:3124: $? = 0
configure:3134: result: yes
configure:3174: c++ -c -g -O2  conftest.cc >&5
configure:3177: $? = 0
configure:3180: test -s conftest.o
configure:3183: $? = 0
configure:3205: c++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:3197: `exit' undeclared (first use this function)
configure:3197: (Each undeclared identifier is reported only once for each
   function it appears in.)
configure:3208: $? = 1
configure: failed program was:
#line 3192 "configure"
#include "confdefs.h"

int
main ()
{
exit (42);
  ;
  return 0;
}
configure:3174: c++ -c -g -O2  conftest.cc >&5
configure:3177: $? = 0
configure:3180: test -s conftest.o
configure:3183: $? = 0
configure:3205: c++ -c -g -O2  conftest.cc >&5
configure:3208: $? = 0
configure:3211: test -s conftest.o
configure:3214: $? = 0
configure:3250: c++ -c -g -O2  conftest.cc >&5
configure:3253: $? = 0
configure:3256: test -s conftest.o
configure:3259: $? = 0
configure:3288: checking for gcc option to accept ANSI C
configure:3347: gcc  -c -g -O2  conftest.c >&5
configure:3350: $? = 0
configure:3353: test -s conftest.o
configure:3356: $? = 0
configure:3370: result: none needed
configure:3393: checking for a BSD-compatible install
configure:3447: result: ./install-sh -c
configure:3466: checking for special C compiler options needed for large files
configure:3540: result: no
configure:3546: checking for _FILE_OFFSET_BITS value needed for large files
configure:3574: gcc -c -g -O2  conftest.c >&5
configure:3560: warning: left shift count >= width of type
configure:3560: warning: left shift count >= width of type
configure:3562: size of array `off_t_is_large' is negative
configure:3577: $? = 1
configure: failed program was:
#line 3553 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
int
main ()
{

  ;
  return 0;
}
configure:3613: gcc -c -g -O2  conftest.c >&5
configure:3616: $? = 0
configure:3619: test -s conftest.o
configure:3622: $? = 0
configure:3633: result: 64
configure:3643: checking for _LARGE_FILES value needed for large files
configure:3671: gcc -c -g -O2  conftest.c >&5
configure:3674: $? = 0
configure:3677: test -s conftest.o
configure:3680: $? = 0
configure:3730: result: no
configure:3748: checking for pkg-config
configure:3766: found /usr/local/bin/pkg-config
configure:3779: result: /usr/local/bin/pkg-config
configure:3870: checking for gawk
configure:3899: result: no
configure:3870: checking for mawk
configure:3899: result: no
configure:3870: checking for nawk
configure:3886: found /usr/bin/nawk
configure:3896: result: nawk
configure:3910: checking for perl5
configure:3939: result: no
configure:3910: checking for perl
configure:3926: found /usr/bin/perl
configure:3936: result: perl
configure:3949: checking for indent
configure:3978: result: no
configure:3996: checking for perl
configure:4014: found /usr/bin/perl
configure:4026: result: /usr/bin/perl
configure:4052: checking for iconv_open
configure:4089: gcc -o conftest -g -O2   conftest.c  >&5
configure:4092: $? = 0
configure:4095: test -s conftest
configure:4098: $? = 0
configure:4108: result: yes
configure:4416: checking how to run the C preprocessor
configure:4442: gcc -E  conftest.c
configure:4448: $? = 0
configure:4475: gcc -E  conftest.c
configure:4471:28: ac_nonexistent.h: No such file or directory
configure:4481: $? = 1
configure: failed program was:
#line 4470 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:4518: result: gcc -E
configure:4533: gcc -E  conftest.c
configure:4539: $? = 0
configure:4566: gcc -E  conftest.c
configure:4562:28: ac_nonexistent.h: No such file or directory
configure:4572: $? = 1
configure: failed program was:
#line 4561 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:4612: checking for egrep
configure:4622: result: egrep
configure:4627: checking for ANSI C header files
configure:4641: gcc -E  conftest.c
configure:4647: $? = 0
configure:4732: gcc -o conftest -g -O2   conftest.c  >&5
configure:4735: $? = 0
configure:4737: ./conftest
configure:4740: $? = 0
configure:4754: result: yes
configure:4778: checking for sys/types.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for sys/stat.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for stdlib.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for string.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for memory.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for strings.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for inttypes.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4778: checking for stdint.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4819:20: stdint.h: No such file or directory
configure:4794: $? = 1
configure: failed program was:
#line 4783 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:4810: result: no
configure:4778: checking for unistd.h
configure:4791: gcc -c -g -O2  conftest.c >&5
configure:4794: $? = 0
configure:4797: test -s conftest.o
configure:4800: $? = 0
configure:4810: result: yes
configure:4837: checking locale.h usability
configure:4846: gcc -c -g -O2  conftest.c >&5
configure:4849: $? = 0
configure:4852: test -s conftest.o
configure:4855: $? = 0
configure:4864: result: yes
configure:4868: checking locale.h presence
configure:4875: gcc -E  conftest.c
configure:4881: $? = 0
configure:4899: result: yes
configure:4917: checking for locale.h
configure:4924: result: yes
configure:4938: checking for LC_MESSAGES
configure:4956: gcc -o conftest -g -O2   conftest.c  >&5
configure:4959: $? = 0
configure:4962: test -s conftest
configure:4965: $? = 0
configure:4975: result: yes
configure:5004: checking libintl.h usability
configure:5013: gcc -c -g -O2  conftest.c >&5
configure:5016: $? = 0
configure:5019: test -s conftest.o
configure:5022: $? = 0
configure:5031: result: yes
configure:5035: checking libintl.h presence
configure:5042: gcc -E  conftest.c
configure:5048: $? = 0
configure:5066: result: yes
configure:5084: checking for libintl.h
configure:5091: result: yes
configure:5102: checking for dgettext in libc
configure:5122: gcc -o conftest -g -O2   conftest.c  >&5
/var/tmp//ccaKkzKV.o: In function `main':
/export/home/jjrepik/glib-2.2.1/configure:5114: undefined reference to `libintl_dgettext'
collect2: ld returned 1 exit status
configure:5125: $? = 1
configure: failed program was:
#line 5107 "configure"
#include "confdefs.h"

#include <libintl.h>

int
main ()
{
return (int) dgettext ("","")
  ;
  return 0;
}
configure:5142: result: no
configure:5224: checking for bindtextdomain in -lintl
configure:5251: gcc -o conftest -g -O2   conftest.c -lintl   >&5
configure:5254: $? = 0
configure:5257: test -s conftest
configure:5260: $? = 0
configure:5271: result: yes
configure:5274: checking for dgettext in -lintl
configure:5301: gcc -o conftest -g -O2   conftest.c -lintl   >&5
configure:5304: $? = 0
configure:5307: test -s conftest
configure:5310: $? = 0
configure:5321: result: yes
configure:5406: checking for bind_textdomain_codeset
configure:5443: gcc -o conftest -g -O2   conftest.c  -lintl  >&5
configure:5446: $? = 0
configure:5449: test -s conftest
configure:5452: $? = 0
configure:5462: result: yes
configure:5501: checking for msgfmt
configure:5528: result: /usr/local/bin/msgfmt
configure:5539: checking for dcgettext
configure:5576: gcc -o conftest -g -O2   conftest.c  >&5
configure:5579: $? = 0
configure:5582: test -s conftest
configure:5585: $? = 0
configure:5595: result: yes
configure:5607: checking for gmsgfmt
configure:5638: result: /usr/local/bin/msgfmt
configure:5647: checking for xgettext
configure:5674: result: /usr/local/bin/xgettext
configure:5695: gcc -o conftest -g -O2   conftest.c  >&5
/var/tmp//ccCeHj9K.o: In function `main':
/export/home/jjrepik/glib-2.2.1/configure:5687: undefined reference to `_nl_msg_cat_cntr'
/export/home/jjrepik/glib-2.2.1/configure:5687: undefined reference to `_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure:5698: $? = 1
configure: failed program was:
#line 5681 "configure"
#include "confdefs.h"

int
main ()
{
extern int _nl_msg_cat_cntr;
			 return _nl_msg_cat_cntr
  ;
  return 0;
}
configure:5770: checking for catalogs to be installed
configure:5779: result:  am az be bg bn ca cs da de el es et eu fi fr gl hi ja ko mn ms nl nn no pl pt pt_BR ro ru sk sl sq sv ta tr uk vi zh_CN zh_TW
configure:5964: checking for ld used by GCC
configure:6027: result: /usr/local/bin/ld
configure:6036: checking if the linker (/usr/local/bin/ld) is GNU ld
GNU ld version 2.13.2.1
configure:6048: result: yes
configure:6053: checking for /usr/local/bin/ld option to reload object files
configure:6060: result: -r
configure:6065: checking for BSD-compatible nm
configure:6101: result: /usr/local/bin/nm -B
configure:6104: checking for a sed that does not truncate output
configure:6186: result: /usr/xpg4/bin/sed
configure:6189: checking whether ln -s works
configure:6193: result: yes
configure:6200: checking how to recognise dependent libraries
configure:6381: result: pass_all
configure:6392: checking command to parse /usr/local/bin/nm -B output
configure:6476: gcc -c -g -O2  conftest.c >&5
configure:6479: $? = 0
configure:6483: /usr/local/bin/nm -B conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:6486: $? = 0
configure:6538: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:6541: $? = 0
configure:6585: result: ok
configure:6603: checking dlfcn.h usability
configure:6612: gcc -c -g -O2  conftest.c >&5
configure:6615: $? = 0
configure:6618: test -s conftest.o
configure:6621: $? = 0
configure:6630: result: yes
configure:6634: checking dlfcn.h presence
configure:6641: gcc -E  conftest.c
configure:6647: $? = 0
configure:6665: result: yes
configure:6683: checking for dlfcn.h
configure:6690: result: yes
configure:6888: checking for ranlib
configure:6904: found /usr/local/bin/ranlib
configure:6915: result: ranlib
configure:6968: checking for strip
configure:6984: found /usr/local/bin/strip
configure:6995: result: strip
configure:7200: checking for objdir
configure:7211: result: .libs
configure:7228: checking for gcc option to produce PIC
configure:7374: result: -fPIC
configure:7378: checking if gcc PIC flag -fPIC works
configure:7398: gcc -c -g -O2 -fPIC -DPIC  conftest.c >&5
configure:7401: $? = 0
configure:7404: test -s conftest.o
configure:7407: $? = 0
configure:7444: result: yes
configure:7460: checking if gcc static flag -static works
configure:7481: gcc -o conftest -g -O2   -static conftest.c -lintl   >&5
configure:7484: $? = 0
configure:7487: test -s conftest
configure:7490: $? = 0
configure:7505: result: yes
configure:7517: checking if gcc supports -c -o file.o
configure:7539: gcc -c -g -O2 -o out/conftest2.o  conftest.c >&5
configure:7561: result: yes
configure:7566: checking if gcc supports -c -o file.lo
configure:7590: gcc -c -g -O2 -c -o conftest.lo  conftest.c >&5
configure:7593: $? = 0
configure:7596: test -s conftest.lo
configure:7599: $? = 0
configure:7620: result: yes
configure:7651: checking if gcc supports -fno-rtti -fno-exceptions
configure:7670: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c >&5
configure:7673: $? = 0
configure:7676: test -s conftest.o
configure:7679: $? = 0
configure:7695: result: yes
configure:7706: checking whether the linker (/usr/local/bin/ld) supports shared libraries
configure:8425: result: yes
configure:8430: checking how to hardcode library paths into programs
configure:8454: result: immediate
configure:8459: checking whether stripping libraries is possible
configure:8464: result: yes
configure:8475: checking dynamic linker characteristics
configure:8906: result: solaris2.8 ld.so
configure:8911: checking if libtool supports shared libraries
configure:8913: result: yes
configure:8916: checking whether to build shared libraries
configure:8937: result: yes
configure:8940: checking whether to build static libraries
configure:8944: result: no
configure:9570: checking whether -lc should be explicitly linked in
configure:9578: gcc -c -g -O2  conftest.c >&5
configure:9581: $? = 0
configure:9595: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:9598: $? = 1
configure:9611: result: yes
configure:10205: checking for extra flags to get ANSI library prototypes
configure:10221: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   -lm >&5
configure:10224: $? = 0
configure:10226: ./conftest
ld.so.1: ./conftest: fatal: libintl.so.2: open failed: No such file or directory
./configure: line 1:  7522 Killed                  ./conftest$ac_exeext
configure:10229: $? = 137
configure: program exited with status 137
configure: failed program was:
#line 10214 "configure"
#include "confdefs.h"
#include <math.h>
		 int main (void) { return (log(1) != log(1.)); }
configure:10252: gcc -o conftest -g -O2 -Wall -std1   conftest.c -lintl   -lm >&5
cc1: unrecognized option `-std1'
configure:10255: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 10245 "configure"
#include "confdefs.h"
#include <math.h>
		     int main (void) { return (log(1) != log(1.)); }
configure:10269: result:
configure:10272: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)
configure:10285: checking for extra flags for POSIX compliance
configure:10300: gcc -c -g -O2 -Wall  conftest.c >&5
configure: In function `main':
configure:10292: warning: unused variable `dir'
configure:10303: $? = 0
configure:10306: test -s conftest.o
configure:10309: $? = 0
configure:10311: result: none needed
configure:10358: checking for ANSI C header files
configure:10485: result: yes
configure:10501: checking for vprintf
configure:10538: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure:10541: $? = 0
configure:10544: test -s conftest
configure:10547: $? = 0
configure:10557: result: yes
configure:10564: checking for _doprnt
configure:10601: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure:10604: $? = 0
configure:10607: test -s conftest
configure:10610: $? = 0
configure:10620: result: yes
configure:10637: checking for working alloca.h
configure:10655: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure: In function `main':
configure:10647: warning: unused variable `p'
configure:10658: $? = 0
configure:10661: test -s conftest
configure:10664: $? = 0
configure:10674: result: yes
configure:10684: checking for alloca
configure:10722: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure: In function `main':
configure:10714: warning: unused variable `p'
configure:10725: $? = 0
configure:10728: test -s conftest
configure:10731: $? = 0
configure:10741: result: yes
configure:10931: checking for atexit
configure:10968: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure:10971: $? = 0
configure:10974: test -s conftest
configure:10977: $? = 0
configure:10987: result: yes
configure:10931: checking for on_exit
configure:10968: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
/var/tmp//ccP0V18i.o: In function `main':
/export/home/jjrepik/glib-2.2.1/configure:10958: undefined reference to `on_exit'
/export/home/jjrepik/glib-2.2.1/configure:10958: undefined reference to `on_exit'
collect2: ld returned 1 exit status
configure:10971: $? = 1
configure: failed program was:
#line 10936 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char on_exit (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char on_exit ();
char (*f) ();

int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_on_exit) || defined (__stub___on_exit)
choke me
#else
f = on_exit;
#endif

  ;
  return 0;
}
configure:10987: result: no
configure:10998: checking for char
configure:11019: gcc -c -g -O2 -Wall  conftest.c >&5
configure:11022: $? = 0
configure:11025: test -s conftest.o
configure:11028: $? = 0
configure:11038: result: yes
configure:11041: checking size of char
configure:11283: gcc -o conftest -g -O2 -Wall   conftest.c -lintl   >&5
configure:11286: $? = 0
configure:11288: ./conftest
ld.so.1: ./conftest: fatal: libintl.so.2: open failed: No such file or directory
./configure: line 1:  7685 Killed                  ./conftest$ac_exeext
configure:11291: $? = 137
configure: program exited with status 137
configure: failed program was:
#line 11247 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
long longval () { return (long) (sizeof (char)); }
unsigned long ulongval () { return (long) (sizeof (char)); }
#include <stdio.h>
#include <stdlib.h>
int
main ()
{

  FILE *f = fopen ("conftest.val", "w");
  if (! f)
    exit (1);
  if (((long) (sizeof (char))) < 0)
    {
      long i = longval ();
      if (i != ((long) (sizeof (char))))
	exit (1);
      fprintf (f, "%ld\n", i);
    }
  else
    {
      unsigned long i = ulongval ();
      if (i != ((long) (sizeof (char))))
	exit (1);
      fprintf (f, "%lu\n", i);
    }
  exit (ferror (f) || fclose (f) != 0);

  ;
  return 0;
}
configure:11299: error: cannot compute sizeof (char), 77

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

ac_cv_build=sparc-sun-solaris2.8
ac_cv_build_alias=sparc-sun-solaris2.8
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func__doprnt=yes
ac_cv_func_alloca_works=yes
ac_cv_func_atexit=yes
ac_cv_func_bind_textdomain_codeset=yes
ac_cv_func_dcgettext=yes
ac_cv_func_iconv_open=yes
ac_cv_func_on_exit=no
ac_cv_func_vprintf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libintl_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
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=sparc-sun-solaris2.8
ac_cv_host_alias=sparc-sun-solaris2.8
ac_cv_lib_intl_bindtextdomain=yes
ac_cv_lib_intl_dgettext=yes
ac_cv_objext=o
ac_cv_path_GMSGFMT=/usr/local/bin/msgfmt
ac_cv_path_MSGFMT=/usr/local/bin/msgfmt
ac_cv_path_PERL_PATH=/usr/bin/perl
ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_XGETTEXT=/usr/local/bin/xgettext
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXX=c++
ac_cv_prog_PERL=perl
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep=egrep
ac_cv_prog_make_make_set=yes
ac_cv_sys_file_offset_bits=64
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
ac_cv_type_char=yes
ac_cv_working_alloca_h=yes
am_cv_prog_cc_stdc=
am_cv_val_LC_MESSAGES=yes
gt_cv_func_dgettext_libc=no
gt_cv_func_dgettext_libintl=yes
gt_cv_have_gettext=yes
lt_cv_archive_cmds_need_lc=yes
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
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/local/bin/ld
lt_cv_path_NM='/usr/local/bin/nm -B'
lt_cv_path_SED=/usr/xpg4/bin/sed
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/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''

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

ACLOCAL='/export/home/jjrepik/glib-2.2.1/missing aclocal-1.4'
ALLOCA=''
AUTOCONF='/export/home/jjrepik/glib-2.2.1/missing autoconf'
AUTOHEADER='/export/home/jjrepik/glib-2.2.1/missing autoheader'
AUTOMAKE='/export/home/jjrepik/glib-2.2.1/missing automake-1.4'
AWK='nawk'
CATALOGS=' am.mo az.mo be.mo bg.mo bn.mo ca.mo cs.mo da.mo de.mo el.mo es.mo et.mo eu.mo fi.mo fr.mo gl.mo hi.mo ja.mo ko.mo mn.mo ms.mo nl.mo nn.mo no.mo pl.mo pt.mo pt_BR.mo ro.mo ru.mo sk.mo sl.mo sq.mo sv.mo ta.mo tr.mo uk.mo vi.mo zh_CN.mo zh_TW.mo'
CATOBJEXT='.mo'
CC='gcc'
CFLAGS='-g -O2 -Wall'
CPP='gcc -E'
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='c++'
CXXFLAGS='-g -O2'
DATADIRNAME='lib'
DB2HTML=''
DEFS=''
DISABLE_MEM_POOLS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='egrep'
ENABLE_GC_FRIENDLY=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
GETTEXT_PACKAGE='glib20'
GIO=''
GLIBC21=''
GLIB_BINARY_AGE='201'
GLIB_DEBUG_FLAGS='-DG_DISABLE_CAST_CHECKS'
GLIB_DEF=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='1'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='1'
GLIB_MINOR_VERSION='2'
GLIB_VERSION='2.2.1'
GMODULE_DEF=''
GMOFILES=' am.gmo az.gmo be.gmo bg.gmo bn.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo gl.gmo hi.gmo ja.gmo ko.gmo mn.gmo ms.gmo nl.gmo nn.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sq.gmo sv.gmo ta.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo'
GMSGFMT='/usr/local/bin/msgfmt'
GOBJECT_DEF=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTHREAD_DEF=''
GTKDOC=''
G_LIBS_EXTRA=''
G_LIB_WIN32_RESOURCE=''
G_MODULE_BROKEN_RTLD_GLOBAL=''
G_MODULE_HAVE_DLERROR=''
G_MODULE_IMPL=''
G_MODULE_LDFLAGS=''
G_MODULE_LIBS=''
G_MODULE_LIBS_EXTRA=''
G_MODULE_NEED_USCORE=''
G_MODULE_PLUGIN_LIBS=''
G_MODULE_SUPPORTED=''
G_MODULE_WIN32_RESOURCE=''
G_OBJECT_WIN32_RESOURCE=''
G_THREAD_CFLAGS=''
G_THREAD_LIBS=''
G_THREAD_LIBS_EXTRA=''
G_THREAD_LIBS_FOR_GTHREAD=''
G_THREAD_WIN32_RESOURCE=''
HAVE_CXX_FALSE='#'
HAVE_CXX_TRUE=''
HAVE_DOCBOOK_FALSE=''
HAVE_DOCBOOK_TRUE=''
HAVE_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HAVE_GTK_DOC=''
HAVE_GTK_DOC_FALSE=''
HAVE_GTK_DOC_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTOBJEXT='.mo'
INTLLIBS='-lintl '
LDFLAGS=''
LIBOBJS=''
LIBS='-lintl  '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE='200'
LT_CURRENT='200'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.2'
LT_REVISION='1'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/export/home/jjrepik/glib-2.2.1/missing makeinfo'
MKINSTALLDIRS='./mkinstalldirs'
MSGFMT='/usr/local/bin/msgfmt'
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE='#'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
PACKAGE='glib'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL='perl'
PERL_PATH='/usr/bin/perl'
PKG_CONFIG='/usr/local/bin/pkg-config'
PLATFORMDEP=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=' am.po az.po be.po bg.po bn.po ca.po cs.po da.po de.po el.po es.po et.po eu.po fi.po fr.po gl.po hi.po ja.po ko.po mn.po ms.po nl.po nn.po no.po pl.po pt.po pt_BR.po ro.po ru.po sk.po sl.po sq.po sv.po ta.po tr.po uk.po vi.po zh_CN.po zh_TW.po'
POSUB='po'
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB='ranlib'
REBUILD=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
STRIP_BEGIN=''
STRIP_DUMMY=''
STRIP_END=''
TESTGMODULE_EXP=''
TRIO_LIBS=''
USE_NLS='yes'
VERSION='2.2.1'
XGETTEXT='/usr/local/bin/xgettext'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
bindir='${exec_prefix}/bin'
build='sparc-sun-solaris2.8'
build_alias=''
build_cpu='sparc'
build_os='solaris2.8'
build_vendor='sun'
datadir='${prefix}/share'
exec_prefix='NONE'
host='sparc-sun-solaris2.8'
host_alias=''
host_cpu='sparc'
host_os='solaris2.8'
host_vendor='sun'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
ms_librarian=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define ENABLE_NLS 1
#define GETTEXT_PACKAGE "glib20"
#define GLIB_BINARY_AGE 201
#define GLIB_INTERFACE_AGE 1
#define GLIB_LOCALE_DIR "NONE/lib/locale"
#define GLIB_MAJOR_VERSION 2
#define GLIB_MICRO_VERSION 1
#define GLIB_MINOR_VERSION 2
#define G_COMPILED_WITH_DEBUGGING "minimum"
#define HAVE_ALLOCA 1
#define HAVE_ALLOCA_H 1
#define HAVE_ATEXIT 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DCGETTEXT 1
#define HAVE_DLFCN_H 1
#define HAVE_DOPRNT 1
#define HAVE_GETTEXT 1
#define HAVE_INTTYPES_H 1
#define HAVE_LC_MESSAGES 1
#define HAVE_LOCALE_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VPRINTF 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define _FILE_OFFSET_BITS 64
#endif
#ifdef __cplusplus
#include <stdlib.h>

configure: exit 1







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]