On Monday, December 24, 2012 at 4:49 PM, Maven User wrote:
Josh and co - thanks for all the tips!How do I future proof myself? I don't want to get sidelined in the future because some unrelated gem changes (and borks all my bootstrapping)?
I upgraded each dependency to a particular version of postgres (2.1.0) and am no longer specifying the distribution - works perfectly!
On Mon, Dec 24, 2012 at 7:18 PM, Maven User < " target="_blank"> > wrote:Crap - one sec - failed to upload my latest cookbook with pgswl version change...On Mon, Dec 24, 2012 at 7:15 PM, Maven User < " target="_blank"> > wrote:Crap - that's broken in a different way:[Mon, 24 Dec 2012 16:12:30 -0800] INFO: Processing gem_package[pg] action install (postgresql::client line 40) [Mon, 24 Dec 2012 16:12:40 -0800] ERROR: gem_package[pg] (postgresql::client line 40) has had an error [Mon, 24 Dec 2012 16:12:40 -0800] ERROR: gem_package[pg] (/var/chef/cache/cookbooks/postgresql/recipes/client.rb:40:in `from_file') had an error: gem_package[pg] (postgresql::client line 40) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with , but received '1' ---- Begin output of /opt/chef/embedded/bin/gem install pg -q --no-rdoc --no-ri -v "0.14.1" ---- STDOUT: Building native extensions. This could take a while... STDERR: ERROR: Error installing pg: ERROR: Failed to build gem native extension. /opt/chef/embedded/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't find the PostgreSQL client library (libpq) *** 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.I'm struggling :-/
Archive powered by MHonArc 2.6.16.