Could someone please remind me why --with-capath is mandatory when --enable-ssl is used? The default is only useful if you actually use --with-ssl=some/path. I have a patch that changes the default to $sysconfdir/certs, but in the long run I think this should be something configured through the XML input (eg. you enable CA checking for some set of URLs and you give the patch to the trusted certs).
-aaron