Re: compilation error

Поиск
Список
Период
Сортировка
От ghaverla@freenet.edmonton.ab.ca
Тема Re: compilation error
Дата
Msg-id Pine.A41.3.95.1010308081510.26808F-100000@freenet.edmonton.ab.ca
обсуждение исходный текст
Ответ на compilation error  ("Daniel A. Melo" <daniel@codata.com.br>)
Список pgsql-novice
On Thu, 8 Mar 2001, Daniel A. Melo wrote:

> I�m getting compilation errors.
>
> The configure could not find some headers files (limits.h, netdb.h,
> pwd.h...) .
> i searched for them  and they are in
> "/usr/src/linux-2.2.17/include/linux" and " /usr/include"

Are you saying that there is only 1 of each of those files,
distributed across the 2 different directory trees, or that
both directory trees contain files with those names?

I believe I've seen mention that application programs (like
PostgreSQL) should NOT be using kernel headers.  Apparently
that is going to be made more difficult in the 2.4.x series.

> i�ve tryed:
>
> ./configure --prefix="/usr/local/pgsql" --with-perl --with-odbc
> --with-includes="/usr/src/linux-2.2.17/include/linux    /usr/include"

This doesn't quite look right (the includes directive).  I would
expect something like a PATH statement
 /usr/src/linux-2.2.17/include/linux:/usr/include
or
 --with-includes=/usr/src/linux....  --with-includes=/usr/include
But, since /usr/include should always be part of the includes
path, you shouldn't need to give this to the configure command.
It is for additional includes (I believe).

Gord

Matter Realisations     http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101  9504 182 St. NW    Edmonton, AB, CA  T5T 3A7
780/481-8019            ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)



В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: AOLServer/PHP/PostGres Site...
Следующее
От: Catalin CIOCOIU
Дата:
Сообщение: List Tables !