gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe] supported databases/drivers


From: Adrian Maier
Subject: Re: [GNUe] supported databases/drivers
Date: Fri, 19 Mar 2004 09:58:50 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2

Stefan Elwesthal wrote:

Now I'm answering myself :) Just to mention, I just tried to install psycopg myself, but configure failed with the following message: checking how to run the C preprocessor... gcc -pthread -E checking whether make sets ${MAKE}... yes checking for inline... inline checking PostgreSQL version... configure: error: missing PostgreSQL headers I don't know exactly what that means, since I have every available postgres package installed (I thought it was the ordinary missing -devel package but that was not the case).


When you are compiling psycopg or pygresql yourself,  you need some
postgresql header files that are not installed by default
(these are the header files used by the postgres server, and
they are not usually useful on the client-side) .

I allways install postgres from sources, like this:

(untar postgresql sources)
./configure
make
make install


In order to install those header files as well, you need to run:
make install-all-headers


Afterwards, when building psycopg/pygresql,  you'll need to "tell"
him where to find the header files it needs, by specifying some
command line parameters. I have done this a few days ago. If i had my
notes with me right now i could have given you more details.


Cheers,
Adrian Maier






reply via email to

[Prev in Thread] Current Thread [Next in Thread]