Re: Include file problem

From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: "Pasi Salminen" <pasi(dot)salminen(at)khf(dot)fi>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Include file problem
Date: 2001-06-11 14:28:04
Message-ID: xuy66e3um4r.fsf@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Pasi Salminen" <pasi(dot)salminen(at)khf(dot)fi> writes:

> Hello,
>
> I am trying to compile PostgreSQL 7.1.2 on Redhat Linux 7.0 in Intel Pentium Pro
> I have done following:
>
> 1. ./configure --prefix=/usr/local/pgsql --with-template=linux
> --with-odbc --disable-locale --with-pgport=5432 --enable-hba --with-perl
>
> 2. gmake
>
> Following error occurs:
> ...
> gmake[3]: Entering directory `/usr/local/src/postgresql-7.1.2/src/backend/libpq'
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include
> -c -o auth.o auth.c
> In file included from /usr/include/bits/posix1_lim.h:126,
> from /usr/include/limits.h:30,
> from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:1
> 30,
> from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.
> h:7,
> from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:1
> 1,
> from /usr/include/sys/param.h:22,
> from auth.c:21:
> /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
> directory

You miss the "kernel-headers"-package.,

> I know a little about programming and I think some include path are wrong.
> I have installed Redhat 7.0 without any modifications to the .iso
> package

Remember to keep your system up2date, by running up2date or manually
downloading the packages.

--
Trond Eivind Glomsrød
Red Hat, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Pilosov 2001-06-11 14:28:28 Re: getting non-atomic field with C API
Previous Message Steve Wampler 2001-06-11 14:26:48 Postgres and GFS?