Re: How to expand environment variable in compilation command?
Ilja Honkonen <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
> Works for me, after two minor changes (my version attached): > - I used the original bash URL, not your local path (it should work > for you now you've downloaded bash with the OCaml version). Thanks, it's trying to run win-bash.exe: 0compile autocompile test2.xml ... CPPFLAGS=/Users/iljah/.local/share/0install.net/site-packages/file/Users__iljah__0inst-test__boost__boost.xml/1.59.0-x86_64/include Executing: [u'/Users/iljah/.cache/0install.net/implementations/sha1new=624fe11b4b9f88c1087ed915e2c66b07edaf62dd/win-bash.exe', u'-c', u'"$@"', u'-', u'c++', u'/Users/iljah/0inst-test/test/test.cpp', u'-o', u'/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-LEhq1A/test2-any-any/test'] [Errno 13] Permission denied Also note for-each hasn't done anything, I tried replacing your local 0compile feed with my boost feed and http://repo.roscidus.com/games/openttd, same result. > - I used a different interface (0compile) for the dependency, since > you used a local path. > Executing: [u'/bin/bash', u'-c', u'"$@"', u'-', u'c++', > u'/tmp/test.cpp', u'-o', u'/tmp/0compile-iA0bJX/test-any-any/test', > u'-I /home/tal/Projects/zero-install/0compile/include'] I only changed back to my local boost feed and local bash feed and got: Executing: [u'/Users/iljah/.local/share/0install.net/site-packages/file/Users__iljah__0inst-test__lfs__bash__bash.xml/4.3.30-x86_64/bin/bash', u'-c', u'"$@"', u'-', u'c++', u'/Users/iljah/0inst-test/test/test.cpp', u'-o', u'/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-5E6dEA/test2-any-any/test'] 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. Ilja ------------------------------------------------------------------------------ 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