Re: Trying to configure/compile glib-2.0.6
- From: Paul Thomas <paul cuenet com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-list gnome org
- Subject: Re: Trying to configure/compile glib-2.0.6
- Date: Mon, 14 Oct 2002 09:03:45 -0700 (PDT)
I'm just able to get back to this.
On Wed, 9 Oct 2002, Owen Taylor wrote:
>
> Paul Thomas <paul cuenet com> writes:
>
> > I got through my other hoops but while tyring to ./configure
> > on my Linux box (older install), the configure script gets
> > to this point then quits:
> >
> > checking for working alloca.h... (cached) yes
> > checking for alloca... (cached) yes
> > checking for atexit... yes
> > checking for on_exit... yes
> > checking for char... yes
> > checking size of char... configure: error: cannot compute sizeof (char), 77
> >
> >
> > Anyone know what I might need to address to 'compute sizeof (char)'?
>
> Look at config.log - you'll have some sort of compiler error
> in there related to this.
>
> Regards,
> Owen
Yes, well there is in config.log:
configure:12222: checking size of char
configure:12527: gcc -o conftest -g -O2 -Wall conftest.c -liconv
-lintl -lico
nv >&5
configure:12527: $? = 0
configure:12527: ./conftest
./conftest: can't load library 'libiconv.so.2'
configure:12527: $? = 16
configure: program exited with status 16
configure: failed program was:
skip commented includes
long longval () { return (long) (sizeof (char)); }
unsigned long ulongval () { return (long) (sizeof (char)); }
skip commented includes
extern "C"
skip comment
int F77_DUMMY_MAIN() { return 1; }
skip comment
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, "%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:12527: error: cannot compute sizeof (char), 77
I don't know why:
configure:12527: ./conftest
./conftest: can't load library 'libiconv.so.2'
is happening as 'libiconv.so.2' is right here:
/usr/local/lib/libiconv.so.2
freshly installed from:
/var/local/src/libiconv-1.8/
Any comments appreciated.
Thanks,
--Paul
--
William J. Broad: "The crux... is that the vast majority of the mass
of the universe seems to be missing."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]