health
[Top][All Lists]
Advanced

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

[Health] installation problem on unix


From: Dirk Willems
Subject: [Health] installation problem on unix
Date: Thu, 17 Aug 2017 18:41:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hello,


Some doctors in my neighborhood are very interested in your wonderfull GNU Health tool and want to have it running so they can start with experiment and using it.

But it seems I experience some trouble with the installation of it.   


I try to install the gnu health 3.2.1 on OmniOSCE (Unix)


On the docs I find following :



        - Tryton: = 4.2  => but  it's only for python 27 => py27-tryton-4.2.1nb2  Three-tiers high-level general purpose application platform => don't see anything for python 36


Then I have trouble with the Securtiy Patches because I don't run Freebsd but OmniOS witch is also UNIX


        - Apply Security Patches using GNU Patch

        The current GNU Health setup installation procedure uses GNU patch (instead of FreeBSD patch). Please apply the patch after the executing "gnuhealth-setup install" as follows.

        source .gnuhealthrc

        cdexe

        cd ../trytond/res gpatch -p2 < $HOME/gnuhealth-3.2.0/patches/security/GNUHEALTH32-SA-2017-1.trytond.patch.asc


But on my system I got following


        address@hidden:~# source ./gnuhealthrc

        -bash: ./gnuhealthrc: No such file or directory


or if I create the file .gnuhealthrc

        address@hidden:~# source .gnuhealthrc

        address@hidden:~# cdexe

        -bash: cdexe: command not found


I just went through the installation and with the ./gnuhealth-setup install I got following :


gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -O2 -pipe -O2 -I/usr/include -I/opt/local/include -I/opt/local/include/ncurses -I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include -I/opt/local/include -I/opt/local/include         /ncurses -I/opt/local/include/db4 -pipe -O2 -pipe -O2 -I/usr/include -I/opt/local/include -I/opt/local/include/ncurses -I/opt/local/include/db4 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.7.3 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=90603 -DHAVE_LO64=1 -I/opt/local/include/python3.6 -I. -I/opt/local/include -I/opt/local/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.solaris-2.11-i86pc.64bit-3.6/psycopg/psycopgmodule.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
   
    ----------------------------------------
Command "/opt/local/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1s5co5ba/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-j_lz3td6-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-1s5co5ba/psycopg2/
2017-08-17 15:14:47 [INFO] Bailing out !
2017-08-17 15:14:47 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer
2017-08-17 15:14:47 [INFO] removing base dir at /export/home/gnuhealth//gnuhealth


In the docs stand

   

        Make symlinks on Python3, pip and 2to3

		cd /usr/local/bin
		ln -si python3.6 python
		ln -si 2to3-3.6 2to3
		ln -si pip3-6 pip


But on my system its's already python 2to3 pip no need for symbolic links, but following the Docs I renamed the existing one and created the symbolic links => the error above is the same with or without symlinks.

Any suggestions how to fix it for Unix because of the critic environment of humans life medical data and personal data of the users and patients, I can not allow to run it on an Linux it must run on  UNIX so I can put a load-balancer before the actual GNU Health site.

Linux is out of the question for a couple of reasons

    1 => Linux is designed for Desktops not servers

    2 => Unix is designed for servers

    3 => Linux virtualisation is equal on simulation (you simulate CPU MEM harddrive etc)

    4 => Unix Zones are virtualisation don't simulate any CPU MEM or Harddrive etc

    5 => And last but not least ZFS I need ZFS for snapshotting backups and install's


I know some people will be disagree and arguing but I have to manage all these critical systems and I'm not in the mood for troubleshooting all the flavours of distro's or the lack for quick backups because the lack of zfs.


If you want I will provide you the documentation on how to install it on OmniOS and I'm definitely will work with you Guy's to have it running on OmniOS, So that other people can also benefit from it.

Thank you for your understanding.


Kind Regards,


Dirk




    
--
Dirk Willems
System Engineer


+32 (0)3 443 12 38
address@hidden

Quality. Passion. Personality

www.exitas.be | Veldkant 31 | 2550 Kontich

Illumos OmniOS Installation and Configuration Implementation Specialist.
Oracle Solaris 11 Installation and Configuration Certified Implementation Specialist.

reply via email to

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