Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Is there a correct procedure avialable for installing Odoo v8 on cPanel Centos 6.5 x86_64?

By
Barbara Bok
on 9/26/14, 6:40 PM 4,224 views

Is there a correct procedure avialable for installing Odoo v8 on cPanel Centos 6.5 x86_64?

I have already installed Python 2.7.8 but getting problems with:

The install ends with:

Reading https://pypi.python.org/simple/python-ldap/
Best match: python-ldap 2.4.16
Downloading https://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.4.16.tar.gz#md5=75549bad7eaaf4949f6adf80334f0acc
Processing python-ldap-2.4.16.tar.gz
Writing /tmp/easy_install-Hn90WT/python-ldap-2.4.16/setup.cfg
Running python-ldap-2.4.16/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Hn90WT/python-ldap-2.4.16/egg-dist-tmp-zGLfV2
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /opt/openldap/include /usr/include/sasl /usr/include
library_dirs: /opt/openldap/lib64 /usr/lib
libs: ldap_r
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
In file included from Modules/LDAPObject.c:9:0:
Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command '/opt/centos/devtoolset-1.1/root/usr/bin/gcc' failed with exit status 1

 

1
David Dean
On 9/30/14, 6:17 PM

You need to make sure your Python installation (and additional modules) don't conflict with CPanel in any way.

If you have root-level SSH access then you can install from the command line.

I've created a step-by-step installation guide you might find useful:

http://odootricks.wordpress.com/2014/09/30/installing-odoo-8-on-centos-6-with-virtual-python-install/

 

Thank you so much for this tutorial. I am running odoo under WHM/Cpanel CenOS x64. Cheers!

OnuR
on 10/24/14, 12:24 PM
0
tcollart
On 9/29/14, 11:20 AM

You need the header files (here, "lber.h" as shown in the stack trace "Modules/errors.h:8:18: fatal error: lber.h: No such file or directory") to compile this python module.

On centOS, your package manager should be yum. You can try:

sudo yum install openldap-devel

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 9/26/14, 6:40 PM
Seen: 4224 times
Last updated: 3/16/15, 8:10 AM