Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
12227 Lượt xem

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

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

 

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

in this video he made them both


https://www.youtube.com/watch?v=kd4u1STpMf4

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
3792
3
thg 12 22
11720
5
thg 4 24
42286
6
thg 4 24
39189
3
thg 3 24
10723