Re: Update Hombrew install instructions on the web site
Björn Pollex <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks all for the feedback. I’m a bit confused by some of it though. > On 5 Jul 2015, at 18:08, Anders F Björklund <[email protected]> wrote: > >>>>> I’ve just tried to install Zero Install using Homebrew as described >>>>> on the >>>>> web site, and found that it doesn’t work. >> >> But the homebrew instructions can probably be fixed too, >> if you say what the brew problem was that you encountered. >> >> Not that I've tried it in a while, but it *used* to work ? >> Like Thomas said, we can easily update the homepage in git. > > I tried the homebrew instructions on OS X Yosemite, and there > doesn't seem to be anything *majorly* wrong with it afaict... ? > > $ brew install gettext pkg-config gnupg gtk+ ocaml opam > > $ opam install yojson xmlm ounit react lwt extlib ssl ocurl lablgtk > These are not the Homebrew installation instructions, these are the Source installation instructions. The current web site has a separate section further down titled Homebrew installation, which contains instructions that don’t work anymore because the recipe for 0install has been removed from homebrew, as you have pointed out previously. Cask <http://caskroom.io/> is a command extension for Homebrew that can be used to install Mac OS X native packages. The main repo for casks is separate from homebrew. I don’t know why the GTK+ dependency is missing. Cask only executes the packager installer, so maybe that installer doesn’t install the dependency? As a test I’ve uninstalled 0install and downloaded the Bundle from the web site <http://0install.net/install-osx.html>. When I try to run it Mac OS (I’m on 10.10.4) says it is damaged and can’t be executed. I don’t know why it works with Cask, which is essentially doing the same thing. I’d love to help resolve this, so please let me know what I can do. I’m currently learning 0install and will probably come back with more questions over the next few weeks. Cheers, Björn Pollex > > Now, there are some changes that one could do to make it easier: > > Back when I wrote instructions, I was trying to keep /usr/local > with the default contents (mostly empty) and permissions (wheel) > and avoid the instructions to open it up and avoid everything else. > Seems like nobody cares anymore, and you lose the "bottle" support. > > Same goes for OPAM, let it clobber the home directory all it wants. > Also, since last time the gtk+ installation has been changed to use > the "quartz" gdk backend rather than the "x11" backend like before. > So there should be no need to have to install Xquartz for the user. > > We also don't have to use the latest greatest from git for 0install, > but can install the release version (currently 2.8) with OPAM instead: > > $ opam install 0install > The following actions will be performed: > ∗ install sha 1.9 [required by 0install] > ↘ downgrade ssl 0.5.0 to 0.4.7 [required by lwt] > ↘ downgrade lwt 2.4.8 to 2.4.6 [required by 0install] > ↻ recompile ocurl 0.7.4 [uses lwt] > ∗ install 0install 2.8 > ===== ∗ 2 ↻ 1 ↘ 2 ===== > > Then we get something like this (homebrew doesn't care about theming): > http://afb.users.sourceforge.net/zero-install/0install-homebrew.png > > The missing translations makes it look funny, not sure if those are > supported yet or if it was just due some strange install location ? > > > The downloads for ocaml/opam are still quite large (like 250M or so), > but that could be avoided by providing a pre-built 0install "bottle". > > For that to happen, it still needs to be "blessed" by the distribution... > Which, ironically, is part of the same problem 0install is trying to fix: > > "You don't need to be blessed by a distribution (or anyone else) to be part of 0install;" > "there is no need to give users root privileges just so that they can install software." > > But as long as we give up trying, and just include it in the mainstream, > the installation becomes "easier". So why not use that method for all ? > > Anyway, we could go back to the "let it prompt the user" method perhaps... > So it wouldn't be fully automatic, but at least it would ask some questions: > > GnuPG > Gnupg is required to use these tools. > > You can install Gnupg or Gnupg2 with Homebrew: > brew install gnupg > brew install gnupg2 > > Or you can use one of several different > prepackaged installers that are available. > > OPAM > Unsatisfied dependency: #{@module_name} > Homebrew does not provide #{@language.to_s.capitalize} dependencies; install with: > #{command_line} #{@module_name} > > > I'll leave the bundle up for 2.8 (of course), but something to consider ? > And it would still be nice to get rid of the GnuPG and GTK+ dependencies. > > --anders > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Zero-install-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel