Hi,
I'm trying to build the rpm using srpm on a RedHat 7.3, which I downloaded
from
http://www.ca.postgresql.org/ftpsite/binary/v7.2.2/RPMS/SRPMS/
However, I have a problem; cannot build the srpm. Here is the error:
------
/usr/bin/ld: warning: libcom_err.so.3, needed by ../../../src/interfaces/libpq/libpq.so, may conflict with
libcom_err.so.2
gcc -O2 -march=i686 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpgtcl
-I../../../src/include-I/usr/kerberos/include
-I/usr/X11R6/include -c -o pgtkAppInit.o pgtkAppInit.c
In file included from pgtkAppInit.c:15:
/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
make[3]: *** [pgtkAppInit.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.2.2/src/bin/pgtclsh'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.2.2/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.2.2/src'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.81486 (%build)
------
Searched through the spec file, but could not find anything related to the
error...
Am I doing something wrong?
Also, there is no up2date rpm in http://people.redhat.com/teg/pg/ , even
though it's been told so in http://www.ca.postgresql.org/sitess.html.
Best regards.
--
Devrim GUNDUZ
devrim@oper.metu.edu.tr Tel : (312) 295 9318
devrim.gunduz@linux.org.tr Faks : (312) 295 9494
Web : http://devrim.oper.metu.edu.tr
-------------------------------------