From: Marc S. <ma...@au...> - 2001-03-13 07:21:56
|
... > > > > >> Marc - > >> > >> Thanks for your quick reply. > >> > >>> When you build db, you need to configure with --enable-compat185. We have > >>> db (it's really db1) available as an RPM in the AIX Toolbox, and it is > >> > >> Well, no I didn't build db 2.7.7 with the --enable-compat185. I just > installed > >> the pre-built rpm. I suppose I can rebuild db if that is necessary. Would > it > >> make sense to provide the 2.7.7 rpm for db with this already done for the > >> future? > > > >db-2.7.7-3 was built with --enable-compat185. You don't have another > >libdb.a on your system aside from the one in /opt/freeware/lib (not counting > >the symlink to that one in /usr/lib)? > > Actually, I don't even have a /opt/freeware/lib/libdb.a file so I'll assume > you really mean /opt/freeware/BerkeleyDB/lib/libdb.a. That's all there is > in /opt/freeware/BerkeleyDB/lib. I noticed that you stated db-2.7.7-3, I > downloaded db-2.7.7-1 from the web site this morning. That's all I show > on the download wed site, or is this the wrong URL:? > > URL: http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html Yeah, you're right on both counts - sorry for being so sloppy. The -3 version is for the upcoming deliverable which you'll be hearing about so long as you've subscribed to the mailing list. > > >> > >>> also installed as part of our rpm.rte installp image for 4.3.3. > >> > >>> You have your own rpm then, and not the version from the AIX toolbox? > >> > >> Yes, I used the rpm.rte package to install rpm 3.0.5 and then I downloaded > the > >> rpm 3.0.5 source from the web page. I need to build the rpm tools in order > to > >> get one of the utilities I'm working on to work. > > > >I wouldn't think that you would need to rebuild rpm in most circumstances. > >There are libraries for build and development shipped with rpm. What's missing > >that you needed? Maybe we missed something. > > > > I'm looking for built versions of the programs found in the tools directory. > Partially to know how to properly build a program that uses the rpm API on AIX, > and partially to just use the tools. (ie. dump.c, dump.db.c, etc... ) What do you know? I've been working on rpm for months, and I've never paid attention that some of those tools aren't shipped. Once I got RPM working, I pretty much just moved on to the other things that needed to be worked on. Have you pulled down our SRPM for rpm and just built it using rpm? That should get you most of the way there, I'd think. Would you not just be able to visit the tools directory and do make those specific tools from there, then? > > > >> I have also noticed that the normal install of rpm installs itself as > >> rpm-'version'-'release', but it looks like the AIX rpm.rte version is in the > rpm > >> database as AIX-rpm-'aix version'-'release' (ie. AIX-rpm-4.3.3.10-1). I > found > >> this a bit odd. Can you elaborate on why this was done this way? > > > >That's not rpm. That is a virtual package which gets built when rpm.rte > >is installed to provide RPM with the information about what was installed > >via installp. It's basically lslpp -f | /usr/lib/rpm/find-provides with > >a little bit extra logic. It allows rpm to find the dependencies provided > >by things installed by installp. If there weren't such a thing, you would > >have to disable dependency checking every time that you used rpm. If you > >run 'rpm -q --provides AIX-rpm' you'll what AIX-rpm does for you. If you > >install more support via installp later (like if you installed some optional > >X libraries), then you would run /usr/sbin/updtvpkg to update AIX-rpm. The > >level of AIX-rpm is derived from your system level and a counter indicating > >the number of times that updtvpkg was run. > > > > Ahhhh, I see the light! I'm new to rpm construction, and am just learning > how to query the db for info. Nice approach, but a bit confusing. Just a > though, but might it be better described without the rpm in the name?? I added the rpm because there IS information about the functions installed with rpm.rte, which is technically not AIX. I originally called that virtual packages "SysProvides," but I just personally found that an awkward name. I originally excluded the information from rpm.rte, but ran into situations where things were failing to install because they needed something that actually WAS provided by rpm.rte - the compression library zlib, for example. I chose to represent what was actually installed as closely as possible. > > TIA, > > - Mike Donahue > > > -- Marc Stephenson IBM Server Group - Austin, TX Internet: ma...@au... NOTES: ma...@us... Phone: 512-327-5670 T/L 678-3189 |