Re: Fwd: 0install select --may-compile

Tim Cuthbertson <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAC-LLDioCEowwANcJ4fZBmb9fro5d92CWYoT=bpzwv3DThLMXQ@mail.gmail.com>
That's great news, thanks :)

On Sun, Feb 1, 2015 at 9:34 PM, Thomas Leonard <[email protected]> wrote:
> [ gmail says I sent this on Jan 10th, but I can't find it on gmane or
> in the sf.net archives, so sending again in case it got lost ]
>
> I've now merged support for the --may-compile option. It works like this:
>
> $ 0install select --may-compile 0publish
> - URI: http://0install.net/2006/interfaces/0publish
>   Version: 0.24-post
>   Path: /home/tal/Projects/zero-install/0publish
>
>   - URI: http://repo.roscidus.com/python/python
>     Version: 2.7.2 (requires compilation)
>     Path: (not cached)
>
>   - URI: http://0install.net/2007/interfaces/ZeroInstall.xml
>     Version: 2.3.4
>     Path: /home/tal/.cache/0install.net/implementations/sha256new_4NHC5U3EHX4X6DXUOADZFZCQK7546M3T7PQ4NWBRQ2ZU2PPSJWBA
>
>     - URI: http://repo.roscidus.com/security/gnupg
>       Version: 2.1.1-1
>       Path: (package:arch:gnupg:2.1.1-1:x86_64)
>
>     - URI: http://repo.roscidus.com/python/python-gobject
>       Version: 2.28.6-11
>       Path: (package:arch:python2-gobject2:2.28.6-11:x86_64)
>
> Here, I disabled the distribution-provided Python so there were no
> binaries available, and 0install selected some Python source code
> instead ("Version: 2.7.2 (requires compilation)").
>
> You can run this to find out what you need to compile, and then use
> "0install select --source" on each one to get the build dependencies
> (and if you use "0install select --source --may-compile" then it can
> tell you what you need to compile the build tools too). 0compile
> should be able to use this to replace its own hacky autocompile
> feature.
>
> It should also be possible to use this as a base for Tim's autocompile feature.
>
>
> --
> Dr Thomas Leonard        http://0install.net/
> GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
> GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Zero-install-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zero-install-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.