search for: pg_config

Displaying 20 results from an estimated 23 matches for "pg_config".

2009 Apr 24
3
Query configuration parameters
Hi, PostgreSQL has a tool pg_config that returns the parameters the ./configure script was called with. $ pg_config --libdir /usr/local/lib $ pg_config --includedir /usr/local/include Does Samba have a similar feature and how do I call it? Sorry, but this is impossible to google for. Bertram -- Bertram Scharpf Stuttgar...
2012 Dec 04
3
Unable to install pg gem file on CENT OS
...install libyaml and reinstall your ruby. Fetching: rake-compiler-0.8.1.gem (100%) Fetching: pg-0.12.0.gem (100%) Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/local/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''t find the ''libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary lib...
2011 Oct 26
4
Help wanted: pg vs. postgres-pr gems
Hi all, I installed Rails 3.0 + PostgreSQL 8.4. Installed the gem postgre-pr I added " gem ''postgres-pr'' " to my Gemfile I defined my database.yml with: # PostgreSQL 8.4 development: adapter: postgresql encoding: unicode database: testdb pool: 5 username: test password: ****** I run rails server which starts, but application environment returns this error:
2012 Sep 18
13
pg gem error
gem install pg give the following error, please help how can i solve this Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /home/saravanan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for pg_config_manual.h... yes checking for PQconnectdb() in -lpq... no checking for PQconnectdb() in -llibpq... no checking for PQconnectdb() in -lms/libpq... no Can'&...
2012 Oct 10
1
Rubymine Install Missing Gems
...ux Ubuntu 10.10. In Rubymine IDE, I am getting as "Install Missing Gems" link. After clicking on that link, I am getting this error :- Installing pg (0.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for pg_config_manual.h... yes checking for PQconnectdb() in -lpq... no checking for PQconnectdb() in -llibpq... no checking for PQconnectdb() in -lms/libpq... no Can'&...
2010 Mar 15
1
Installing cdr_pgsql on asterisk 1.6.0.26
Hi folks, I am struggling to install cdr_pgsql in asterisk 1.6.0.26. When I do the ./configure, it complains about the function PQescapeStringConn not existing in -lpq, so when I do a make menuconfig, I can't select the cdr_pgsql module. I am using CentOS 5.4 with the yum PGDG repository for 8.4 version. Some of the installed packages are postgresql-libs, compat-postgresql-libs,
2007 May 05
1
Asterisk 1.4.4 and Custom Postgres 8.2.4 (checking for PQexec in -lpq... no)
Dear All, Why does my configure fail like so: checking for pg_config... /usr/local/pgsql/8.2.4/bin/pg_config checking for PQexec in -lpq... no configure: *** configure: *** The PostgreSQL installation on this system appears to be broken. configure: *** Either correct the installation, or run configure configure: *** including --without-postgres Configure options a...
2010 Jul 21
1
Package RPostgreSQL_0.1-6.tar.gz has been checked and built
Hi Dirk I think there are problems with pg_config, the configure script of RPostgreSQL checks for pg_config and got ¡°checking for pg_config... /usr/bin/pg_config¡±. In Solaris 10u7 X64, three versions of PostgreSQL are installed, there are in /usr/postgres/8.2(8.2.9) and /usr/postgres/8.3(8.3.3), the corresponding bin files are in /usr/postgres/&...
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
...0 Using railties 3.2.8 Using coffee-rails 3.2.2 Using daemons 1.1.9 Using eventmachine 1.0.0 Using multi_xml 0.5.3 Using httparty 0.9.0 Using jquery-rails 2.2.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-2.1.1/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't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and...
2012 Nov 22
1
problems with RPostgreSQL compilation
...the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for pg_config... /usr/bin/pg_config checking for "/usr/include/libpq-fe.h"... yes configure: creating ./config.status config.status: creating src/Makevars ** libs gcc -std=gnu99 -I/usr/local/lib64/R/include -DNDEBUG -I/usr/include -I/usr/local/include -fpic -g -O2 -c RS-DBI.c -o RS-DBI.o gcc -std=...
2011 Sep 15
1
Using unix paths in console mode wine apps
Hi, is there an environment variable that enables plain Unix filenames in Wine applications? I need to cross compile PostgreSQL and some third party modules on my Fedora 15 system to 64-bit Windows. PostgreSQL uses its "pg_config" for 3rd party code to tell the include dir, compile flags, etc: [zozo at localhost postgis-1.5.3]$ /usr/x86_64-w64-mingw32/sys-root/mingw/bin/pg_config.exe --pgxs Z:/usr/X86_~FWL/sys-root/mingw/lib/POST~SMW/pgxs/src/MAKE~WLE/pgxs.mk This path doesn't exist as is but "winepath --uni...
2009 Aug 28
1
RPostgreSQL libpq problem
Dear all, I am stuck trying to get RPostgreSQL running on my Mac. PostgreSQL itself does work fine as it is able to connect with various other apps. Unfortunately the RPostgreSQL package is not available as a binary for MAC OS. Thus I?ve been trying to compile the source for quite some time now - unfortunately without success (or at least very limited success). First, running
2008 Sep 14
2
Postgres adapter issues with Rails 2.1: ruby-pg is the answer!
While upgrading Rails 2.0.2 sites to Rails 2.1.1, I encountered a weird postgres adapter problem. Although the old postgresql adapter (aka ruby-postgres) works fine with Rails 2.1.1 on my Mac dev box (running PG 8.2.6) and also works fine with Rails 2.0.2 apps on a Debian etch staging server (running PG 8.2.1), this error occurs when trying to cap deploy 2.1.1 apps on the Debian box:
2010 Mar 11
14
trying to install postgres gem on fedora 12 ..
I get these errors : gem install pg -- --with-pgsql-include-dir=''/usr/include/pgsql'' -- with-pgsql-lib-dir=''/usr/lib/pgsql'' Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql -- with-pgsql-lib-dir=/usr/lib/pgsql
2009 Sep 30
1
R/PL : cannot build PL/R
...message) i could not get it done for me. I use Mac OS 10.5.7 and PostgreSQL 8.3.7 as well as R 2.9.2 I put the untared plr to my /Library/Frameworks/R.framework/Resources/ If i just add the path mentioned above to the Makefile and run USE_PGXS=1 make : i get the following error message: make: pg_config: Command not found make: *** No targets. Stop. If simply run make inside the plr directory i get the following: Makefile:41: ../../src/Makefile.global: No such file or directory Makefile:42: /contrib/contrib-global.mk: No such file or directory make: *** No rule to make target `/contrib/contrib-...
2009 Nov 24
0
Install RPostgreSQL (Mac OSX 10.6)
...s... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for pg_config... no configure: checking for PostgreSQL header files checking for "/libpq-fe.h"... no configure: error: File libpq-fe.h not in ; installation may be broken. ERROR: configuration failed for package ?RPostgreSQL? * removing ?/Library/Frameworks/R.framework/Versions/2.10/Resources/library/R...
2011 Aug 03
2
configure
Does anyone know, or have a link, to something that can tell me how to find out exactly what options a ./configure was run with? Is there something in configure.ac, or the Makefile, or ...? mark
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...69,7 +1974,12 @@ LIBS=$old_LIBS fi -if test $want_pgsql != no; then +want_pgsql_driver=no +test "$want_pgsql" != no && want_pgsql_driver=yes +test "$want_multi_pgsql" != no && want_pgsql_driver=yes + + +if test $want_pgsql_driver != no; then AC_CHECK_PROG(PG_CONFIG, pg_config, YES, NO) if test $PG_CONFIG = NO; then # based on code from PHP @@ -2014,19 +2024,20 @@ fi PGSQL_LIBS="$PGSQL_LIBS -lpq" AC_DEFINE(HAVE_PGSQL,, Build with PostgreSQL support) - found_sql_drivers="$found_sql_drivers pgsql" + test "$wa...
2013 May 27
2
Dovecot 2.2 build rpm on Centos6
...OL='' PACKAGE='dovecot' PACKAGE_BUGREPORT='dovecot at dovecot.org' PACKAGE_NAME='Dovecot' PACKAGE_STRING='Dovecot 2.2.2' PACKAGE_TARNAME='dovecot' PACKAGE_VERSION='2.2.2' PATH_SEPARATOR=':' PGSQL_CFLAGS='' PGSQL_LIBS='' PG_CONFIG='' PKG_CONFIG='/usr/bin/pkg-config' QUOTA_LIBS='' RANLIB='' RPCGEN='' RUN_TEST='' SED='' SETTING_FILES='' SET_MAKE='' SHELL='/bin/sh' SQLITE_CFLAGS='' SQLITE_LIBS='' SQL_CFLAGS='' SQL_LIBS='&...