[E-Lang] OS X build problems
Mark S. Miller
Mon, 25 Jun 2001 20:51:45 -0700
At 06:55 PM Monday 6/25/01, Wesley Felter wrote:
>I'm trying to build the tl-otc-E-src-0.8.9.1b.tar.gz tarball on Mac OS X.
Neither 0.8.9.1b nor any other public release of E currently support Mac OS
X. Chris Hibbert ported 0.8.9t to Mac OS X and sent me the changes, which I
expect to integrate in time for 0.8.10. Your problem report may very well
be useful to this effort, thanks! I expect all releases >= 0.8.10 to
support Mac OS >= X.
>The first problem I'm having is that Makefile commands like rm -rf `find
>$(TOP)/dist -name CVS` do not work because there are no directories named
>CVS and OS X's rm (presumably from BSD, since it doesn't identify itself
>as GNU) barfs if it doesn't get any arguments. I don't know how to fix
>this except to comment out the offending lines.
An interesting problem. I hate systems for which the zero case doesn't
work. I suspect there are plenty of cases of this same form of problem, and
I don't know what to do about it other than use xargs.
>The stuff in src:jsrc:org:erights:e:elang:syntax:Makefile is kind of
>distasteful; there's more to the world than Windows and
Agreed. I'd love suggestions about what to do instead.
>That makefile contains the URL
>http://www.lincom-asg.com/~rjamison/byacc/ which is 404. Google turned it
>up at http://troi.lincom-asg.com/~rjamison/byacc/.
THANK YOU! I had searched and searched, and couldn't find Byacc/Java's new
home. This is great!
>So I downloaded that and fixed some #includes to get it to build on OS X.
>Unfortunately, it doesn't recognize the switches that e's makefile is
>chmod a+x ../../../../../../../src/bin/linux-386-glibc/byaccj
>../../../../../../../src/bin/linux-386-glibc/byaccj -jv -f EParser -x
>EBuilder -s Object e.y
> ../../../../../../../src/bin/linux-386-glibc/byaccj [-dlrtvj] [-b
>file_prefix] [-Joption] filename
> where -Joption is one or more of:
> -Jstack=SIZE (default 500)
That's strange. I believe I'm using only documented options.
>I just noticed MarkM's note at
>http://www.eros-os.org/pipermail/e-lang/2001-April/005054.html but I don't
>see any byaccj sources bundled in this distribution.
As that note says, it's bundled with 0.8.9t, not 0.8.9.1b.