Red Hat Bugzilla – Bug 27649
rpm2html forcing sql support
Last modified: 2008-05-01 11:37:59 EDT
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.
Steps to Reproduce:
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
rpm2html: Symbol rpmTagTable' has different size in shared object,
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.
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.
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,