From: Michael J. D. <mdo...@Mc...> - 2001-03-13 01:09:44
|
>> 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 >> >>> 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... ) >> 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?? TIA, - Mike Donahue |