Обсуждение: where can i find posges sql include directory...FC5.installing rpms

Поиск
Список
Период
Сортировка

where can i find posges sql include directory...FC5.installing rpms

От
"Faqeer ALI"
Дата:
i have installed post gres which comes with the distribution of Fedora Core
5..

but when i compiled opennms it needs to get the include directory of
postgres..
error cannot find postgres.h..

Any body plz help me...










           ALi

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces
friends module.

http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk


Re: where can i find posges sql include directory...FC5.installing rpms

От
"Shoaib Mir"
Дата:
You can get the include files as part of the source (http://www.postgresql.org/ftp/source/).

----------------
Shoaib Mir
EnterpriseDB ( www.enterprisedb.com)

On 12/12/06, Faqeer ALI <faqeerali@hotmail.com> wrote:

i have installed post gres which comes with the distribution of Fedora Core
5..

but when i compiled opennms it needs to get the include directory of
postgres..
error cannot find postgres.h..

Any body plz help me...










           ALi

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces
friends module.
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Re: where can i find posges sql include directory...FC5.installing

От
Richard Huxton
Дата:
Faqeer ALI wrote:
>
> i have installed post gres which comes with the distribution of Fedora
> Core 5..
>
> but when i compiled opennms it needs to get the include directory of
> postgres..
> error cannot find postgres.h..

Firstly try "locate postgres.h" and see if that finds it. If not, you
probably need to install the "devel" package for postgresql.]

You'll need to do this to get headers for most packages.

--
   Richard Huxton
   Archonet Ltd

Re: where can i find posges sql include directory...FC5.installing rpms

От
Tom Lane
Дата:
"Faqeer ALI" <faqeerali@hotmail.com> writes:
> i have installed post gres which comes with the distribution of Fedora Core
> 5..
> but when i compiled opennms it needs to get the include directory of
> postgres..
> error cannot find postgres.h..

Did you install postgresql-devel RPM?  It's in there:

...
/usr/include/pgsql/server/port/win32/sys
/usr/include/pgsql/server/port/win32/sys/socket.h
/usr/include/pgsql/server/port/win32/sys/wait.h
/usr/include/pgsql/server/postgres.h
/usr/include/pgsql/server/postgres_ext.h
/usr/include/pgsql/server/postgres_fe.h
/usr/include/pgsql/server/regex
/usr/include/pgsql/server/regex/regcustom.h
...

            regards, tom lane