Skip to content

Instantly share code, notes, and snippets.

@GabiThume
Created June 17, 2013 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GabiThume/5798726 to your computer and use it in GitHub Desktop.
Save GabiThume/5798726 to your computer and use it in GitHub Desktop.
This error is reached when "make" is running the following command: $ sudo /home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/bin/python -c "from pgxnclient import cli; cli.main(['install', 'json_enhancements'])"
No handlers could be found for logger "pgxnclient.commands"
Makefile:51: /usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target `/usr/lib/postgresql/9.2/lib/pgxs/src/makefiles/pgxs.mk'. Stop.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/cli.py", line 31, in main
run_command(opt, parser)
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/__init__.py", line 96, in run_command
return opts.cmd(opts, parser=parser).run()
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/install.py", line 149, in run
return super(SudoInstallUninstall, self).run()
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/install.py", line 100, in run
return self._run(dir)
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/install.py", line 117, in _run
self._inun(pdir)
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/install.py", line 185, in _inun
self.run_make('all', dir=pdir)
File "/home/gabi/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/pgxnclient/commands/__init__.py", line 555, in run_make
% (p.returncode, ' '.join(cmdline)))
pgxnclient.errors.ProcessError: command returned 2: make PG_CONFIG=/usr/bin/pg_config all
make: *** [json_enhancements_pg_extension] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment