AMBER Archive (2006)

Subject: Re: AMBER: experiences with compiling amber9 for FreeBSD

From: M. L. Dodson (
Date: Fri May 05 2006 - 13:59:48 CDT

On Friday 05 May 2006 13:46, David A. Case wrote:
> On Fri, May 05, 2006, M. L. Dodson wrote:
> >
> > I just compiled amber9 for FreeBSD 6.1-PRERELEASE using the Intel
> > ifc-8.1.023 compiler. There were some issues, so I thought I
> > would try to save others some time.
> Thanks for the report.
> >
> > The problem with a straight compile following the described
> > procedure lies with the FreeBSD make program. The compile scheme
> > for amber9 uses recursive makefiles, and some of the semantics
> > expected by the leaf makefiles are incompatible with those of
> > Berkeley make as implemented in FreeBSD.
> Amber is not supposed to require gmake. For example, it builds fine on
> Sun Solaris and SGI IRIX, both with non-GNU make programs. So, if you can
> provide details, we can try to fix this problem.
> (On the other hand, the build semantics could become *much* simpler if
> GNU-make were required, since gmake makes it much cleaner to construct
> conditional rules. So, at some point in the future, we may just give up and
> ask people to install gmake. But that requirement is not supposed to be there
> in Amber 9.)
> ...thanks!...dac

I don't think it is gmake, per se, more likely SysV make works,
Berkeley make does not. gmake is my only data point, however.
The problematic construct seems to be something like:

        cd ../somedir; make something

If I edit this to be

        cd ../somedir && make something

then it gets past that particular problem. But there other
problems as well, and I have not finished (or even started) an
indepth analysis. I don't claim to be a make guru :-)


M. L. Dodson
Personal:       mldodson-at-houston-dot-rr-dot-com
Work:           bdodson-at-scms-dot-utmb-dot-edu
Work: four_zero_nine-772-2178             FAX: four_zero_nine-747-8608

----------------------------------------------------------------------- The AMBER Mail Reflector To post, send mail to To unsubscribe, send "unsubscribe amber" to