From: Marc S. <ma...@au...> - 2001-03-12 23:04:40
|
... > > 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)? > > >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 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. > > TIA, > > - Mike Donahue > > > > > > Marc Stephenson <ma...@au...> on 03/12/2001 10:54:24 AM > > Please respond to ma...@au... > > To: Michael J. Donahue/MCLEOD@MCLEOD > cc: aix...@dw... (AIX Toolbox Mailing List) > Subject: Re: [toolbox-l] rpm 3.0.5 missing database library > > > > 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 > 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? > > Marc > (P.S. Reflected to AIX toolbox mailing list - > aix...@os...) > > > > > > > > > > > Hi - > > > > I'm trying to build some tools for my rpm database and I need to re-build rpm > > 3.0.5 to get use of some of the tools it provides, but when I try to run > > configure rpm for the build, it complains that rpm needs db-1.85 API. > > > > I do have db ver 2.7.7 installed, but there are significant changes between > the > > two database versions, and 2.7.7 cannot even read the rpm database. Do you > have > > a copy of db-1.85 available??? > > > > Also, are there any other tools need to rebuild rpm that may not be avialable? > > > > TIA, > > > > - Mike Donahue > > > > > > _______________________________________________ > > aixtoolbox-list mailing list > > aix...@os... > > > http://oss.software.ibm.com/developerworks/opensource/mailman/listinfo/aixtoolbox-list > > > > > > -- > Marc Stephenson IBM Server Group - Austin, TX > Internet: ma...@au... NOTES: ma...@us... > Phone: 512-327-5670 T/L 678-3189 > > > > > > > _______________________________________________ > aixtoolbox-list mailing list > aix...@os... > http://oss.software.ibm.com/developerworks/opensource/mailman/listinfo/aixtoolbox-list > -- Marc Stephenson IBM Server Group - Austin, TX Internet: ma...@au... NOTES: ma...@us... Phone: 512-327-5670 T/L 678-3189 |