Install RPostgreSQL on RHEL 6.5 libpq-fe.h Error

后端 未结 2 612
故里飘歌
故里飘歌 2021-02-07 15:38

I have RHEL 6.5 Server with an installation of R (3.1.1) & RStudioServer (0.98.1062)

I have postgresql-9.3 installed and handling a large database. In order to conne

2条回答
  •  深忆病人
    2021-02-07 15:41

    I ended up looking into the RPostgreSQL configure file in the tarball, searched for the file name the script couldn't find and decided it was easiest to create an environmental variable:

    export PG_INCDIR=/usr/pgsql-9.3/include/

    Worked like a charm after that.

    If you have sudo rights, you could also try:

    yum install postgresql-devel

提交回复
热议问题