Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* XFree86 4.2.0 RPM question, /usr/local?
@ 2002-03-10  6:02 Robert M. Riches Jr.
  2002-03-11 12:15 ` Mike A. Harris
  0 siblings, 1 reply; 2+ messages in thread
From: Robert M. Riches Jr. @ 2002-03-10  6:02 UTC (permalink / raw)
  To: axp-list

Wow! The spec file in the XFree86-4.2.0-6.32 source RPM is
certainly formidable.  I sure appreciate Mike Harris' maintenance
efforts.

I'd like to build and install this package _but_ install it in
/usr/local/X11R6 without disturbing the existing 4.1.0 RPM
installation.  Yes, I'm both a chicken and crazy.  :-)

Right now, I have an RH7.1 system including the released XFree86
4.1.0 RPMs.  In order to get an X server that will work with the
Oxygen VX1 card, I have installed XFree86 4.2.0 from xfree86.org
sources in /usr/local/X11R6.  Putting it in /usr/local keeps the
rest of the system outside /usr/local stock Redhat, and it allows
switching between Redhat's 4.1.0 and xfree86.org's 4.2.0 at the
user level just by changing $PATH.

A little research appears to show that the way to do this is to
do the following steps:

    1) do "rpm -bpl" (after installing the source RPM, of course)
       to unpack the sources, apply patches, and check files.

    2) edit xc/config/cf/site.def to do the following defines:
       (which is how I installed from xfree86 sources)

        #define ProjectRoot /usr/local/X11R6
        #define NothingOutsideProjectRoot YES

    3) do "rpm --short-circuit -bc" to build the package

    4) do "make install" from the xc directory to install the
       stuff in /usr/local/X11R6.  (For paranoia, to make sure
       this doesn't try to install anything outside /usr/local,
       do this once as a non-privileged user and watch for
       permission issues.)

My motivation for wanting to use Redhat's 4.2.0 is to get the
advantage of all of Mike Harris' very excellent work, and to see
if this will put a stop to the signal 8 X server deaths, scan
rates changing to something outside what the monitor can handle,
etc.

Is it rational to attempt such a thing?  Do I have the above
steps close to right?

Thanks.

Robert Riches
richesr1@inetarena.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-11 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-10  6:02 XFree86 4.2.0 RPM question, /usr/local? Robert M. Riches Jr.
2002-03-11 12:15 ` Mike A. Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox