Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #1840
Closed
Open
Issue created Jul 03, 2001 by Peter Bortas@zinoOwner

postgresql 7 detection

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1840

Reported by Kai Voigt, 123.org k@123.org

Hi,

Pike's configure requires postgres.h to be installed to detect PostgreSQL 7 successfully. postgres.h only gets installed when doing a "make install-all-headers" in the postgresql source. But this is not required for linking with the libraries.

Here's some mail from the FreeBSD port maintainer of PostgreSQL.

----------------------------------------------------------------
Date: Tue, 26 Jun 2001 17:47:21 +0200
From: Palle Girgensohn <girgen@partitur.se>
To: Kai Voigt <k@123.org>
Subject: Re: postgresql7 port of FreeBSD: make install-all-headers

Kai Voigt wrote:

Hi,

I wanted to install Roxen Webserver, a swedisch webserver with postgresql support. But its configure script was not able to find anything important of your postgresql port on my FreeBSD system.

postgres.h was not installed, which is the case when only "make install" is called, not "make install-all-headers".

postgres.h is not needed for anything else than building postgresql itself. The dependency on postgres.h in Roxen is false. Jhust remove any occurrence of #include <postgres.h> and it will compile fine.

postgres.h was previously installed by postgres, but for no
good at all. some packages, like Roxen, have just added
#include <postgres.h> without checking if this is really
needed. It isn't.

/Palle


Assignee
Assign to
Time tracking