Hiya guys,
I have updated Mandrake Update Robot to v0.8 and applied patches from
Pixel and probably solve the incompatibility between RPM v3 and RPM v4.
This one suppose to work for both RPM 3 and RPM 4. If it has a compile
problem with RPM 4, please let me know.
Webpage:
Hehehe.. that's odd. If you see my source code, it says this:
#ifdef RPMDBI_PACKAGES
#define RPM_VERSION_4
#else
#define RPM_VERSION_3
#endif
then I use #ifdef RPM_VERSION_4 ...
and so on.. hrhmm ... what's wrong?
What about the Makefile? Is it okay?
Thanks,
Prana
Pixel wrote:
Okay, try again:
http://www.cyest.org/downloads/MandrakeUpdateRobot-0.8-1mdk.src.rpm
http://www.cyest.org/downloads/MandrakeUpdateRobot.spec
http://www.cyest.org/downloads/MandrakeUpdateRobot-0.8.tar.bz2
Thanks,
Prana
Pixel wrote:
g++ -frtti -g -O2 -Werror -I/usr/include -I/usr/include/rpm -c
engine.cpp:289: request for member `count' in `matches', which is of non-aggregate
type `_dbiIndexSet *'
engine.cpp:291: request for member `recs' in `matches', which is of non-aggregate
type `_dbiIndexSet *'
engine.cpp:291: `rpmdbGetRecord' undeclared (first use this function)