← Back to team overview

openerp-india team mailing list archive

[Bug 939372] Re: v6.1 server install tries to install broken python-ldap

 

beeing unable to install python-ldap is unrelated to OpenERP, marking
this bug invalid.

Althought i agree this dependecy could be optional but then the code of
addons ldap must be adapted to fail smoothly as we plan to import all
addons in the future (not sure 100%). MP is welcome.

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/939372

Title:
  v6.1 server install tries to install broken python-ldap

Status in OpenERP Server:
  Invalid

Bug description:
  downloaded 6.1 stable and decided to python setup.py install

  apparently 6.1 decided to added python-ldap to required modules list (why?)
  because first and forall ldap must remain optional

  secondly because the install is buggy and does not work:

  [ extrait from sudo python setup.py install from ...server/6.1/ ]
  Processing dependencies for openerp==6.1
  Searching for python-ldap
  Reading http://pypi.python.org/simple/python-ldap/
  Reading http://www.python-ldap.org/
  Best match: python-ldap 2.4.8
  Downloading http://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.4.8.tar.gz#md5=4301ecd0d9171c0f2409db836ee2359e
  Processing python-ldap-2.4.8.tar.gz
  Running python-ldap-2.4.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-pT1k5L/python-ldap-2.4.8/egg-dist-tmp-KwuYb5
  defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
  extra_compile_args: 
  extra_objects: 
  include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include
  library_dirs: /opt/openldap-RE24/lib /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
  "Modules/LDAPObject.c", line 634: undefined symbol: LDAP_SASL_QUIET
  "Modules/LDAPObject.c", line 634: non-constant initializer: op "NAME"
  "Modules/LDAPObject.c", line 977: undefined symbol: LDAP_RES_INTERMEDIATE
  "Modules/LDAPObject.c", line 1139: warning: implicit function declaration: ldap_whoami_s
  "Modules/LDAPObject.c", line 1164: warning: implicit function declaration: ldap_start_tls_s
  "Modules/LDAPObject.c", line 1245: warning: implicit function declaration: ldap_passwd
  cc: acomp failed for Modules/LDAPObject.c
  error: Setup script exited with error: command '/usr/lib/python2.6/pycc' failed with exit status 1

  
  richard@x3200:~/src/openerp/server/6.1$ pkg list -v openldap
  FMRI                                                             STATE      UFOXI
  pkg://openindiana.org/library/openldap@2.4.21,5.11-0.151.1.2:20120209T202130Z installed  -----

  note, installed but not  configured in order to provide the libraries.

  Please remove this dependency and/or fix the auto install feature.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/939372/+subscriptions


References