Skip to Content.
Sympa Menu

baslinux - Re: [BL] BL3 to Glibc2 4D

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] BL3 to Glibc2 4D
  • Date: Tue, 13 Feb 2007 04:32:32 +0000

On Tue, Feb 13, 2007 at 05:44:50AM +0000, sindi keesan wrote:
> >
> >>> However, the libc5 X client programs will need to be upgraded.
> >>
> >> Oh. That would be window manager/exterm/xpdf/xbrowser.
>
> There is a BL2 icewm and rxvt,

I got the rxvt from SW9.0 and the source for swm from

http://www.small-window-manager.de/

Going to try to build it. Not clear on whether I need C++ and Objective C
capabilities for gcc or this package from SW9.0:

PACKAGE NAME: xfree86-devel-4.3.0-i386-1.tgz
PACKAGE LOCATION: ./slackware/x
PACKAGE SIZE (compressed): 4968 K
PACKAGE SIZE (uncompressed): 15750 K
PACKAGE DESCRIPTION:
xfree86-devel: xfree86-devel (Libraries and other files for X programming)
xfree86-devel:
xfree86-devel: This is a set of include files (found in /usr/X11R6/include),
static
xfree86-devel: libraries (found in /usr/X11R6/lib/*.a) and configuration files
xfree86-devel: (found in /usr/X11R6/lib/X11/config/) needed to compile X
programs
xfree86-devel: under Linux and XFree86.

Otherwise, I have all of the packages for gcc.

> Opera works equally well with libc5 and glibc based libX11,

If I can build it without all the email (etc.) stuff I may give it try.

For now, I have the links-0.98 package and this below from SW9.0:

PACKAGE NAME: xv-3.10a-i386-1.tgz
PACKAGE LOCATION: ./slackware/xap
PACKAGE SIZE (compressed): 1075 K
PACKAGE SIZE (uncompressed): 1650 K
PACKAGE DESCRIPTION:
xv: xv (John Bradley's interactive image viewer)
xv:
xv: xv is an interactive image manipulation program.
xv:
xv: NOTICE: This program is unregistered shareware. Please read the
xv: license information included.

I haven't installed it yet.

> and I could not get xpdf to work with libc5, only libca6
> (however the text-only parts of it worked once I figured out
> the fonts).

SW9.0 has xpdf-2.01, which I'll probably give a try.

> >> ldd xinit:
> >>
> >> libXmuu.so.1 => not found
> >> libXext.so.6 => not found
> >> libX11.so.6 => not found
> >> libc.so.6 => /lib/libc.so.6 (0x40017000)
> >>
> >> It won't see them, which is weird. Any idea why?
>
> Will BL3 ldd recognize glibc-dependent libraries?

glibc2 comes with its own ldd and ldconfig, which I'm using,
and their inclusion leads me to believe that the BL3 version wouldn't.

> I have had similar problems where ls finds a library I added but ldd does
> not, in the proper directory.

Yeh. If it isn't in /usr/lib or /lib, you will probably have to
add the directory to /etc/ld.so.conf or to the LD_LIBRARY_PATH
environment variable.

> > So you have proven that the i810 is usable with BasicLinux. I will
> > keep that in mind in case anyone else asks about it. I am guessing
> > that you recommend Xi810 over the default Xvesa for this chipset? BL
> > isn't really targetted at this vintage of computers, but this
> > information should be useful nonetheless.
>
> I will be setting up a friend's 900MHz i810 Emachine with BL3 this month.
> I forget, is there an i810 X server for libc5 too, or a static one?

I wasn't able to get it to work with libc5. Got one that works with
uClibc-0.9.28.so,
libm-0.9.28.so, and ld-uClibc-0.9.28.so, the only non-BL3 libs below (IIRC):

ldd `which i810` # on libc5 BL3
libXfont.so.1 => /lib/libXfont.so.1 (0x40009000)
libfreetype.so.6 => /lib/libfreetype.so.6 (0x40079000)
libfontenc.so.1 => /lib/libfontenc.so.1 (0x400dc000)
libXau.so.6 => /lib/libXau.so.6 (0x400e2000)
libXdmcp.so.6 => /lib/libXdmcp.so.6 (0x400e5000)
libz.so.1 => /lib/libz.so.1 (0x400ea000)
libm.so.0 => /lib/libm.so.0 (0x400fa000)
libc.so.0 => /lib/libc.so.0 (0x40108000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40152000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)

All three non-BL3 libs and the server came from David M.

I don't think you can you can have statically AND dynamically
compiled packages, so you need the links and all three of those
libs. 560K for the Uclibc, 60K for the libm, and 20K for for the
ld-uClibc.

It could be statically-compiled, of course, but there's no need
if you don't have libc.so.0 and libm.so.0 pointing to anything
else, which you ordinarily wouldn't.

The Xi810 on my new glibc2 BL3-2 has fewer dependencies, though
the libc is 1.239M:

libz.so.1 => /lib/libz.so.1 (0x40016000)
libm.so.6 => /lib/libm.so.6 (0x40027000)
libpam.so.0 => /lib/libpam.so.0 (0x4004a000)
libdl.so.2 => /lib/libdl.so.2 (0x40052000)
libpam_misc.so.0 => /lib/libpam_misc.so.0 (0x40055000)
libc.so.6 => /lib/libc.so.6 (0x40058000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4018b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Weird how libX11 isn't on those lists. According to
the docs, you don't even need any external fonts with tinyX. I've
got the BL3 fonts and haven't tested it without them.

> This machine has spare slots so a Trio64 card would be an
> easier solution than upgrading all the X libraries and rxvt and
> icewm.

It's close to a 50/50 call, if you want to use a tinyX:
These are the ones I know about:

Xchips
Xfbdev
Xi810
Xigs
Xipaq
Xmach64
Xsavage
Xsis530
Xtrident
Xtrio
Xts300
Xvesa

I'd get a chipset that was known to work well with one of the
above, most of which are designed for specific chipset families.
The link to the package with all of those is in one of David M's
posts of a month ago or so. Or you could ftp it from here.

Go with libc5 if you aren't going to need so many libc6 apps that
statically-compiled uclibc apps, etc, end up being significantly
larger than libc6 and its app versions would be...

The Xi810 is much more stable than Xvesa. I can actually shut the
server down or close windows without having to reboot. (50/50
chance with the latter using Xvesa.)

Whether this is because of my i810 chipset, I don't know, but
judging from the manpage and the scuttlebutt, it isn't. Xfbev
seems to be the other general-purpose tinyX, but not all chipsets
have framebuffers that it can utilize. Like the i810.

(It's under development: http://i810fb.sourceforge.net/ )

Note that with the Xi810, lower resolutions like 640x480, don't
work well (horizontal sync is thrown off). You need 800x600 or
thereabouts.

I'm using 800x600x32 right now. Don't know how high and deep I
can go, but the difference right now is stunning. When I run
it on BL3 libc5/uClibc, rxvt looks like a completely different
exterm. Experimentation will have to wait until I have BABL
working well.

Born Again BasicLinux :-)

Hi Ho, Hi Ho, it's off to work I go!

Lee

--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru





Archive powered by MHonArc 2.6.24.

Top of Page