HI
Some hints: 1) Don't make virtualevns, l-d-t will make one for you 2) Run l-d-t setup first 3) Run l-d-t install production http://launchpad.net/lava-project/..../ (find the link to the lastest .pybundle file)
Hope that helps
On Thu, Feb 16, 2012 at 8:54 PM, Andy Doan andy.doan@linaro.org wrote:
Copying the validation team to see if they can help.
The pg_config command is a part of the postgresql-common package, so you might be able to get around this with:
sudo apt-get install postgresql-common
If you are missing that, you might also be missing the server which you also need:
sudo apt-get install postgresql-client-common postgresql-9.1
-andy
On 02/16/2012 01:41 PM, Mustafa Faraj wrote:
Hi Andy,
This is Mustafa from Gumstix. I am trying to deploy a full Lava setup on my local machine using the lava-deployment-tool, but I am facing some issues which have me thinking that I might be doing something wrong. I created a virtualenv and got the lava-deployment-tool source in it. When I try to run ./lava-deployment-tool setup, I was getting some errors (I managed to work around them, and I am happy to share the problems/workarounds with you guys if needed). In the next step, where I try to create an installation bundle using ./lava-deployment-tool bundle requirements-latest.txt, I am getting stuck at the postgresql setup. I will append the error log at the end of the email. I would greatly appreciate it if you can help me get around this issue
Thanks a lot, -Mustafa
" Downloading/unpacking lava-test (from -r /tmp/tmp.A3Am9ZfvoX (line 12)) Using download cache from /srv/lava/.downloads/http%3A%2F%2Fpypi.python.org
http://2Fpypi.python.org%2Fpackages%2Fsource%2Fl%2Flava-test%2Flava-test-0.3.4.tar.gz Running setup.py egg_info for package lava-test Installed
/home/gumstix/Desktop/LAVA2/lava-deployment-tool/build-bundle4/lava-test/versiontools-1.8.3-py2.7.egg Running setup.py egg_info for package lava-test Downloading/unpacking psycopg2 (from -r /tmp/tmp.A3Am9ZfvoX (line 2)) Using download cache from /srv/lava/.downloads/http%3A%2F%2Fpypi.python.org
http://2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpsycopg2%2Fpsycopg2-2.4.4.tar.gz Running setup.py egg_info for package psycopg2 Error: pg_config executable not found. Please add the directory containing pg_config to the PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. Complete output from command python setup.py egg_info: running egg_info
creating pip-egg-info/psycopg2.egg-info
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
Error: pg_config executable not found.
Please add the directory containing pg_config to the PATH
or specify the full executable path with the option:
python setup.py build_ext --pg-config /path/to/pg_config build ...
or with the pg_config option in 'setup.cfg'.
Command python setup.py egg_info failed with error code 1 Storing complete log in /home/gumstix/.pip/pip.log
- die 'Failed to create bundle'
- echo 'Failed to create bundle'
Failed to create bundle
- exit 1
(LAVA2)gumstix@hwlab:~/Desktop/LAVA2/lava-deployment-tool$ "
linaro-validation mailing list linaro-validation@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-validation