[E-Lang] OS X build problems

Wesley Felter wesley@felter.org
Mon, 25 Jun 2001 20:55:55 -0500 (CDT)


I'm trying to build the tl-otc-E-src-0.8.9.1b.tar.gz tarball on 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.

The stuff in src:jsrc:org:erights:e:elang:syntax:Makefile is kind of
distasteful; there's more to the world than Windows and
linux-386-glibc! :-) 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/.

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
using:

chmod a+x ../../../../../../../src/bin/linux-386-glibc/byaccj
../../../../../../../src/bin/linux-386-glibc/byaccj -jv -f EParser -x
EBuilder -s Object e.y
usage:
 ../../../../../../../src/bin/linux-386-glibc/byaccj [-dlrtvj] [-b
file_prefix] [-Joption] filename
  where -Joption is one or more of:
   -J
   -Jclass=className
   -Jpackage=packageName
   -Jextends=extendName
   -Jimplements=implementsName
   -Jsemantic=semanticType
   -Jnorun
   -Jnoconstruct
   -Jstack=SIZE   (default 500)

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.

Wesley Felter - wesley@felter.org - http://felter.org/wesley/