Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] ncurses, slang, and gcc, oh my!

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • To: Spencer Ogden <spencero AT mail.utexas.edu>
  • Cc: SM-Discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] ncurses, slang, and gcc, oh my!
  • Date: Fri, 13 Dec 2002 15:59:33 -0600 (CST)

In some cases though, only a single file needs to be hidden, like
gcc's ncurses.h when compiling xfree or gcc's jni.h when compiling
j2sdk-src. While these spells could handle this themselves, ensuring that
the file gets restored could be a problem if casting is interrupted or the
system goes down.

Are there any cases where the existence of a file prevents casting (other
than xfree, slang, ncurses, j2sdk-src)? Is this always caused by gcc? If
so, maybe we should get a bug filed on gcc's end.

-casey

On Fri, 13 Dec 2002, Spencer Ogden wrote:

> Don't several spells dispel and resurect automake and autoconf as needed? I
> thinks this is what Dufflebunk mentioned in his last email. Restoring from
> a cached compile is pretty quick. The files could be 'hidden' by
> dispelling them, and then recasting
>
> Spencer
>
> On Friday 13 December 2002 02:20 pm, Christian Sonne wrote:
> > On Fri, Dec 13, 2002 at 11:09:14AM -0800, Eric Sandall wrote:
> > > Well, apparently slang has the same problem as ncurses, with regards
> > > to gcc installing their own version.
> > >
> > > I recall someone saying (or gainsaying, don't recall) that recompiling
> > > gcc after ncurses is updated would fix the ncurses.h file which gcc
> > > installs, so that we'd no longer have to remove it after an ncurses
> > > update (it is a Bad Thing (TM) to remove files from a spells
> > > installation, makes them "corrupted" for 'cast --fix').
> >
> > not knowing _exactly_ how --fix works, but asuming it does something
> > like check if the files from the install-log are existing, then wouldn't
> > it be better to just make the spell tamper with the install-log, remove
> > the desired line, so it won't corrupt during fix?
> >
> > having to recompile gcc is arguably better than corrupting spells, but
> > imho still a Bad Thing (TM).
> >
> > FreakCERS
> >
> > > So, if recompiling gcc after ncurses (and slang) fixes those, we
> > > should add triggers to gcc so that it recompiles after these are
> > > updated (and any others that people find). I haven't tried
> > > recompiling gcc to see if this works (recompiling now, but it's a
> > > PII-300, so it'll take a while. ;)), but if anyone else knows/can try
> > > faster, please do.
> > >
> > > Here is the slang info:
> > > http://bugs.sourcemage.org/show_bug.cgi?id=1957
> > >
> > > Thoughts?
> > >
> > > -One of Four
> > > a.k.a. sandalle
> > >
> > > --
> > > PGP Key 0x5C8D199A5A317214
> > > http://search.keyserver.net:11371/pks/lookup?op=get&search=0x5A317214
> > >
> > > Eric Sandall | Source Mage GNU/Linux Developer
> > > eric AT sandall.us | http://www.sourcemage.org
> > > http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @
> > > WSU http://counter.li.org #196285 | http://www.shock.wsu.edu/
> > >
> > >
> > > _______________________________________________
> > > SM-Discuss mailing list
> > > SM-Discuss AT lists.ibiblio.org
> > > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>





Archive powered by MHonArc 2.6.24.

Top of Page