AMBER Archive (2006)

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

From: Xuebin Qiao (xbqiao_at_gmail.com)
Date: Sat May 06 2006 - 01:31:06 CDT


Hi,

I have post autotool-based template Makefile for amber8 several month ago
which was originally targeted to freebsd. It should be trivial to port to
amber9.

I don't know whether amber9 have been released free of charge. If not, I
think that putting it to port system makes no sense in current stage. The
hard thing is not make whole process run *automatically*, but to make it run
as *flexiably* as developers expected.

All the best

qxb

On 5/6/06, M. L. Dodson <bdodson_at_scms.utmb.edu> wrote:
>
> Hello ambers,
>
> 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.
>
> Firstly, it passed all the tests (serial) just fine with only a
> few (6) "last decimal point" differences found. I also compiled
> with the ifc-8.0 compiler, and there were substantially fewer
> diffences with the 8.1 version than with 8.0. So use 8.1.x or
> version 9.x if possible.
>
> 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. So you will need to use
> gmake (install from a package or via the devel/gmake port).
>
> However, some of the leaf makefiles hardwire the "make" program
> name, so that will trip you up. My solution was to temporarily
> softlink /usr/local/bin/gmake to /usr/local/bin/make. (This is
> known as a "hack" :-) Make sure that /usr/local/bin comes before
> /usr/bin in your PATH. Then the system builds as described.
> Don't forget to rm /usr/local/bin/make when you are finished or
> your ports and buildworld systems will quit working.
>
> I have not made much progress on a regular FreeBSD "port" to
> handle everything automatically. If I develop one I will post
> the url here.
>
> Bud Dodson
>
> PS, this hack might also be required for other Unix systems whose
> make derives from Berkeley make, not gmake.
> --
> 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 amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

--
... there have been two really clean,
consistent models of programming so far:
the C model and the Lisp model.
These two seem points of high ground,
with swampy lowlands between them.

--Paul Graham

----------------------------------------------------------------------- The AMBER Mail Reflector To post, send mail to amber_at_scripps.edu To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu