Re: Select source dependencies with 0compile select

Björn Pollex <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
I had a typo below, I was talking about the 0compile setup command, rather than 0compile select.

Cheers,

	Björn

> On 13 Jul 2015, at 12:02, Björn Pollex <[email protected]> wrote:
> 
> Hi all,
> 
> It seems that 0compile select doesn’t consider source versions for dependencies. While 0compile autocompile recursively compiles source dependencies no binary version can be found, apparently select doesn’t.
> 
> Given this requirement:
> 
> <requires interface=“/path/to/local/source-feed.xml”>
>   <environment name="CPPPATH" insert="include" mode="prepend" separator=" "/>
>   <environment name="STATICLIBS" insert=“lib/libsource.a" mode="prepend" separator=" “/>
> </requires>
> 
> And this implementation in a local source feed:
> 
> <implementation arch="*-src" id="." local-path="." version="0.1-pre">
>   <command name="compile" shell-command="cmake &quot;$SRCDIR&quot; -DCMAKE_INSTALL_PREFIX=$DISTDIR &amp;&amp; make &amp;&amp; make install" />
> </implementation>
> 
> The running 0compile select fails:
> 
> Can't find all required implementations:
> - /path/to/local/source-feed.xml -> (problem)
>     No usable implementations:
>       . (0.1-pre): Source code
> 
> However, when I use 0compile to build the library, and then reference the generated binary feed instead, everything works. Is there a way to make 0compile select consider source versions of dependencies?
> 
> Cheers,
> 
> 	Björn
> 
> ------------------------------------------------------------------------------
> 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
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.