Problems compiling PostgreSQL 7.2.2 rpm

From: Devrim GUNDUZ <devrim(at)oper(dot)metu(dot)edu(dot)tr>
To: PostgreSQL Mailing Lists-General <pgsql-general(at)postgresql(dot)org>
Subject: Problems compiling PostgreSQL 7.2.2 rpm
Date: 2002-08-24 20:45:00
Message-ID: Pine.LNX.4.44.0208242338320.3755-100000@oper.metu.edu.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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(at)oper(dot)metu(dot)edu(dot)tr Tel : (312) 295 9318
devrim(dot)gunduz(at)linux(dot)org(dot)tr Faks : (312) 295 9494

Web : http://devrim.oper.metu.edu.tr
-------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2002-08-24 20:58:37 Re: Problems compiling PostgreSQL 7.2.2 rpm
Previous Message Marc G. Fournier 2002-08-24 19:29:50 Re: [GENERAL] PostgreSQL 7.2.2: Security Release