Why do you need to build guile? yum install will give you 1.8.7? And
if you want to build coot, an "official" coot submission for fedora is
here (where you can find a srpm to build from):
https://bugzilla.redhat.com/show_bug.cgi?id=472150
-tim
On Mon, 1 Feb 2010 16:24:56 +0000
Kevin Cowtan <[log in to unmask]> wrote:
> Yes, but that means I have to mess with the build script. Given that
> I'm doing multiple nightly builds across multiple platforms using the
> build script from cvs, that's a problem. (Possible, but hard - and
> need to check it doesn't break the other builds.)
>
> If there is anyway of doing it by messing with the setup of the F12
> virtual machine, that would make life a lot easier.
>
> Ah - looking at the patch again, I might get away with setting $CPP
> to cpp -P in the .bashrc for the F12 machine. Will try that next.
>
> Ezra Peisach wrote:
> > On 2/1/2010 10:30 AM, Kevin Cowtan wrote:
> >> I'm trying to set up a Fedora 12 build machine, and running into
> >> problems.
> >>
> >> I keep running into the c preprocessor problem when building guile
> >> listed here:
> >> [log in to unmask]" target="_blank">http:[log in to unmask]
> >>
> >> It seems to be specific to Fedora's gcc 4.2.2, not to the upstream
> >> version. I tried using mcpp ( with ln -s /usr/bin/mccp
> >> /usr/local/bin/cpp ), but got the same result.
> >>
> >> Is there any way to downgrade to a pre-F12 gcc?
> >>
> >> Kevin
> >>
> > The patch in the thread did the trick:
> >
> > diff -Nur guile-1.8.7.orig/libguile/guile-snarf-docs.in
> > guile-1.8.7/libguile/guile-snarf-docs.in
> > --- guile-1.8.7.orig/libguile/guile-snarf-docs.in 2009-07-03
> > 18:19:00.000000000 -0400
> > +++ guile-1.8.7/libguile/guile-snarf-docs.in 2009-11-19
> > 12:55:32.487266268
> > -0500
> > @@ -23,4 +23,4 @@
> > ## Let the user override the preprocessor autoconf found.
> > test -n "${CPP+set}" || CPP="@CPP@"
> >
> > -${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
> > +${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"
--
---------------------------------------------------------
Tim Fenn
[log in to unmask]
Stanford University, School of Medicine
James H. Clark Center
318 Campus Drive, Room E300
Stanford, CA 94305-5432
Phone: (650) 736-1714
FAX: (650) 736-1961
---------------------------------------------------------
|