<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Pg on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/pg/</link>
    <description>Recent content in Pg on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 03 Feb 2014 12:59:10 +0000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/pg/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Can&#39;t find the &#39;libpq-fe.h header</title>
      <link>https://blog.khmersite.net/p/cant-find-the-libpq-fe-h-header/</link>
      <pubDate>Mon, 03 Feb 2014 12:59:10 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/cant-find-the-libpq-fe-h-header/</guid>
      <description>&lt;p&gt;I need to install pg 0.17.1 gem on a server running CentOS. This is the error message I saw:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# gem install pg -v &amp;#39;0.17.1&amp;#39;
Building native extensions.  This could take a while...
ERROR:  Error installing pg:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
 --with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can&amp;#39;t find the &amp;#39;libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
...
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;First thing came to my mind was I must have forgotten to install the -dev package.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
