The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cant recompile PHP with postgresql support

Discussion in 'General Discussion' started by sexy_guy, Aug 14, 2003.

  1. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    I keep getting this error when i try to recompile php with postgresql support.

    configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

    According to this, libpg-fe.h is supposed to reside in /usr/local/pgsql but there is no such directory. Running 7.3.3 as per installpostgres. As per my other servers this file exists but it does not exist on a particular server im trying to recompile php on.

    cPanel.net Support Ticket Number:
     
    #1 sexy_guy, Aug 14, 2003
    Last edited: Aug 14, 2003
  2. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    i have the same problem, i recompile apache before postgres update to 7.3.3 and now apache and postgres is down, i get this error

    Attempting to restart httpd
    Waiting for httpd to restart.... . . . . . . . . . . finished.

    httpd status



    httpd has failed, please contact the sysadmin.

    cPanel.net Support Ticket Number:
     
  3. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    bdraco,

    I have a little problem.
    I recompile apache again and now, my apache and postgre works fine but service status show postgres down and i can access to phppgadmin :/

    In my phpinfo i can see that
    PostgreSQL(libpq) Version 7.2.3
    and i have 7.3.3 installed
    and Build Date Aug 3 2003 20:21:57 and today is 14th


    Have you got any idea?

    cPanel.net Support Ticket Number:
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Same here.

    cPanel.net Support Ticket Number:
     
  5. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    ** BUMP **

    cPanel.net Support Ticket Number:
     
  6. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    anyone can post /etc/chkservd/postgresql

    my postgresql is up but service status shows always down.

    Thanks in advance.

    cPanel.net Support Ticket Number:
     
  7. vucsht

    vucsht Registered

    Joined:
    Jun 13, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Still have the same problem.
    There is a solution of this problem?

    cPanel.net Support Ticket Number:
     
  8. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I submitted a ticket. No solution yet.

    cPanel.net Support Ticket Number: 21156
     
  9. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    same problem with buildapache.sea (Mon Aug 18 20:27:52 2003)

    cPanel.net Support Ticket Number:
     
  10. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    sexy_guy,

    Before I lose all respect for you, could you please reassure me that the reason your posts have been deleted is not because you figured out the solution and did not want to share it?

    Anyway for everyone else, Darren at cpanel helped me and the solution was to reinstall the postgres-devel rpm. After that php compiled with pgsql.

    cPanel.net Support Ticket Number:
     
  11. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Ha, ha. Nevermind. It appears that he's been banned again. What will be his next username?

    cPanel.net Support Ticket Number:
     
  12. Steve-PWH

    Steve-PWH Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Aint helped find a solution for this as it :(

    cPanel.net Support Ticket Number:
     
  13. vucsht

    vucsht Registered

    Joined:
    Jun 13, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  14. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Does Cpanel install 7.3.2 or 7.3.3 of postgresql?

    Do we still need to upgrade postgres-devel if we just install postgresql through Cpanel?
     
  15. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Quite! :)

    I wrote a brief history about mad_guy (a.k.a. sexy_guy) in this thread:
    http://forums.cpanel.net/showthread.php?s=&threadid=12940

    cPanel.net Support Ticket Number:
     
  16. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Not if you can compile php with pgsql without errors. If you are getting errors, check to make sure you have postgres-devel installed.

    /scripts/installpostgres installs 7.3.3

    cPanel.net Support Ticket Number:
     
  17. Steve-PWH

    Steve-PWH Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page