Hi,

On Fri, Dec 13, 2013, cat fa wrote:
> When I did sherpa -install all, nothong was downloaded.

Most likely you didn't set the predicates (right).

Predicates are these two lines in the documentation:
  yypkg -config -setpreds host="i686-w64-mingw32"
  yypkg -config -setpreds target="i686-w64-mingw32"
(or x86_64-w64-mingw32 if you install for 64b toolchains with the
"windows_64" repo)

They are free-form: both key and value can be set when creating a
package. If a value is set in the package, the same value has to be set
in the config of the package manager when installing.

You should probably run these commands again as it's fairly easy to have
a typo somewhere in the strings and since they are free-form, no
coherency check can be done when setting them.

By the way, this feature is meant to avoid mixing repositories and
installing packages for one architecture while packages for another one
are actually wanted. This can happen mostly when installing packages by
hand.
However installing by hand is not the common case and it might make
sense to automatically set the predicates from the package repository
that is selected. I need to think a bit more about it but that would be
nice and probably wouldn't make the check less efficient.

In any case, I've added a message in sherpa which will print the number
of packages that are valid after filtering through the predicates. This
should make it much easier to understand what is going on.
(I'm also going to add a FAQ to make the message something that can be
looked up on a search engine)

This will be available in the next update. Thanks.

Regards,
Adrien Nader

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to