Yes, but a chroot is a much better option than a directory with a
zillion compiled packages. It is much, much simpler to setup and you
wont have the error. "debootstrap" is a simple utility to create a
debian system (everything but the kernel) in a directory. Then you can
"boot" into that directory with a few commands:

  xhost + # Allow chrooted application to use the host X11 server
  sudo mount -o bind /dev $CHROOT_PATH/dev # Bind /dev/null and other
necessary /dev files, if you don't then it will use a lot of disk
space quickly
  sudo mount -o bind /dev/pts $CHROOT_PATH/dev/pts # Some apps don't
work if this isn't done
  sudo mount -o bind /sys $CHROOT_PATH/sys # Vicious and Obvious
modules require this
  sudo mount -o bind /proc $CHROOT_PATH/proc # Vicious and Obvious
modules require this
  sudo chroot $CHROOT_PATH /bin/bash # "Boot"

This doesn't use extra system ressources at all, no memory, no
virtualisation, nothing. You can then apt-get install awesome (Debian
experimental has 3.5.5) or use build-dep to install all build
dependencies to disable dbus. You can then install all packages you
want, the most recent version of them with a simple apt-get.

On 14 October 2014 17:27, Zoch, Donald <[email protected]> wrote:
> Hi, thanks for your reply.   I have pretty much done just what you suggest. I 
> have built newer X11, XCB, Pango, Cairo, Freetype, Fontconfig...etc. and have 
> them in a separate directory.  I have configured all of the linker flags to 
> point to those libraries.      I've had success with older versions of 
> awesome.
>
>
> -----Original Message-----
> From: Elv1313 . [mailto:[email protected]]
> Sent: Tuesday, October 14, 2014 10:13 AM
> To: Zoch, Donald
> Cc: [email protected]
> Subject: Re: attempt to call field 'font_map_get_default' crash
>
> Hello,
>
> Honestly, if you have root access to the RHEL computer, I suggest you make a 
> debian chroot (using debootstrap) in yout home directory for newer packages. 
> RHEL5 is very old and EOLed for most users. I understand some users can 
> upgrade and you probably can't do much about it. It is why a chroot make 
> sense. It allow you to have up to date software semi isolated from your main 
> system. I am not sure the Cairo version used in RHEL5 have proper XCB support 
> and other features required by Awesome, we are talking 2007 Linux, you can't 
> expect 2014 software to work as expected. The same can be said of Windows 8.1
> (2013) apps on Windows Vista (2007).
>
> I have worked in the scientific community where using badly outdated RHEL/SL 
> is common and seen/used this work around many times. Note that you will have 
> to disable DBus support as chroot and dbus are not very good friends.
>
> --
> To unsubscribe, send mail to [email protected].

--
To unsubscribe, send mail to [email protected].

Reply via email to