[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: COmpiling es under Linux 1.2.12



> I had a couple of minor problems I had to fix to compile es 0.84 on
> my Linux beast. The one that worries me the most is that I had to
> change prim-sys.c so that the calls to setpgrp look like "setpgrp()"
> instead of "setpgrp(foo,bar)". Will this affect the functionality of
> the program?

Actually, for linux, that's supposed to be handled by this code in
stdenv.h:

  #ifdef linux
  #include "unistd.h"
  #define setpgrp(a, b)	setpgid(a, b)
  #endif

That's in the 0.9-alpha1 release, but wasn't in 0.84.  I'd probably
upgrade to the alpha release if I were you, but there are a couple of
needed patches which I've sent out to the list.

I want to put out an alpha2 release soon, indended to deal with
configuration issues.  The stdenv.h/config.h is just the wrong thing.
I'd love to use GNU autoconf, but want to keep es in the public domain
and not covered by the GPL.  Not that it really matters.

> [I also had to remove a line in another program that said "extern
> int getopt(foo,bar,baz), but that *shouldn't* affect anything]

Should be fine.  Putting all those prototypes into the source was a
mistake.  This is part of that same configuration nightmare.

Paul