Обсуждение: Uninstalling PostgreSQL ??!!
This message was sent from Geocrawler.com by "Adam Walczykiewicz" <adam.walczykiewicz@multiuser.com.pl> Be sure to reply to that address. Hi! I've compiled and installed PostgreSQL v.6.5.2. (I use SuSe Linux 6.2.). Now I want to replace it with v.6.5.3. There is "make clean" statement in Makefile. But where to find "make uninstall"? Is PostgreSQL install only in /usr/local/pgsql (I used default Dir) and it's enough to rm -f from that directory(?!). (I would like to make PostgreSQL.RPM for SuSe Linux.that's why I have to know how to uninstall...) Thanks for any help! Adam(adam.walczykiewicz@multiuser.com.pl) Geocrawler.com - The Knowledge Archive
On Thu, 13 Jan 2000, Adam Walczykiewicz wrote: > This message was sent from Geocrawler.com by "Adam Walczykiewicz" <adam.walczykiewicz@multiuser.com.pl> > Be sure to reply to that address. > > Hi! > I've compiled and installed PostgreSQL v.6.5.2. > (I use SuSe Linux 6.2.). > Now I want to replace it with v.6.5.3. > There is "make clean" statement in Makefile. > But where to find "make uninstall"? One more reason to move to automake, ey? > Is PostgreSQL install only in /usr/local/pgsql > (I used default Dir) and it's enough to > rm -f from that directory(?!). Yes. > > (I would like to make PostgreSQL.RPM for SuSe > Linux.that's why I have to know how to > uninstall...) I think you have a misconception about RPMs. Your easiest bet would be to start at with the RedHat RPMs and adjust what needs adjusting. -- Peter Eisentraut Sernanders vaeg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
Does the PostgreSQL project officially only support Red Hat - I sure would like to see SuSE supported and mentioned instead of just Red hat. I'd be happy to generate SuSE RPMs for distribution via the PostgreSQL site. I thought I saw some discussion about this issue earlier. Who generates the SuSE rpms distributed with the SuSE release. These are of no value to me because I wish to use /usr/local/pgsql for PostgreSQL. Steve Peter Eisentraut wrote: > On Thu, 13 Jan 2000, Adam Walczykiewicz wrote: > > > This message was sent from Geocrawler.com by "Adam Walczykiewicz" <adam.walczykiewicz@multiuser.com.pl> > > Be sure to reply to that address. > > > > Hi! > > I've compiled and installed PostgreSQL v.6.5.2. > > (I use SuSe Linux 6.2.). > > Now I want to replace it with v.6.5.3. > > There is "make clean" statement in Makefile. > > But where to find "make uninstall"? > > One more reason to move to automake, ey? > > > Is PostgreSQL install only in /usr/local/pgsql > > (I used default Dir) and it's enough to > > rm -f from that directory(?!). > > Yes. > > > > > (I would like to make PostgreSQL.RPM for SuSe > > Linux.that's why I have to know how to > > uninstall...) > > I think you have a misconception about RPMs. Your easiest bet would be to > start at with the RedHat RPMs and adjust what needs adjusting. > > -- > Peter Eisentraut Sernanders vaeg 10:115 > peter_e@gmx.net 75262 Uppsala > http://yi.org/peter-e/ Sweden > > ************
Hi Steve, The PostgreSQL project is willing to support any os it can. We have Redhat RPMS on our site, because someone (Lamar Owen) took the time to do it, then submitted them. You may do the same. Ideally we'd like to have a package/bin for each os. Jeff ===================================================================So long as the Universe had a beginning, we can supposeit had a creator, but if the Universe is completly self contained , having no boundry or edge, it would neither be created nor destroyedIt would simply be. ===================================================================
Stephen Birch wrote: >Does the PostgreSQL project officially only support Red Hat - I sure would l >ike to see SuSE supportedand >mentioned instead of just Red hat. I'd be happy to generate SuSE RPMs for d >istribution via the PostgreSQL>site. > >I thought I saw some discussion about this issue earlier. > >Who generates the SuSE rpms distributedwith the SuSE release. These are of > no value to me because I wish >to use /usr/local/pgsql for PostgreSQL. If you generate RPMs for SUSE, rather than just for your own use, you will surely need to conform to their policy. I should be most surprised if that allowed their RPMs to use /usr/local, which should be for the local administrator rather than for the distribution. That is, of course, why Red Hat's RPMs and Debian's packages relocate PostgreSQL into directories that conform to those distributions' policies. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID32B8FAA1 ======================================== "For the LORD is good; his mercy is everlasting; and his truth endureth to all generations." Psalms 100:5
Oliver Elphick wrote: > > Stephen Birch wrote: > >Does the PostgreSQL project officially only support Red Hat - I sure would l > >ike to see SuSE supported and > >mentioned instead of just Red hat. I'd be happy to generate SuSE RPMs for d > >istribution via the PostgreSQL > >site. > > > >I thought I saw some discussion about this issue earlier. > > > >Who generates the SuSE rpms distributed with the SuSE release. These are of SuSE does their own -- according to rpmfind.net, they've split things up worse than RedHat ever did. They also put things in different places than RedHat does, which, of course, they are certainly free to do. > If you generate RPMs for SUSE, rather than just for your own use, you will > surely need to conform to their policy. I should be most surprised if > that allowed their RPMs to use /usr/local, which should be for the local > administrator rather than for the distribution. > > That is, of course, why Red Hat's RPMs and Debian's packages relocate > PostgreSQL into directories that conform to those distributions' > policies. Thank you, Oliver, for explaining that. I really wish that the various Linux distributions could standardize some things -- it is really aggravating as a packager of RPMS -- SuSE has one way and place to store things, RedHat as another, Caldera has yet another. Which is why I have labeled the RPMS I have built as _RedHat_ -- that's what I've got, so that's what I am able to support. I just received documentation from a nice chap who has successfully installed and gotten working the JDBC client in the RPM distribution -- man, I'm very grateful for documentation! I know that there have been a couple of users who have gotten the RedHat RPM's to be usable under SuSE -- I just need more information -- in particular, where does SuSE like to put things? What environment variables and RPM macros are defined under SuSE during the build, so that conditional logic can be put in the source RPM -- having a single source RPM is a big plus, because then everybody can build from a common knowledge base. According to rpmfind.net, the SuSE RPM's are very different from the RedHat ones -- which I regret. However, I picked up the maintenance of an existing RPM so that existing users wouldn't be drastically surprised at the changes, rather than me building a whole new set of RPM's. Feel free to look at the source RPM for RedHat, and look carefully in my README.rpm as to package rationale. Feel free to take what I've done and modify it for SuSE. And, if you're going to do the above, please document it so that others can understand it. I would like to see a single RPM base that worked for all the RPM-based distributions -- sure would make support easier! -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Jeff MacDonald wrote: > The PostgreSQL project is willing to support any os it > can. We have Redhat RPMS on our site, because someone > (Lamar Owen) took the time to do it, then submitted them. Thanks, Jeff. > You may do the same. Ideally we'd like to have a package/bin > for each os. If anyone wants to pick up RPM's for SuSE or Caldera (or any other RPM-based distribution), I'll be perfectly happy to help them get started. I would like any other RPM's to be as close as possible to the RedHat ones to simplify support, but that's not absolutely necessary. I'll also offer any of the spec file stuff and upgrading scripts to them to expedite their efforts -- after all, I was able to take Oliver's Debian upgrade scripts and modify them to work very nicely under RedHat without a great deal of effort (once I understood them, that is). The documentation of the packaging differences in the various distributions would be very helpful to have on the PostgreSQL site -- I've put the RPM readme on the ftp site under bindist/RPM (Jeff, if SuSE and Caldera folks get this running, we might want to rename the bindist/RPM dir to bindist/RedHat, as those RPM's and that documentation is pretty RedHat-specific), and I'd like to see the Debian documentation (simple docs -- where is PGDATA, what is the name and parameters of the startup script, etc) placed on the PostgreSQL site as well -- Oliver has already mentioned that the standard download site for the Debian packages is the Debian distribution's site, so ftp.postgresql.org may not need the .deb's online. Just a thought. Of course, those are just the Linux packages. There are many other systems that have package managers for which it would be useful to have prebuilt binaries available for download. I am bothered more than a little of the thought that the RPM-based linux distributions are so different that a single RPM set can't work with all of them equally well. Of course, that can happen under open source -- the distributors are certainly free to do it their own way. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11