Skip to Content.
Sympa Menu

baslinux - Re: BL streaming MP3, was Re: [BL] Re: broken windows needs replacing

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 streaming MP3, was Re: [BL] Re: broken windows needs replacing
  • Date: Mon, 25 Apr 2005 01:10:15 +0000 (UTC)

On Sun, 24 Apr 2005, David Moberg wrote:

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

The new glibc is needed for opera, lynx, and xpdf, but they don't
need a new libz or libpng. They seem to work fine with the old
ones. But it is probably easier to compile dynamically and not
worry about BL3.

Or fully static.

For that would I have to compile libz and libpng myself?

No. You just need the static versions of libz and png (libz.a, libpng.a).

I have libz.a and can get libpng.a from some SW package (where I got libpng.so for links2). What is lib*_p.a?

I had to compile libz in order to compile lynx statically (the package from
SW71 may not have included the .a file,

It's found in the development packages, not the standard library ones.

or else I was supposed to
be using the latest version of libz).

libz hasn't changed much. Most programs shouldn't need a specific version.

I was told to compile a recent version for lynx - probably by a perfectionist.



I also had to compile
open-ssl and ncurses and everything kept going wrong so I think
dynamic compilation would avoid a lot of problems. But I will
compile any way you advise if you want to drag me through it. How
much larger would it be to make it static with regard to libc?

Depends on the libc. For libc5, hello world grows by 100 KB if you
link it statically. uClibc is much better. The BusyBox fbset which
I made was only 40-50 KB total. Full-size glibc expands it by 500-
1000 KB.

I think I will NOT compile statically with libc - people can add another libc if they want to use my package (2.1.3 to BL3). What does glibc put in to make things so big? This reminds me of Microsoft.

But since tiffs are so rare, it is not as much of a bother to switch
libraries temporarily, is it?

Do you think I should advise switching libraries? Someone who
knows how to do that might also know how to compile this for
themself. A beginner, on the other hand, could make a real mess of
things. I have often done that.

You can always reinstall. It's not hard to download either a pristine
BL2 or BL3, on which the tiff programs work perfectly. Since tiffs are
so rare, downloading this is not very much of a bother. The user
probably already has it, anyway, if they're using BL2.

I have far too much added to BL2 to want to reinstall it. I utterly botched it once already trying to use glibc-so.2.2.5 with the main glibc 2.1.3 for compiling with. All sorts of things stopped working, including ar and the compiler. I had to start over. I wanted to use opera with 2.2.5 but keep compiling with 2.1.3 so others could use the results. I tried to downgrade back to 2.1.3 and could not manage that properly either.

I will put the png and tiff programs in a separate package for BL3 and warn people that they may have problems in BL2 if they already have (or later add) a libpng or libtiff of the same version number or earlier. I might suggest sticking the libc5 libraries in /usr/local/lib and pointing programs at them in /etc/profile.


LD_LIBRARY_PATH="/usr/local/lib/" tifftopnm

^ looks in /usr/local/lib/ for libraries. You can export it, but then
you're back to square one.

Do I repeat this line for pnmtotiff or list both on one line?

This runs tifftopnm with libraries from /usr/local/lib. You obviously
need to change it to choose options or run a different programs.

In /etc/profile?

That will try to run every single program with libraries from /usr/local/lib,
which is just like copying everything from there to /usr/lib. Back to square
one, as I said.

I thought it would run just tifftopnm with /usr/local/lib libraries. So for tifftopnm, pnmtotiff, pngtopnm and pnmtopng I would put four such lines (each with a different program at the end) WHERE if not /etc/profile? I don't know what EXPORT does other than choose non-default devices, and that is the only thing I know how to change in /etc/profile.

export GS_DEVICE=vgalib
export CDDA_DEVICE=/dev/hdc.


David
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com

_______________________________________________
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