altai / nova-billing

Accounting service for OpenStack/Altai
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Compiling problem on Redhat 6.3 #1

Open linuxheadz opened 11 years ago

linuxheadz commented 11 years ago

When i try to compile nova-billing on redhat 6.3 i got these erros .

rpmbuild -ba nova-billing.spec

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zPDV15

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EMTUfo (%install)

Red Hat Enterprise Linux Server release 6.3 (Santiago)

sphinx-0.9.9-1.el6.x86_64 python-sphinx-0.6.6-2.el6.noarch python-sphinx10-1.0.8-1.el6.noarch

thanks in advance

aababilov commented 11 years ago

Well, we don't build documentation packages and therefore do not provide an adequate sphinx package. python-sphinx10 is horrible: its binary is called sphinx-1.0-build (not sphinx-build).

  1. You can edit the "make" invocation line in the spec: make SPHINXBUILD=sphinx-1.0-build -C doc html
  2. You can just turn off documentation as we do by setting "%global with_doc 0". Please use the fresh nova-billing from https://github.com/altai/nova-billing/tree/v1.1.1_trunk
linuxheadz commented 11 years ago

Hi Alessio, thanks alot for your answer, now i got another problem :

python-flask-sqlalchemy python-openstack-client start-stop-daemon

these packages are missing , i use redhat 6.3 + epel repositories.

aababilov commented 11 years ago

Hi!

Build dependencies are available at http://altai-downloads.griddynamics.net/altai/v1.1.0/deps/. Please install http://altai-downloads.griddynamics.net/altai/v1.1.0/centos6/altai-release-1.1-v1.1.0.el6.noarch.rpm to use our repositories. You will find python-flask-sqlalchemy and start-stop-daemon here.

python-openstackclient-base (not python-openstack-client) can be built from sources (https://github.com/altai/python-openstackclient-base) or installed from altai-downloads.griddynamics.net/altai/v1.1.0/centos6/python-openstackclient-base-2012.1-v1.1.0.el6.noarch.rpm.

Good luck! Thank you for you interest in nova-billing!

neumerance commented 11 years ago

Hi there,

I was trying to use nova-billing in fedora 18 , however after doing the rpmbuild stuff , i am not able to start the server using /etc/init.d/nova-billing-os-amqp start, it gives me an error saying , bash: /etc/init.d/nova-billing-os-amqp: No such file or directory, can you please tell me what im going to do?

neumerance commented 11 years ago

and also, if i try to use yum install nova-billing, it ways "no package nova-billing available"