Home > Configure Error > Configure Error Cannot Find Libpq-fe.h

Configure Error Cannot Find Libpq-fe.h

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed If building fails, please try again with --with-pg-config=/path/to/pg_config". Triath'Nature Berck Visited Berck for an off-road Triath'Nature sprint triathlon. this content

How can I pull a wire through a pipe that has too many turns for fish tape? La Gentleman de Coeur 8km/5 lap charity time trial event around Hippodrome de Longchamp in teams of two. What is the difference between V(으)ㄴ 적이 있다 and V(아/어) 보다? you can find this with the command: $ sudo find / -iname pg_config after, save the file: $ sudo chmod +x /etc/profile.d/ruby.sh and try execute your command again. http://stackoverflow.com/questions/6040583/cant-find-the-libpq-fe-h-header-when-trying-to-install-pg-gem

Successfully installed pg-0.11.0 1 gem installed Installing ri documentation for pg-0.11.0... This package provides the pg_config binary which is most likely what you were missing. If you have problems with gcc, please look into the stackoverflow link - thanks Asad. kinda far... 20 Aug '14 via Twitter @hthetiot Loire done once, but I need to get back there again.

  • How to separate the schematic of a RGB LED into 3 individual LEDs in Altium?
  • Please reinstall it.
  • That means you can customize your own PHP with custom modules.
  • Solution: yum install net-snmp-devel ERROR XV : checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL
  • Happy now :) share|improve this answer answered Aug 25 '14 at 20:21 ether_joe 238111 add a comment| up vote 1 down vote The location of libpq-fe.h depends on where your Postgres
  • more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation
  • Source: https://gist.github.com/oisin/6562181 share|improve this answer edited Mar 17 at 12:20 Alex Weitz 7212519 answered Feb 7 '14 at 2:27 dunkles 111 add a comment| up vote 0 down vote Only uninstalling
  • Install The simplest way of installing your new shiny PHP 5.2 now is:sudo make install Alternatively, if you plan to repeat the same installation again on other machines, or just want
  • Could the gravitational field equations be formulated in term of the Riemann curvature tensor (as opposed to the Ricci curvature tensor)?
  • The latter is present in all previous versions, and MPIR define it too.

UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Solution: yum install libc-client-devel ERROR IX : checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h Solution: yum install openldap-devel ERROR X Privacy Policy | About PostgreSQL Copyright © 1996-2016 The PostgreSQL Global Development Group Jump to navigation Search form Search How to install PHP 5.3 and 5.2 together on Ubuntu 12.04 3 The error reported was the typical: Using config values from /usr/local/bin/pg_config checking for libpq-fe.h... *** extconf.rb failed *** My solution was to gem uninstall pg and then bundle update pg to

If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... Please click the link in the confirmation email to activate your subscription. Check the mkmf.log file for more details. Brokenlifts in public transportation are annoying and limit the mobility of people in wheelchairs.

Really very helpful. Please verify ICU install prefix and make sure icu-config works. # yum install libicu-devel Reply Taras September 18, 2015 at 1:06 pm configure: error: Could not find net-snmp-config binary. You can try to take care of them in one shot, if you don't care too much about installing a little too much compared to what is really needed: sudo apt-get In my case (OSX) I found the file under /Library/PostgreSQL/9.1/include/ once the installation was over.

try from the command line: sudo -u postgres ./configure It should ask for your su password. Reply Arun Lal December 1, 2014 at 4:40 pm Glad to hear that, Adeola! Ones I checked out the project I have detected that it uses PostgreSQL as their database driver. PostgreSQL 9.3.10 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit –Michael Lafayette Jan 13 at 13:40 add a comment| up vote 12 down vote Try this: brew install postgresql gem

I can make 1 + 1 = 1. news Thanks!! note: anytime you change the bash config - changing profile.d config - you should reload the bash. ext/zip/lib/.libs/zip_dirent.o: In function `memset': /usr/include/x86_64-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters Finally PHP bug #53568, with a pretty easy fix: edit file

I started this blog to share and discuss my ideas with the world. Reply rokettube September 24, 2016 at 10:16 am I installed openlitespeed your way. Previous: How to install webmin on Debian 4, 5, 6 – Step by step procedure Next: How to set the maximum number of mails per hour - WHM/cPanel server Related Articles have a peek at these guys share|improve this answer answered Jan 12 '12 at 6:52 David Pelaez 778811 2 David's solution worked for me.

First half ironman Proud finisher of Challenge Paguera-Mallorca - first half ironman done and ticked off the bucket list! Instead, you can run the utility pg_config to find out where the header files are on the local system: $ pg_config --includedir /usr/local/include Failure to specify the correct option to the Donate to CryBit Donations help me to continue user support and development of this free Blog -- things for which I spend countless hours of my free time!

Note that the MySQL client library is not bundled anymore!

no checking for libpq-fe.h... Using rake ( Using i18n (0.6.1) Using multi_json (1.3.6) Using activesupport (3.2.8) Using builder (3.0.4) Using activemodel (3.2.8) Using erubis (2.7.0) Using journey (1.0.4) Using rack (1.4.1) Using rack-cache (1.2) Using Not the method above. Would it be more robust to use pg_config? @mmuurr: Would you mind implementing a more generic solution in #73?

How to separate the schematic of a RGB LED into 3 individual LEDs in Altium? After that I didn’t need any additional scripts or environment variables. –JoePasq Jan 16 '15 at 18:55 add a comment| up vote 2 down vote Had the same problem on Mac Check the mkmf.log file for more details. check my blog Success!

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/helex/.rbenv/versions/1.9.2-p290/bin/ruby --with-pg --without-pg --with-pg-dir --without-pg-dir --with-pg-include sudo apt-get install libsnmp-dev configure: error: Cannot find libtidy sudo apt-get install libtidy-dev configure: error: xslt-config not found. Check the mkmf.log file for more details. I found out that I need to 'apt-get install libpq-dev' for me to able to have this file and past it as parameter to ./configure --with-pgconfig=PATH.

Results logged to /var/lib/gems/1.8/gems/pg-0.14.1/ext/gem_make.out An error occurred while installing pg (0.14.1), and Bundler cannot continue. what am I missing ? –furiabhavesh Aug 11 '14 at 11:38 File contents may have changed. checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found. asked 6 years ago viewed 4765 times active 3 years ago Get the weekly newsletter!

sudo apt-get install libpq-dev # or apt-get install postgres-server-dev-{pg.version} # for postgresql 9.4 on Ubuntu 14.04 then I was able to do gem install pg without issue. You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. I'm somewhat surprised that clues from pkg-config don't seem to be consulted. > pkg-config libpq --cflags -I/usr/include/pgsql I don't see how to reopen this issue.