Bryan Loniewski brylon@jla.rutgers.edu writes:
Hi,
I'm trying to build lsh-1.4.3 on Solaris 9 sparc 64. I'm failing during the configure script with the error:
"checking size of short... configure: error: cannot compute sizeof (short), 77"
This seems rather weird. Could you send me the relevant extract from config.log? (Or if you're not certain, the whole file).
Also details on what compiler and linker you are using and so on would be helpful (if not visible in the config.log extract).
When I check the config.log for more details I notice the additional error:
ld: fatal: library -lutil: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status
and this is true I don't have the libutil library. Do I really need this library, and if so, is building glibc the only way to get it? I tried taking out the library and the function openpty is what's needed. Are there other workarounds?
This shouldn't be a problem, you're seeing this because the configure script checks for openpty in libutil (the need for which seems to be obsoleted now, but it shouldn't cause you any problems anyway, AFAICT).
I've noticed some Solaris questions on the mailing list, and none dealing with the configure step, how did you guys get past it?
Chances are that you're seeing a problem we haven't seen before.
Regards
/Pontus