Thread: pgcrypto-0.4.2 Compile problems under Suse Linux 7.2

pgcrypto-0.4.2 Compile problems under Suse Linux 7.2

From
"Phil Geer"
Date:
Hello All,
    I'm fairly new to compiling programs under Linux so please forgive me if there is an easy answer to this problem. When I try and compile pgcrypto-0.4.2 on my SuSE 7.2 box I get the following error message.
 
checking for PostgreSQL backend headers... not found!
configure: error: PostgreSQL header postgres.h not found aborting....
 
The file postgres.h is located on the machine under.
 
/usr/local/pgsql/include
 
the command line I used to run configure is.
 
./configure --with-pgsql=/usr/local/pgsql
 
 
Thanks for any help.
Phil

Re: pgcrypto-0.4.2 Compile problems under Suse Linux 7.2

From
Tom Lane
Date:
"Phil Geer" <philg@gearcc.com> writes:
>     I'm fairly new to compiling programs under Linux so please forgive me i=
> f there is an easy answer to this problem. When I try and compile pgcrypto-=
> 0.4.2 on my SuSE 7.2 box I get the following error message.=20

> checking for PostgreSQL backend headers... not found!

To install the backend headers you should do "make install-all-headers"
along with "make install" when you build/install Postgres.  The basic
install only installs headers for compiling client applications, not
those needed to compile server addons.  pgcrypto evidently falls in the
latter class...

            regards, tom lane