> Hi Douglas,
>
> first I want to thank you for giving a try to ht://Dig 3.2!
>
> Il mer, 2004-01-14 alle 00:57, Douglas Kline ha scritto:
> > Running configure on Version 3.2.0b5 under Solaris 2.8 I'm getting the erro
r
> >
> > configure:22618: error: cannot compute sizeof (unsigned long long int), 77
>
> Mhmmm ... Anyone getting the same error?
>
> Unfortunately I don't have a Solaris and I can't try but on SourceForge
> (where I did not encounter any problem at all with configuration).
>
> Could you please send us the gzipped config.log file?
I did some more investigating and have some results. The error seems to come
from a test of the C code:
/* end confdefs.h. */
$ac_includes_default
long longval () { return (long) (sizeof (unsigned long long int)); }
unsigned long ulongval () { return (long) (sizeof (unsigned long long int)); }
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
exit (1);
if (((long) (sizeof (unsigned long long int))) < 0)
{
long i = longval ();
if (i != ((long) (sizeof (unsigned long long int))))
exit (1);
fprintf (f, "%ld\n", i);
}
else
{
unsigned long i = ulongval ();
if (i != ((long) (sizeof (unsigned long long int))))
exit (1);
fprintf (f, "%lu\n", i);
}
exit (ferror (f) || fclose (f) != 0);
;
return 0;
}
The config.log has the message (also output to standard out):
configure:22618: error: cannot compute sizeof (unsigned long long int), 77
See `config.log' for more details.
The line number 22618 as shown in my display in the configure script
echo "$as_me: program exited with status $ac_status" >&5
isn't a possible source of the error because the variable LINENO isn't in that
line. Therefore I think that the error comes from the line
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long
int), 77
which is 5 lines later. The discrepancy in line nos. probably results from the
use of sub-shells and compound statements which may have caused the shell not
to count some lines. Based on the commands near the beginning of the script,
bash is being called. This is GNU bash, version 2.03.0(1)-release.
These lines are executed if a test of compilation, linkage, and execution of
the above code doesn't succeed. The lines
configure:22600: gcc -o conftest -g -O2 -Wall conftest.c -lz -lnsl -lsocket
-lz >&5
configure:22603: $? = 0
configure:22605: ./conftest
ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory
./configure: line 1: 8886 Killed ./conftest$ac_exeext
show that it failed on execution for lack of the dynamic library libz.so.
I have found such a library but I don't know if the C compiler is looking in
that library directory. Also, there are several tests of similar programs. Do
the others not require this library?
Do you still need the config.log or is this enough information for you?
Thanks very much for your help.
Douglas
========
Douglas Kline
[EMAIL PROTECTED]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general