well let's see rpm -ql postgresql-devel
lists the following directorys as having files
/usr/lib/pgsql
/usr/include/pgsql
so now what do i set POSTGRES_HOME to to get this to work? It would be nice had
it been /usr/pgsql/include and /usr/pgsql/lib but it is not that way.
so do I have to hack the Makefile? Why is it that PostgreSQL has a different
directory structure for the same version on different distributions? I just want
to get this thing installed and working.
Oliver Elphick wrote:
> astromonk wrote:
> ....
> >I checked the documentation and still not sure what I should set POSTGRES_HO
> >ME to.
> >I set it to /usr/lib/pgsql where some files are found and /var/lib/pgsql whe
> >re other
> >postgres files are found and tried to install DBD but it still told me that
> >I needed to
> >set POSTGRES_HOME. What is DBD looking for anyway?
>
> It's using it here (Makefile.PL):
> my %opts = (
> ....
> INC => "-I$ENV{POSTGRES_HOME}/include ...
> ....
> LIBS => ["-L$ENV{POSTGRES_HOME}/lib -lpq"],
>
> );
>
> So it wants to find the include files and the libraries.
>
> --
> Vote against SPAM: http://www.politik-digital.de/spam/
> ========================================
> Oliver Elphick Oliver.Elphick@lfix.co.uk
> Isle of Wight http://www.lfix.co.uk/oliver
> PGP key from public servers; key ID 32B8FAA1
> ========================================
> "And why call ye me, Lord, Lord, and do not the things
> which I say?" Luke 6:46