Re: header mess!!!
On Sep 16, 2008, at 7:12 AM, Jeff Johnson wrote: A whole lot of headaches, not much that will build against it at all currently and I really dunno or dare to mess too much around with these things to get 'em working again.. What are you building? OK, most of yr issue seem to be with >rpm4compat.h> which is including lots of other files for API typedef's: #include #include #include #include #include #include #define _RPMTAG_INTERNAL #include #define _RPMEVR_INTERNAL #include #include #include #define _RPMPS_INTERNAL #include #include That list of includes can be pared down, and applications like urpmi and apt-rpm should stop including other files like rpmsx.h and mire.h, is my guess at what needs to happen when compiling with HEAD. 73 de Jeff __ RPM Package Managerhttp://rpm5.org Developer Communication Listrpm-devel@rpm5.org
Re: header mess!!!
On Sep 15, 2008, at 3:07 PM, Per Øyvind Karlsen wrote: OUCH! I've just gotten around to update my local rpm to latest from HEAD after not keeping track for a couple of months, there was some minor glitches first to get it to build, but now to get applications building against it is a whole kind of different mess. :(:( A lot of the public headers in /usr/include/rpm #includes files that no longer is installed to system, a lot of stuff also depends on things that's now declared in source files in stead of headers etcetcetc.. Yep. arekm asked for "standalone" headers, as in any header can be included and includes every other header it needs, Originally rpmlib.h was the only (at least wrto rpm, not system, headers) syandalone header. For the past couple years rpmcli.h has served the same "standalone" purpose. But if every rpm header needs to be standalone, and include system headers like portably, without AutoFu artifacts like #define HAVE_STDINT_H in /usr/ include/rpm/*.h, then the old scheme just won't do. A whole lot of headaches, not much that will build against it at all currently and I really dunno or dare to mess too much around with these things to get 'em working again.. What are you building? Jeff, you're the one who's been doing the major redecorationing, what's the deal? Are you aware of it or not, can you fix please? :) I can't fix without a hint of what needs fixing. 73 de Jeff__ RPM Package Managerhttp://rpm5.org Developer Communication Listrpm-devel@rpm5.org
header mess!!!
OUCH! I've just gotten around to update my local rpm to latest from HEAD after not keeping track for a couple of months, there was some minor glitches first to get it to build, but now to get applications building against it is a whole kind of different mess. :(:( A lot of the public headers in /usr/include/rpm #includes files that no longer is installed to system, a lot of stuff also depends on things that's now declared in source files in stead of headers etcetcetc.. A whole lot of headaches, not much that will build against it at all currently and I really dunno or dare to mess too much around with these things to get 'em working again.. Jeff, you're the one who's been doing the major redecorationing, what's the deal? Are you aware of it or not, can you fix please? :)