Skip to Content.
Sympa Menu

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

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
  • Date: Thu, 5 Jan 2006 19:25:25 +0000 (UTC)

linux-headers is specific to the kernel so I just installed make and binutils from Slackware 8.1

This did not fix the problem with compiling libtiff.
But netpbm statrrted to compile. It exited after not finding a tiff header file so I ran make -k and that worked, sort of.

The programs that I compiled all produced only Segmentation fault, and ldd reveals that they need ld-linux 2, libm 6, libc 6 and also libc 5.


I will ask netpbm's maintainer what to do when I have two libc's, because the configure program does not seem to deal properly with this. He already edited his configure.pl to look for libvga.so also in /usr/lib - apparently other linuxes don't use that location.

I have libc.so.5 in BL2 in order to run David's netpbm for BL3.
If I can get libtiff and netpbm compiled for BL2 I can delete it.
I could rename it temporarily and try again to compile.

On Thu, 5 Jan 2006, sindi keesan wrote:

Would it help in compiling libtiff and netpbm if I upgraded the compiler
by replacing the SW71 packages with SW81 packages as follows?

glibc-2.1.3 > glibc-2.2.5 and cxxlibs
I think libtiff source code uses C++.

egcs-1.99.6 > gcc-2.95.3 and gcc-g++-2.95.3
This fixed the cpp sanity failure problem for libtiff.

gmake > make
This is small even if not needed.

binutils > newer binutils
Much larger but includes Assembler needed by netpbm.

linuxinc > kernel-headers
Would this fix the libtiff problem below?

I briefly considered compiling the latest 'as' but it only seems to come
in the binutils source code package, which is up to around 15MB now.

On Thu, 5 Jan 2006, sindi keesan wrote:

David, I could not compile libtiff.

I have SW71 /usr/lib/libtiff.so.3.4 (libc6) and the /usr/local/lib/
libtiff.so.3.6.1 that you compiled for libc5 and I need to use a script
that you helped with to distinguish between them. (I presume the lib in
/usr/local/lib is read first). Luckily I rarely get tiffs sent to me and
when I do I tackle them with the libc5 version (netpbm converts to pnm).

I think I can specify in the Makefile.config to use the earlier, libc6
version, but it might not handle multipage tiffs.

How did you compile libtiff? tiff_dirread.c gave me problems.

Sindi
keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux


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




Archive powered by MHonArc 2.6.24.

Top of Page