>>>>> On Sat, 20 Aug 2011 12:52:31 +0200, Magnus Fromreide >>>>> <[email protected]> said:
MF> If I want to build with all code then I give configure the flag MF> --disable-minimalist (or nothing as this is the default) - Is this MF> correct? That is the default, so it shouldn't be needed. MF> If I want to build with all code that is required or wanted by something MF> I have configured then I give configure the flag --enable-minimalist - MF> Is this correct? Yes, but I'd word it differently: "If you want to remove code that isn't marked as needed by something else" then add that flag. MF> --with-out-features=A doesn't seem to trigger the generation of MF> features.h so make fails. Really? I'll have to check into that one. Did you specify --enable-minimalist too? I guess if you didn't then the best thing to do would be to have --with-out-features imply --enable-minimalist. MF> --enable-minimalist --with-out-features=A builds A but not AA. I MF> expected it to build neither. I guess that answers my question... Wee need to make it implied. And that should have worked (IE, A shouldn't have been built). Did you watch the configure output? Or look in include/net-snmp/feature-details.h which should have showed you why it added that component in (IE, what required it; look at the comments). MF> --with-features=AA --with-out-features=A doesn't seem to trigger the MF> generation of features.h so make fails. Same problem... MF> --enable-minimalist --with-features=AA --with-out-features=A builds A MF> and AA. I expected an error message since the configuration is MF> inconsistent. MF> Is my source file correct? MF> Do --with-out-features work? You should have gotten errors. I know that I tested those particular things. If everything was in one file, I do wonder if that caused the problem. The ordering of how things are processed are very important. IE, the headers must be processed in careful ordering (and you *can't* run make features using a -j flag; parallel feature checks won't work). I'm assuming, by the way, you've read this: http://www.net-snmp.org/wiki/index.php/Feature_Marking_and_Selection -- Wes Hardaker Please mail all replies to [email protected] ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
