17 Commits

Author SHA1 Message Date
Attila Fazekas
87d74a0bdd Promote libffi-dev as a general dependency
libffi-dev/libffi-devel can be requested for rebuilding the
python clients which is an un-skipable part of the devstack install.

Promoting the libffi-devel to a general dependency.

Change-Id: I1dac7fd536b94de1e49aaf335ac29ffae1bd39d1
2014-07-09 20:18:04 +02:00
Kashyap Chamarthy
2b5c14d2d8 Add libyaml-devel package dependancy
Without libyaml-devel package installed (on Fedora-20),
running ./stack throws:

  [. . .]
  build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h:
  No such file or directory #include <yaml.h> ^ compilation terminated.

  libyaml is not found or a compiler error: forcing --without-libyaml
  [. . .]

Adding this dependency to files/rpms/general resolves it. Also added to
files/apts/general.

Change-Id: If1aa23bf3fc76ea2b321c3725dd07050ddd4b825
2014-06-28 02:20:09 +05:30
Attila Fazekas
692011593e Move gcc to general
Lot of packages explicitly requires gcc now, but almost all of
the components needs it.

Always keep gcc in hand-range.

files/rpms/general: always installs the libxlst2-devel, not just on
RHEL 6, package recompile capability always handy and these are small
packages anyway.

Change-Id: Ia7d0e1938fb2453e3c02b979f99d6d179c6a24c6
2014-05-18 09:40:23 +02:00
Sergey Skripnick
d7f7cb275c Add python-dev to general requirements
Package python-openstackclient depends on pycrypto, and pycrypto depends
on python-dev. Since python-openstackclient should be installed in any
case, python-dev should be in general requirements.

Change-Id: I2d6f5919bdc1175252c78cd203a8769d3892b923
Closes: bug 1292477
2014-04-02 15:35:28 +00:00
Attila Fazekas
e7b6399d45 Install bc with all distribution
After commit def4c141 the bc is requred for devstack install on minimal
image, commit fbe12f98 fixed the issue with ubuntu, but not with other
distribution.

Adding bc to the files/rpms-suse/general and files/rpms/general.

Change-Id: Ieb2e3e2af454bca03bb3d7565ff731dc357e699f
2014-01-27 11:58:45 +01:00
Alvaro Lopez Ortega
d7f6090f29 Add support for Fedora 20
The list of RPM packages have been updated to support the recently
released Fedora 20 distribution.

Closes-Bug: #1263291

Co-Authored: Alvaro Lopez Ortega <alvaro@gnu.org>
Change-Id: Ia66abef1a1a54e6d5ee6eebc12908cef3f1d211d
2014-01-10 10:52:41 +01:00
Dean Troyer
62d1d698a0 Add tools/install_pip.sh
Install a known working recent version of pip that handles installation
dependencies more correctly than before.  Extract to a separate script
so it can be used apart from stack.sh.

* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  packages.  THIS IS BROKEN.  And is one reason we have to be so picky
  about order and so forth.

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
2013-08-07 20:28:56 -05:00
Monty Taylor
60aba9cb6a Remove installation of python-netaddr
System and pip installation of this conflit and cause breakages.

Change-Id: I87a03f88a134683310d6ec0bd62d86c5007fcd72
2013-08-02 23:52:38 +00:00
Jenkins
201379cc38 Merge "Adds openssl-devel to the RPMs dependencies" 2013-06-15 12:13:10 +00:00
Giulio Fidente
eeaa41a1ce Adds openssl-devel to the RPMs dependencies
pyOpenSSL (required by glanceclient) fails to build if openssl
header files are missing.

Change-Id: I3ebce749ee9ca88cbbecc6b7676a086d82670f4d
Fixes: bug #1188650
2013-06-11 17:58:05 +02:00
Joe Gordon
5747b80175 Don't install pep8 from packages
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use.  Instead of installing pep8 from
packages it should be installed from pip

Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
2013-06-06 17:37:56 -07:00
Ian Wienand
7919d851a9 RHEL6 support rpms
Install some rpms required for operation on RHEL6.  Additionally,
remove some system packages that interfere with pip installs.

Change-Id: I273ce59d7bf066e73d524f61b8ad048599101dab
2013-04-29 11:46:57 +10:00
David Ripton
a0f660b0f9 Add a dependency on openssl.
Nova and Keystone use openssl to setup certificates.  If it's not
there then Keystone fails with "Error 2: No such file or directory",
Nova fails with "openssl: command not found" and glance fails with
"glance: error: argument --os-auth-token: expected one argument"
Basically, cascading errors everywhere.  So I put the dependency
in "general" since it affects multiple packages.

Fixes bug 1152315

Change-Id: I803f91644443d7aba78c0a90384e32f6eece36ec
2013-03-07 15:46:25 -05:00
David Ripton
bbc54635c8 Install the python-netaddr package before we use it.
It's used if installed and not used if not installed, which is confusing.
So trying to install it should make things a bit less confusing.

It's available under the same name in both Fedora and Ubuntu.

Change-Id: I6785dd5e831e9cf2da2eae5b116a9f5859c68c6d
2012-10-22 09:41:32 -04:00
Dean Troyer
32c520f46d Add bridge-utils to deps for Ubuntu and Fedora.
They don't always get installed via dependencies any more.

Change-Id: I46f333c79ecccca9e10170d06039611fad5813dc
2012-08-01 19:57:34 -05:00
Vincent Untz
03086e18b4 Add tar to list of packages to install
It turns out a minimal Fedora installation doesn't have tar by default.
Since we use tar when uploading the default image to glance, we need to
make sure it's installed. And since it might be useful for other very
generic tasks DevStack might do, just always install it (by putting it
in the general list of packages).

Change-Id: I4dae3b43a700d80b8752a5b846a6ce302fadb751
2012-07-04 12:27:42 +02:00
Dean Troyer
5218d451dc E) Add support for Fedora 16
Highlights:
* Add files/rpms/*
* get_packages() only loads deps for services that are enabled

11Apr2012
* change mod_wsgi cwd to $HORIZON_DIR
* fix horizon apache log file name and location

Note: This superceeds https://review.openstack.org/4364

Change-Id: I95486584561e4418907a6a4feb0ffbe4f4ea1843
2012-04-11 14:55:47 -05:00