pgcrypto-0.4.2 Compile problems under Suse Linux 7.2

Started by Phil Geerabout 24 years ago2 messagesgeneral
Jump to latest
#1Phil Geer
philg@gearcc.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Phil Geer (#1)
Re: pgcrypto-0.4.2 Compile problems under Suse Linux 7.2

"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