[BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade

sindi keesan keesan at sdf.lonestar.org
Tue Jan 3 10:47:40 EST 2006


BL2, SW71 egcs 2.91.66, with symlinks to gcc and cc.
full libc6 from SW81 (2.2.25)

Trying to compile netpbm, which requires libtiff, libjpeg, libpng, zlib.

libtiff ./configure says:
/lib/cpp fails sanity check

I don't have any /lib/cpp nor does SW71 MANIFEST.gz.
Does this mean I am missing a package, that is not found in SW71?

I presume cpp is c++, which is related to g++ (gnu c++).

SW71 also has gcc 2.95.2, which has a g++ bug, so I am not using it.
Does egcs have the same bug?

SW81 has a gcc 2.95.3 and a separate gcc-g++-2.95.3
Should I use these instead?


libpng and libjpeg compiled properly

zlib did not
make test (as instructed in the README or INSTALL)
exited with an error message:

In file included from /usr/include/bits/posix1_lim.h:126,
 		from /usr/include/limits.h:144,
 		from 
/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/include/limits.h:117
(two more lines like this)
                 from crc32.c:36
/usr/include/bits/local_lim.h:36 linux/limits.h.  No such file or 
directory.
make: *** [crc32.o] Error 1

Three .h files appear to be looking for a linux/limits.h to which I may 
not have a pointer.  I have several files named limits.h including
/usr/src/linux-2.2.16/include/linux/limits.h

Did I mess up a symlink to the linux/limits.h that it can't find?
(I can't have messed up two badly since libpng and libjpeg did compile).
I just reinstalled linuxinc.tgz which did not help.  Also glibc-2.2.5.

David, which compiler did you use for BL3 netpbm?

keesan at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



More information about the BasLinux mailing list