Howdy!
I was wondering if anyone has installed the postgres 7.0.2-2 on Red Hat 7.0? I have Red Hat running on a box with an AMD processor (K62). I used to have 6.5.3 installed on the same box, but running Red Hat 6.2 and it worked great! But now, I am having serious difficulties with the installation of 7.0.2-2. I tried installing the binary rpm's (i386) and I got this error:
Error: Failed dependencies:
libncurses.so.4 is needed by postgresql-7.0.2-2
libreadline.so.3 is needed by postgresql-7.0.2-2
I successfully uninstalled 6.5.3, so I am pretty sure that it isn't picking up old versions. So then I tried compiling the source for 7.0.2 and got this error:
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I.. -c -o
comment.o comment.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I.. -c -o copy.o
copy.c
copy.c: In function `CopyFrom':
copy.c:1019: Insn does not satisfy its constraints:
(insn 89 2735 92 (set (mem:HI (plus:SI (reg:SI 6 ebp)
(const_int -52 [0xffffffcc])) 0)
(mem/s:HI (mem:SI (plus:SI (reg:SI 6 ebp)
(const_int -144 [0xffffff70])) 0) 8)) 36 {*movhi_1} (nil) (nil))
copy.c:1019: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8110
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [copy.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/postgresql-7.0.2/src/backend/commands'
make[1]: *** [commands.dir] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/postgresql-7.0.2/src/backend
'
make: *** [all] Error 2
Now, I am pretty sure that this isn't good. So, I was wondering if this was a problem with Red Hat 7.0 or with the way I have setup my system.
If you have any suggestions, I would be greatly appreciative.
Thanks!
Darrin