health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] GNU Health 2.6 pre-release


From: Luis Falcon
Subject: Re: [Health-dev] GNU Health 2.6 pre-release
Date: Mon, 30 Jun 2014 14:10:55 +0100

Hi Franky
On Fri, 27 Jun 2014 17:32:43 -0400
Franky Almonte <address@hidden> wrote:

> Hi Luis,
> 
> On June 27, 2014 4:26:41 PM AST, Luis Falcon <address@hidden> wrote:
> >Hi Franky 
> >
> >On Fri, 27 Jun 2014 15:10:54 -0400
> >Franky Almonte <address@hidden> wrote:
> >
> >> Hi Luis,
> >> 
> >> On Tue, 24 Jun 2014 17:59:22 +0100
> >> Luis Falcon <address@hidden> wrote:
> >> > Please let me know if you get the error using the standard
> >> > installation (ie, without virtualenv). 
> >> > 
> >> > I have tested the GNU Health installer on FreeBSD and
> >> > ArchLinux without this issue, using the standard method.
> >> 
> >> The first attempt was on Elementary OS of a partner at FDSL, I was
> >> trying to teach him the installation process of this pre-release.
> >This
> >> second attempt was also on a virtualenv, but in Debian, the same
> >> results:
> >> 
> >Looks like the issue is coming when doing the installation on
> >virtualenv.
> >
> >Try to install it without virtualenv , using the gnuhealth_install.sh
> >script and let us know.
> >
> >Best,
> >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro
> >> build/temp.linux-x86_64-2.7/Modules/LDAPObject.o
> >> build/temp.linux-x86_64-2.7/Modules/ldapcontrol.o
> >> build/temp.linux-x86_64-2.7/Modules/common.o
> >> build/temp.linux-x86_64-2.7/Modules/constants.o
> >> build/temp.linux-x86_64-2.7/Modules/errors.o
> >> build/temp.linux-x86_64-2.7/Modules/functions.o
> >> build/temp.linux-x86_64-2.7/Modules/schema.o
> >> build/temp.linux-x86_64-2.7/Modules/ldapmodule.o
> >> build/temp.linux-x86_64-2.7/Modules/message.o
> >> build/temp.linux-x86_64-2.7/Modules/version.o
> >> build/temp.linux-x86_64-2.7/Modules/options.o
> >> build/temp.linux-x86_64-2.7/Modules/berval.o
> >> -L/opt/openldap-RE24/lib -Wl,-R/opt/openldap-RE24/lib -lldap_r -o
> >> build/lib.linux-x86_64-2.7/_ldap.so /home/gnuhealth/bin/python
> >> -O /tmp/tmpJM_WrC.py removing /tmp/tmpJM_WrC.py 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 Found existing installation: distribute
> >> 0.6.24 Uninstalling distribute: Successfully uninstalled
> >> distribute Running setup.py install for distribute Running
> >> setup.py install for setuptools Installing easy_install script
> >> to /home/gnuhealth/.local/bin Installing easy_install-2.7 script
> >> to /home/gnuhealth/.local/bin Successfully installed python-ldap
> >> distribute setuptools Cleaning up... [13:53:35]
> >> >> OK
> >> 
> >> [13:53:35] >> vobject==0.6.6
> >> Traceback (most recent call last):
> >>   File "/home/gnuhealth/bin/pip", line 5, in <module>
> >>     from pkg_resources import load_entry_point
> >> ImportError: No module named pkg_resources
> >> 
> >> 
> >> Using standard method, after uninstall python-tz, python-lxml,
> >> python-dateutil and python-psycopg2 system-wide packages by
> >> conflicts found by the installation, I still get another conflict
> >> with distribute, in the python-ldap compiling process:
> 
> I'm sorry, I did not said it, but this error was installing without a
> virtualenv. That's why I separated both issues.
> 
> >> 
> >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro
> >> build/temp.linux-x86_64-2.7/Modules/LDAPObject.o
> >> build/temp.linux-x86_64-2.7/Modules/ldapcontrol.o
> >> build/temp.linux-x86_64-2.7/Modules/common.o
> >> build/temp.linux-x86_64-2.7/Modules/constants.o
> >> build/temp.linux-x86_64-2.7/Modules/errors.o
> >> build/temp.linux-x86_64-2.7/Modules/functions.o
> >> build/temp.linux-x86_64-2.7/Modules/schema.o
> >> build/temp.linux-x86_64-2.7/Modules/ldapmodule.o
> >> build/temp.linux-x86_64-2.7/Modules/message.o
> >> build/temp.linux-x86_64-2.7/Modules/version.o
> >> build/temp.linux-x86_64-2.7/Modules/options.o
> >> build/temp.linux-x86_64-2.7/Modules/berval.o
> >> -L/opt/openldap-RE24/lib -Wl,-R/opt/openldap-RE24/lib -lldap_r -o
> >> build/lib.linux-x86_64-2.7/_ldap.so
> >> /usr/bin/python -O /tmp/tmp_bW6ZI.py
> >>     removing /tmp/tmp_bW6ZI.py
> >>     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
> >>   Found existing installation: distribute 0.6.24dev-r0
> >>     Uninstalling distribute:
> >> Exception:
> >> Traceback (most recent call last):
> >>   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
> >> 104, in main
> >>     status = self.run(options, args)
> >>   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py",
> >> line 250, in run
> >>     requirement_set.install(install_options, global_options)
> >>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1129, in
> >> install
> >>     requirement.uninstall(auto_confirm=True)
> >>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 486, in
> >> uninstall
> >>     paths_to_remove.remove(auto_confirm)
> >>   File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1431, in
> >> remove
> >>     renames(path, new_path)
> >>   File "/usr/lib/python2.7/dist-packages/pip/util.py", line 263, in
> >> renames
> >>     shutil.move(old, new)
> >>   File "/usr/lib/python2.7/shutil.py", line 302, in move
> >>     os.unlink(src)
> >> OSError: [Errno 13] Permission denied: '/usr/bin/easy_install'
> >> 

Just a quick update on this : 
on Ubuntu boxes (at least on 12.04) the python-ldap library can't be
installed from a regular user (it tries to compile under /opt ).

I will update the installation script for the upcoming 26, so it catches
that distro and won't try to install the python-ldap version.

In the meantime, you need to install python-ldap systemwide. Just make
sure we all use the same version, please include it in the command
invocation.

sudo pip install --upgrade python-ldap==2.4.15

Then run the installation script gnuhealth_install.sh

Let me know how it goes.

Best !
> >> If try to uninstall python-setuptools, it will also uninstall: pep8
> >> python-pip python-setuptools python-virtualenv virtualenvwrapper, I
> >> can not allow that.
> >> 
> >> Any idea?
> >> 
> >> Thanks.
> >> 
> >> 
> >> Best,
> >> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]