Re: Homebrew formula (Mac OS)
Bruce Mitchener <[email protected]> Wed, 19 Mar 2014 21:29:35 +0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.devel |
|---|---|
| Message-ID | <CA+esKjNavN5BV_AaYTG9nyExaqBjtOVgR6=JpZ862fvBi7mOgw@mail.gmail.com> |
--===============1553316224== Content-Type: multipart/alternative; boundary=047d7b86c92661dae504f4f67b40 --047d7b86c92661dae504f4f67b40 Content-Type: text/plain; charset=ISO-8859-1 Hello Alexey, On Wed, Mar 19, 2014 at 9:24 PM, Alexey Muranov <[email protected]>wrote: > Hello, > > this is just un update on how my adventure with opendylan Homebrew formula > ended. > > Thanks for the work that you've put into this so far. I have some good news below. > Here is my formula: > > https://github.com/alexeymuranov/homebrew/blob/add-opendylan/Library/Formula/opendylan.rb > > Please feel free to try it and comment if you are on Mac OS and using > Homebrew. It requires Homebrew's 'bdw-gc' to be (re-)installed with > '--universal' option. > > To be able to use the formula, it is enough to drop this file into your > /usr/local/Library/Formula (by default). (After that `brew update` will no > longer work, unless you do some Git tricks.) > > To install the latest stable version 2013.2, do `brew install opendylan`, > to install the HEAD from GitHub, do `brew install opendylan --HEAD`. > > This will download the 2013.2 binary and the indicated source, build a new > binary from the source using the old binary, install the new binary into > Homebrew's Cellar, and discard the old binary and the build directory. > (The source and the old binary archives will be kept in Homebrew's cache > directory -- see `brew --cache`). > > Due to a bug un Open Dylan, this procedure will not give a fully > functional distribution, because the symbolic link to dylan-compiler > installed by Homebrew into /usr/local/bin will not be able to find all that > it needs. A simple workaroung is to add the path to the Cellar binary to > PATH environment variable, for example: > > export PATH=/usr/local/Cellar/opendylan/2013.2/bin:$PATH > > Then everything should work. > > ------ > > My pull request to Homebrew ( > https://github.com/Homebrew/homebrew/pull/27450 ) has been rejected for > now until the following are fixed in Open Dylan: > > 1. should work normally when started through symlinks in /usr/local/bin, > I've fixed this on master, so 2014.1 will work normally / correctly. > 2. should not require the 'universal' bdw-gc (64-bit build should work), > I'm pretty sure that all known issues with this are fixed in master, so perhaps we'll do 2014.1 as a 64 bit release on Mac OS X. > 3. the formula should build in Homebrew's Superenv (see > https://github.com/Homebrew/homebrew/wiki/Acceptable-Formulae#building-under-superenv-is-best) -- currently it does not. > We need more detail about this. - Bruce --047d7b86c92661dae504f4f67b40 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">Hell= o Alexey,</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quo= te">On Wed, Mar 19, 2014 at 9:24 PM, Alexey Muranov <span dir=3D"ltr"><<= a href=3D"mailto:[email protected]" target=3D"_blank">alexey.muranov= @gmail.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Hello,<br> <br> this is just un update on how my adventure with opendylan Homebrew formula = ended.<br> <br></blockquote><div><br></div><div>Thanks for the work that you've pu= t into this so far. I have some good news below.</div><div>=A0</div><blockq= uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc = solid;padding-left:1ex"> Here is my formula:<br> <a href=3D"https://github.com/alexeymuranov/homebrew/blob/add-opendylan/Lib= rary/Formula/opendylan.rb" target=3D"_blank">https://github.com/alexeymuran= ov/homebrew/blob/add-opendylan/Library/Formula/opendylan.rb</a><br> <br> Please feel free to try it and comment if you are on Mac OS and using Homeb= rew. =A0It requires Homebrew's 'bdw-gc' to be (re-)installed wi= th '--universal' option.<br> <br> To be able to use the formula, it is enough to drop this file into your /us= r/local/Library/Formula (by default). =A0(After that `brew update` will no = longer work, unless you do some Git tricks.)<br> <br> To install the latest stable version 2013.2, do `brew install opendylan`, t= o install the HEAD from GitHub, do `brew install opendylan --HEAD`.<br> <br> This will download the 2013.2 binary and the indicated source, build a new = binary from the source using the old binary, install the new binary into Ho= mebrew's Cellar, and discard the old binary and the build directory. = =A0(The source and the old binary archives will be kept in Homebrew's c= ache directory -- see `brew --cache`).<br> <br> Due to a bug un Open Dylan, this procedure will not give a fully functional= distribution, because the symbolic link to dylan-compiler installed by Hom= ebrew into /usr/local/bin will not be able to find all that it needs. =A0A = simple workaroung is to add the path to the Cellar binary to PATH environme= nt variable, for example:<br> <br> =A0 =A0 export PATH=3D/usr/local/Cellar/opendylan/2013.2/bin:$PATH<br> <br> Then everything should work.<br> <br> ------<br> <br> My pull request to Homebrew ( <a href=3D"https://github.com/Homebrew/homebr= ew/pull/27450" target=3D"_blank">https://github.com/Homebrew/homebrew/pull/= 27450</a> ) has been rejected for now until the following are fixed in Open= Dylan:<br> <br> 1. should work normally when started through symlinks in /usr/local/bin,<br= ></blockquote><div><br></div><div>I've fixed this on master, so 2014.1 = will work normally / correctly.</div><div>=A0</div><blockquote class=3D"gma= il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef= t:1ex"> 2. should not require the 'universal' bdw-gc (64-bit build should w= ork),<br></blockquote><div><br></div><div>I'm pretty sure that all know= n issues with this are fixed in master, so perhaps we'll do 2014.1 as a= 64 bit release on Mac OS X.</div> <div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex"> 3. the formula should build in Homebrew's Superenv (see <a href=3D"http= s://github.com/Homebrew/homebrew/wiki/Acceptable-Formulae#building-under-su= perenv-is-best" target=3D"_blank">https://github.com/Homebrew/homebrew/wiki= /Acceptable-Formulae#building-under-superenv-is-best</a> ) -- currently it = does not.<br> </blockquote><div><br></div><div>We need more detail about this.</div><div>= <br></div><div>=A0- Bruce</div><div><br></div></div></div></div> --047d7b86c92661dae504f4f67b40-- --===============1553316224== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ hackers mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/hackers --===============1553316224==--