On 6/18/2015 8:11 PM, Sam Varshavchik wrote: > Bowie Bailey writes: > >> I am trying to build courier-authlib on a CentOS 5 system and have found >> an error with sqlite. Based on some Google searching, it looks like the >> problem is that sqlite 3.3.6 is too old. Unfortunately, that is the >> latest version available from the standard CentOS repos for CentOS 5. >> >> Since I am not interested in actually using courier-authlib-sqlite, is >> there a way to prevent rpmbuild from building it? > > This requires some manual work. Extract courier-authlib.spec from the > tarball, and edit it. Remove sqlite-devel here: > BuildRequires: mysql-devel zlib-devel sqlite-devel > > And append --without-authsqlite to the %configure line. > > This should end up building an empty courier-authlib-sqlite rpm. > > It's also possible to remove all remaining references to sqlite from > the spec file, and not build it at all. > > When done, use rpmbuild -ba with the modified spec file.
Perfect! That worked. Thanks! I've added that to my build notes for next time. -- Bowie ------------------------------------------------------------------------------ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users