[cmake-developers] [CMake 0013378]: FindPostgreSQL fails on Fedora/RHEL

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 5 13:33:45 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13378 
====================================================================== 
Reported By:                Orion Poplawski
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13378
Category:                   Modules
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-05 13:33 EDT
Last Modified:              2012-07-05 13:33 EDT
====================================================================== 
Summary:                    FindPostgreSQL fails on Fedora/RHEL
Description: 
See https://bugzilla.redhat.com/show_bug.cgi?id=828467 for more info.

Basically FindPostgeSQL parses /usr/include/pg_config.h, but on Fedora/RHEL this
is a wrapper to resolve multilib support and so fails.  This is a proposed patch
to use pg_config instead.

The author, Petr Machata, notes:

This fetches all necessary values from pg_config.  This required more changes in
the code, and frankly I have no idea whether it works on Windows.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-05 13:33 Orion PoplawskiNew Issue                                    
2012-07-05 13:33 Orion PoplawskiFile Added: cmake-FindPostgreSQL.patch          
         
======================================================================




More information about the cmake-developers mailing list