[gobolinux-devel] Use-flags / Dependencies

David Karell mccoy at doctor.com
Fri Jul 4 04:18:28 NZST 2008


Hello fellow GoboLinux users/developers!

This is the first time I write to this list, some of you've seen me on
irc.

First of all, use-flags is a really nice feature which hopefully will
become more and more integrated into the system.
I've identified an issue,  however.

Perhaps I want to compile this great package X, which depends on library
Y. The problem is that X will only compile/link properly if library Y was
built with a specific use-flag.

A real-life example is centerim, a ncurses icq/msn/yahoo/...--client. It
needs libcurl, but in addition libcurl must've been built with
ssl-support. "Luckily", the configure-phase will fail when it detects
that there's no ssl-support in libcurl, but this may not always be true
for other programs.

Sometimes, the program would compile but with reduced functionality
(configure-phase won't really stop).

It'd be good with a "was_this_other_package_Y_built_with_use_flag_xxx"
directive in recipes, and then take some action, for instance, print a
more userfriendly message, explaining to the user what to do.

I don't think we'd like to recompile other packages with additional
use-flags automatically, though it could be done to resolve such
problems. Anyway, there may be other uses for such a directive that takes
some action depending on another package's useflags.

Best Regards
/David Karell

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20080703/bf86c7f8/attachment.htm 


More information about the gobolinux-devel mailing list