Re: How to expand environment variable in compilation command?

Thomas Leonard <[email protected]> Wed, 9 Sep 2015 20:13:15 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy-M=S2BqAthWVGE9jktfT5O9WXBwwcm6QLz-36D9dn+EQ@mail.gmail.com>
On 9 September 2015 at 19:42, Ilja Honkonen <[email protected]> wrote:
>>> I'm using 0compile (zero-install) 1.0. Running with --verbose didn't
>>> give additional clues as to why for-each seems to be ignored.
>> Any idea why it's using version 1.0? What does this say?
>> 0install select --version 1.4 http://0install.net/2006/interfaces/0compile.xml
>
>   0install --console select --version 1.4
> http://0install.net/2006/interfaces/0compile.xml
> Can't find all required implementations:
>
> - http://0install.net/2006/interfaces/0compile.xml -> 1.4
> (sha1new=f1034557f5d41c09bbffdc1bffee69dcff9c7a14)
>      User requested version 1.4
> - http://0install.net/2006/interfaces/0publish -> 0.25
> (sha1new=bc06f0a2023fba486929e28dfbbfe42d2a43d4b1)
> - http://0install.net/2007/interfaces/ZeroInstall.xml -> 2.3.5
> (sha1new=6f4892dfcb947a03dd3b89f04b2d0650e871a060)
>      http://0install.net/2006/interfaces/0compile.xml 1.4 requires
> version 2.1..
>      http://0install.net/2006/interfaces/0compile.xml 1.4 requires
> '0install' command
> - http://repo.roscidus.com/python/python -> 2.7.10-3
> (package:macports:python27:2.7.10-3:*)
>      python27: PackageKit not available: Failed to get D-BUS system bus
>      python26: PackageKit not available: Failed to get D-BUS system bus
>      python25: PackageKit not available: Failed to get D-BUS system bus
>      http://0install.net/2007/interfaces/ZeroInstall.xml 2.3.5 requires
> version 2.6..!3 | 3.2.2..
> - http://repo.roscidus.com/python/python-gobject -> (problem)
>      python-gobject2: PackageKit not available: Failed to get D-BUS
> system bus
>      pygobject2: PackageKit not available: Failed to get D-BUS system bus
>      python3-gobject: PackageKit not available: Failed to get D-BUS
> system bus
>      No known implementations at all
> - http://repo.roscidus.com/security/gnupg -> 1.4.19-0
> (package:macports:gnupg:1.4.19-0:*)
>      http://0install.net/2007/interfaces/ZeroInstall.xml 2.3.5 requires
> 'run' command
>
> Python problems I guess...

Does this work?

python2 -c 'import gobject'

If not, installing python-gobject should help.

I think we have other people here using 0compile on OS X... how do you
make it work?


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140