Thread: Postgres on Linux Alpha
Hi people! I'm currently trying to install Postgres 6.5.3 on my Alpha ev56 proc. I'm using gcc 2.95.2, and this is a glibc 2.1.2 system (RH6). Everything's brand new, so as to maximize chances (hope). I've configured --with-template=linux_alpha, and the making worked fine. But when launching initdb, postgres hang, complaining about spin.c (l.114). I did something stupid: commented out the lock lines in spin.c, then recompiled. This time, initdb worked (though destroydb doesn't happen to work any more). But i'm pretty sure it wasn't the right thing to do ;-) Any idea, someone ? Regards Fabrice Scemama
On Mon, 8 Nov 1999, Fabrice Scemama wrote: > I'm currently trying to install Postgres 6.5.3 on my Alpha ev56 > proc. I'm using gcc 2.95.2, and this is a glibc 2.1.2 system (RH6). > Everything's brand new, so as to maximize chances (hope). > I've configured --with-template=linux_alpha, and the making > worked fine. But when launching initdb, postgres hang, complaining > about spin.c (l.114). > > Any idea, someone ? Yea, run over to http://www.rkirkpat.net/software/ (my site) and grab the Linux/Alpha patches for 6.5.2. They apply cleanly to the 6.5.3 tarball, and when compiled, produce binaries that work great. Either that, or go to http://www.ramifordistat.net/postgres/ and grab the SRPM and compile it (includes patch). If you don't really want to compile them, wait a day or two and I should have some Linux/Alpha RPMs compiled and to Lamar (the owner of the RPM site). Without these patches, pgsql will not run out of the box on Linux/Alpha. Hopefully it will in 7.0 a few (?) months from now. If you hit any more problems with getting pgsql running on your Linux/Alpha box, feel free to email me. --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | ---------------------------------------------------------------------------
> Yea, run over to http://www.rkirkpat.net/software/ (my site) and > grab the Linux/Alpha patches for 6.5.2. They apply cleanly to the 6.5.3 > tarball, and when compiled, produce binaries that work great. Either that, > or go to http://www.ramifordistat.net/postgres/ and grab the SRPM and > compile it (includes patch). If you don't really want to compile them, > wait a day or two and I should have some Linux/Alpha RPMs compiled and to > Lamar (the owner of the RPM site). > Without these patches, pgsql will not run out of the box on > Linux/Alpha. Hopefully it will in 7.0 a few (?) months from now. > If you hit any more problems with getting pgsql running on your > Linux/Alpha box, feel free to email me. Why don't we apply this to 6.5.*. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
On Tue, 9 Nov 1999, Bruce Momjian wrote: > > Without these patches, pgsql will not run out of the box on > > Linux/Alpha. Hopefully it will in 7.0 a few (?) months from now. > > Why don't we apply this to 6.5.*. Not to sound annoyed here (long, long day), but we have been down this path before. The general consensus (sp?) was that parts were to radical (for 6.5.* maint. releases) and had a tendency to break other platforms. A quick test showed that they broke Linux/Intel to some extent. :( Yea, I know I could clean them up with #define __alpha__ type fun, and I plan to do so, probably for the 6.6 release (what I really meant to say above). It is just right now busy is an understatement for my life. For some reason, my professors see design projects as more important than hacking Postgres. :( --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | ---------------------------------------------------------------------------
> On Tue, 9 Nov 1999, Bruce Momjian wrote: > > > > Without these patches, pgsql will not run out of the box on > > > Linux/Alpha. Hopefully it will in 7.0 a few (?) months from now. > > > > Why don't we apply this to 6.5.*. > > Not to sound annoyed here (long, long day), but we have been down > this path before. The general consensus (sp?) was that parts were to > radical (for 6.5.* maint. releases) and had a tendency to break other > platforms. A quick test showed that they broke Linux/Intel to some extent. > :( Just wondering. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026