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: David Moberg <davidjmoberg AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] /lib/cpp error compiling in BL2 with libc-2.2.5 upgrade
  • Date: Tue, 3 Jan 2006 15:27:06 -0800

sindi keesan wrote:

> > Just execute:
> > ln -sf /usr/bin/cpp /lib/cpp

> What normally makes this link?

Usually, the doinst.sh script that comes with the package.

> C preprocessor /lib/cpp fails sanity check.
>
> Netpbm will not compile properly on 2.95.6, says the README,

I didn't know that 2.95.6 existed. Maybe it is even better than
2.95.3 for certain source code?

> I did not have any /usr/include/linux to remove. What package normally
> makes this link, which I probably broke at one point trying to shrink
> glibc?

linuxinc is supposed to put the headers in /usr/include/linux. Where
did your copy put them?

> > Now set up a new symlink:
> >
> > ln -s /usr/src/linux-2.2.16/include/linux /usr/include/linux
>
> Could I instead of rm -rf and ln -s, just ln -sf?

Maybe. I'm not sure what this will do if /usr/include/linux is a
directory.

> I have a /usr/lib/libz.so.1.1.3 to which is symlinked libz.so.1 (it was
> not removed for some reason) and there is no libz.so.1.2.3 anywhere on my
> computer, including the directory where I just compiled libz. I think the
> libz people are assuming you have a more recent linux that comes with this
> file, instead of providing it for you to compile.

You should be able to compile it. Maybe there is a configuration file that
you can edit to build the shared library?

> I would rather provide a package with the .so libraries since they are
> also used by other programs (such as zgv and delilinux links2 with svgalib
> support, but the BL3 links2 is statically compiled; so is ghostscript, I
> think).
>
> libz.so.1.2.3 ?60-70K libz.a 79K
> WHERE DO I FIND THIS? I could compile statically with libz.a since
> it is small, I guess.
>

Are you using SW81 development libraries? You should get libraries
and library source code from SW81. The netpbm programs will then
probably not work on a stock BL2.

Use SW71 instead for BL2 binaries.

> I have the version you made for BL3 already, and have not run into any
> programs I want that are not in there. Do you recall which ones would not
> compile?

There are too many to list.

David




Archive powered by MHonArc 2.6.24.

Top of Page