From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-pre2 i686) Is there a way to disable rpm2html trying to use mysql? Being forced on always makes it not usable for many purposes. Reproducible: Always Steps to Reproduce: Using rpm2html-1.5-4.i386.rpm 1. create a custom rpm2html config (just for yoor own locally installed pkgs for example) 2. run rpm2html 3. it will die due to being unable to connect to mysql.
Easiest fix is to recompile rpm2html w/o mysql support.
I will try to add a command line argument to skip the database operations even when compiled with database support Daniel
rpm2html: Symbol rpmTagTable' has different size in shared object, consider re-linking Does this hurt? Also, is the MySQL "rpmfind" database set-up documented anywhere? I've chosen to recompile rpm2html without MySQL to turn the package usable.
The database stuff is finally documented. It is not useful except if you plan to build an indexed queryable base. Documentation is in CVS. http://sources.redhat.com/cgi-bin/cvsweb.cgi/rpm2html/rpm2html-mysql-setup.txt?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=rpm2html I will make sure that the default is not to build with sql support since this is useful only to a minority of users. Considering "Symbol rpmTagTable' has different size in shared object"in my experience it is better to rebuild the package, yes. Daniel
Better yet, if rpmTagTable is causing problems, consider static linking, The cure for rpmTagTable changing size is going to be to take it out of the rpmlib API, leaving instead a pointer to a static table.
I just released rpm2html-1.6, it is not configured with mysql support by default (I expect only a minority of users to need this feature and they will need to read the associated doc anyway). This should fix this bug, Daniel