Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Ted Goodridge, Jr" <tedgoodridgejr@acm.org>
To: <axp-list@redhat.com>
Subject: RE: XFree86-4.2.0-50.10.src.rpm errors doing build
Date: Tue, 4 Jun 2002 21:33:23 -0500	[thread overview]
Message-ID: <000501c20c39$607b07a0$6a700044@outpost23> (raw)
In-Reply-To: <Pine.LNX.4.44.0206041517010.31420-100000@devserv.devel.redhat.com>

Mike, 
	how do I get it NOT to build tdfx stuff, cause the build keeps
dying at tdfx_context.h.

Ted

> -----Original Message-----
> From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On
> Behalf Of Mike A. Harris
> Sent: Tuesday, June 04, 2002 2:22 PM
> To: axp-list@redhat.com
> Subject: Re: XFree86-4.2.0-50.10.src.rpm errors doing build
> 
> On Mon, 3 Jun 2002, Ted Goodridge, Jr wrote:
> 
> >make: Leaving directory `/usr/src/rpm/BUILD/XFree86-4.2.0/xc'
> >error: Bad exit status from /var/tmp/rpm-tmp.49956 (%build)
> >
> >
> >RPM build errors:
> >    Bad exit status from /var/tmp/rpm-tmp.49956 (%build)
> >
> >This is the diff output from the original specfile and the
> > one that I modified:
> >
> >romulus:/usr/src/rpm/SPECS# diff XFree86.spec XFree86.spec.custom
> >3c3
> >< ExcludeArch: alpha ia64
> >---
> >> #ExcludeArch: alpha ia64
> 
> That's ok, as the ExcludeArch is only there right now because X
> wont compile on 64bit arch's with gcc 3.1 currently due to a
> simple issue I've not resolved yet.  Building with gcc 2.96
> should be fine however, so commenting out the above is ok.
> 
> >1006c1006
> >< #define BuildXF86DRI                YES
> >---
> >> %define BuildXF86DRI                YES
> 
> That is invalid.  Those defines are not RPM macros being defined,
> they are Imake macros which get put in the file host.def via a
> here document to configure the X build process.  Imake uses the C
> preprocessor, so they are ultimately C preprocessor defines, and
> should appear as:
> 
> #define foo bar
> 
> And to comment one out, you do so as in C:
> 
> /* #define foo bar */
> 
> >1008c1008
> >< #define BuildXF86DRI                NO
> >---
> >> %define BuildXF86DRI                NO
> 
> Again, invalid.
> 
> >1052,1053c1052,1053
> >< #define XF86CardDrivers mga nv tga s3virge sis rendition \
> ><                       neomagic i740 tdfx cirrus tseng trident chips
> >apm \
> >---
> >> %define XF86CardDrivers mga rendition \
> >>                       i740 tseng trident chips apm \
> 
> I don't see anything wrong there.  Replace the % with # on the
> defines, and try to rebuild again.  What compiler are you using?
> 
> 
> --
> Mike A. Harris                  Shipping/mailing address:
> OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
> XFree86 maintainer              Ontario, Canada, P6C 5B3
> Red Hat Inc.
> http://www.redhat.com           ftp://people.redhat.com/mharris
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list





  parent reply	other threads:[~2002-06-05  2:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04  0:16 XFree86-4.2.0-50.10.src.rpm errors doing build Ted Goodridge, Jr
2002-06-04 19:21 ` Mike A. Harris
2002-06-05  0:11   ` Ted Goodridge, Jr
2002-06-05  2:33   ` Ted Goodridge, Jr [this message]
2002-06-05  4:43     ` Mike A. Harris
read-only archive

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