Skip to Content.
Sympa Menu

baslinux - Re: [BL] CNet NIC problems

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] CNet NIC problems
  • Date: Sun, 20 Dec 2009 14:47:33 GMT

BL3 grep is part of a large multipurpose program called busybox,
(type busybox to get a list) and has limited abilities.
Try grep from Slackware 4.0 (use the brasil mirror at the BL3
site, Slackware 4.0, slakware, a6, grep.tgz). You can
tar -zxvf grep.tgz (in /tmp) and copy the binaries
grep egrep fgrep (what do you do with egrep and fgrep?) to
/usr/bin. The rest is unnecessary locale and docs.
(Many packages also include libraries used by the binary but
I checked and grep does not).

tar -zxvf grep.tgg usr/bin/grep extracts one file into usr/bin
If that grep still won't do what you want, ask Steven to
compile grep from newer source code for BL3. Binaries
(programs) must be no newer than the libraries they use
(type ldd grep for a list of dependencies - you will see that
libc is not found). BL3 uses an older version of the main library,
called libc5, whereas linux since 2000 uses libc6 (glibc).

There is no Slackware 5 or 6. Slackware 7 switched to a different
style of libc called libc6 or glibc.

Slackware 3 and 4 use libc5.
Slackware 7 uses glibc 2.1.3, Slackware 8 2.2.5, SW11 2.3.6.
BL3.5 is based on Slackware 4.0, BL2 on Slackware 7.
They can both be upgraded to glibc of any version.
But BL3.5 also uses libc5-based X and some newer programs
require newer X and it is not easy to update X in BL3.

Programs compiled with Slackware 4 libc5 can use any libc5
from Slackware 3, and Slackware 8 programs (glibc) can use
Slackware 7 glibc (but not vice versa). But programs
compiled for Slackware 7 or later cannot use programs compiled for
Slackware 4 or earlier. I. e., if I compile for glibc 2.3.6, it
will work with 2.2.5 from Slackware 7 but not libc5 from
any Slackware (4 or earlier).

I compiled mainly for 2.2.5 and labelled the file or at least
my description in http://keesan.freeshell.org/bl/blfiles.htm.
Thelibc used on the computer where you compile is normally what
the compiled program will require. I have 2.2.5 on this computer
and 2.3.6 on another computer but gave up trying to compile with
libc5 for BL3.5 because it rarely worked - recent programs require
things missingin libc5. (There is also some way to point
the compiler at a specific location of libraries).

Anyway, stick with Slackware 4.0 packages (or anything
else compiled for libc5 found online), unless you upgrade
to glibc 2.2.5 to run Opera 8 or 9, and modules to match
your kernel from the same place (compiled with the same gcc).
Most linuxes now use kernel 2.6.

You don't need to include the entire previous message, just
parts you are responding to.

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page