Re: Problems compiling PostgreSQL 7.2.2 rpm - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Problems compiling PostgreSQL 7.2.2 rpm
Date
Msg-id 20020824165837.3b6a0227.alvherre@atentus.com
Whole thread Raw
In response to Problems compiling PostgreSQL 7.2.2 rpm  (Devrim GUNDUZ <devrim@oper.metu.edu.tr>)
Responses Re: Problems compiling PostgreSQL 7.2.2 rpm  (Devrim GUNDUZ <devrim@oper.metu.edu.tr>)
List pgsql-general
En Sat, 24 Aug 2002 23:45:00 +0300 (EEST)
Devrim GUNDUZ <devrim@oper.metu.edu.tr> escribió:

Hello,

> 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

You need to install the XFree86-devel and/or XFree86-libs-devel (not
sure which one).

I don't know why is it trying to compile something with Tk anyway...
maybe you can disable that in the RPM, but I'm sure Lamar will tell you
exactly what is the problem.

The 7.2.2 RPM was released just yesterday, so Trond (teg, RedHat's
package mantainer) probably hasn't updated his package yet -- you may
have to wait for that.

--
Alvaro Herrera (<alvherre[a]atentus.com>)
"Nunca se desea ardientemente lo que solo se desea por razon" (F. Alexandre)

pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Problems compiling PostgreSQL 7.2.2 rpm
Next
From: Mark Stosberg
Date:
Subject: Re: OSS RDBMS Features Compared