3.0pre2 won't build from source on SuSE 6.4

Ned Konz ned at bike-nomad.com
Thu May 10 19:52:04 UTC 2001


On Thursday 10 May 2001 12:30, John Hinsley wrote:
> OK with a fresh tarball I'm trying again. Configure goes fine. Make
> falls over with:
>
> //snipped!//
>
> In file included from /usr/include/bits/posix1_lim.h:126,
>                  from /usr/include/limits.h:30,
>                  from
> /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/limits.h:117,
>                  from
> /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/syslimits.h:7,
>                  from
> /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include/limits.h:11,
>                  from /usr/include/sys/param.h:23,
>                  from ../src/unix/sqUnixExternalPrims.c:52:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
> directory
> In file included from ../src/unix/sqUnixExternalPrims.c:52:
> /usr/include/sys/param.h:24: linux/limits.h: No such file or directory
> /usr/include/sys/param.h:25: linux/param.h: No such file or directory
> make: *** [sqUnixExternalPrims.o] Error 1
>
> It looks like I'm missing something ;-)  the question is, *what*?
> Without knowing exactly what libraries are presupposed, or what glibc
> version Ian's build is pointed at, or whether it expects stuff in
> (relatively) standards compliant places or the wierd Harold places
> RedHat puts stuff, I can't see a way forward.

This isn't a problem with Squeak.

You can't even compile this C program, I'll bet:

#include <limits.h>
void main(int argc, char **argv) { }

The problem is that your includes are screwed up, or that you don't have the 
kernel includes or sources.

If you install the kernel-headers RPM you may have better luck (this is where 
my original /usr/include/linux/limits.h  came from). Or if you have the 
kernel sources you could try symlinking /usr/include/linux from 
/usr/src/linuxXXX/include .

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list