Re: Problems compiling PostgreSQL 7.2.2 rpm

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Devrim GUNDUZ <devrim(at)oper(dot)metu(dot)edu(dot)tr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problems compiling PostgreSQL 7.2.2 rpm
Date: 2002-08-24 20:58:37
Message-ID: 20020824165837.3b6a0227.alvherre@atentus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

En Sat, 24 Aug 2002 23:45:00 +0300 (EEST)
Devrim GUNDUZ <devrim(at)oper(dot)metu(dot)edu(dot)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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Stosberg 2002-08-24 23:59:08 Re: OSS RDBMS Features Compared
Previous Message Devrim GUNDUZ 2002-08-24 20:45:00 Problems compiling PostgreSQL 7.2.2 rpm