Re: pg_sendmail function compile problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joseph" <lters(at)mrtc(dot)com>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_sendmail function compile problem
Date: 2001-01-22 03:27:03
Message-ID: 17097.980134023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Joseph" <lters(at)mrtc(dot)com> writes:
> I am using 7.1beta3-2 from rpm install.
> I added an include line but now it gives me the following error...
> make
> /bin/sh ./libtool --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/local/pgsql/include -I/usr
> /include/pgsql -c mail.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/local/pgsql/include -I/usr/inc
> lude/pgsql -c -fPIC -DPIC mail.c -o .libs/mail.lo
> In file included from /usr/include/pgsql/c.h:47,
> from /usr/include/pgsql/postgres.h:40,
> from mail.c:29:
> /usr/include/pgsql/config.h:662: os.h: No such file or directory
> make: *** [mail.lo] Error 1

> The os.h file points to ../.././src/include/port/linux.h which does not
> exist? :-(

That's a known RPM packaging error, which I thought we'd fixed for 7.1.
I can confirm it's not fixed, however. Lamar, what's up with this?

Joseph, you can grab that file from the source distribution and replace
the os.h link with it, until we get our act together ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Leibel 2001-01-22 03:33:02 'enum' equivalent?
Previous Message Willis, Ian (Ento, Canberra) 2001-01-22 00:40:00 RE: Performance Tuning, hardware-wise