health
[Top][All Lists]
Advanced

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

Re: [Health] installation problem on unix


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

Hello Luis,


Thank you very much for your feeback,

It did solved the problem with the gcc compiler I had to use gcc49 now everything is compiled but walking to the next problem.

index.html.14              100%[=====================================>]  81.67K  --.-KB/s    in 0.09s  

2017-08-18 19:28:04 (898 KB/s) - 'index.html.14' saved [83632/83632]

2017-08-18 17:28:04 [INFO] OK.
2017-08-18 17:28:04 [INFO] Uncompressing the Tryton server...
tar: /tmp/gnuhealth_installer/4.2: No such file or directory
2017-08-18 17:28:04 [INFO] Bailing out !
2017-08-18 17:28:04 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer
2017-08-18 17:28:04 [INFO] removing base dir at /export/home/gnuhealth//gnuhealth
rm: Cannot remove any directory in the path of the current working directory
/export/home/gnuhealth//gnuhealth/tryton/server
rm: Unable to remove directory /export/home/gnuhealth//gnuhealth/tryton: Directory not empty
rm: Unable to remove directory /export/home/gnuhealth//gnuhealth: Directory not empty

kept the /tmp/gnuhealth_installer directory


address@hidden:/tmp/gnuhealth_installer# ls
index.html     index.html.11  index.html.14  index.html.4   index.html.7
index.html.1   index.html.12  index.html.2   index.html.5   index.html.8
index.html.10  index.html.13  index.html.3   index.html.6   index.html.9
address@hidden:/tmp/gnuhealth_installer# vi index.html



So it seems something is wrong with


get_url() {
    # $1 : Module name
    # return : URL to download
    echo ${TRYTON_BASE_URL}/${TRYTON_VERSION}/$(wget --quiet -O- ${TRYTON_BASE_URL}/${TRYTON_VERSION} | egrep -o "${1}-${TRYTON_VERSION}.[0-9\.]+.tar.gz" | sort -V | tail -1)
}


egrep: illegal option -- o

sort: illegal option -- V


Can you fix it or can you let me now which packages we have to download ?


Thanks in advance.


Kind Regards,


Dirk


debug :

address@hidden:/export/home/gnuhealth/gnuhealth-3.2.1$ bash -x gnuhealth-setup install
+ VERSION=3.2.0
++ tput sgr0
+ NONE=''
++ tput setaf 1
+ RED=''
++ tput setaf 2
+ GREEN=''
++ tput setaf 3
+ YELLOW='\n'
++ tput setaf 7
+ WHITE='\n'
+ INSTDIR=/export/home/gnuhealth/gnuhealth-3.2.1
+ GNUHEALTH_INST_DIR=/export/home/gnuhealth/gnuhealth-3.2.1
++ cat version
+ GNUHEALTH_VERSION=3.2.1
+ TRYTON_VERSION=4.2
+ TRYTON_BASE_URL=http://downloads.tryton.org
+ GNUHEALTH_URL=https://ftp.gnu.org/gnu/health
+ TRANSLATE_URL=http://translate.gnusolidario.org
+ UPDATE_DOWNLOAD_DIR=/tmp/gnuhealth_update
+ TRYTON_PATCHES=security/GNUHEALTH32-SA-2017-1.trytond.patch.asc
+ parse_command_line install
+ '[' 1 -eq 0 ']'
+ case $1 in
+ install install
+ message INFO 'Starting GNU Health 3.2.1 installation...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Starting GNU Health 3.2.1 installation...\e[m'
2017-08-18 19:18:54 [INFO] Starting GNU Health 3.2.1 installation...
+ check_requirements
+ message INFO 'Checking requirements'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Checking requirements\e[m'
2017-08-18 19:18:54 [INFO] Checking requirements
+ echo -n ' -> Looking for wget... '
 -> Looking for wget... + type wget
wget is /usr/bin/wget
+ echo -n ' -> Looking for 2to3... '
 -> Looking for 2to3... + type 2to3
2to3 is /opt/local/bin/2to3
+ echo -n ' -> Looking for patch... '
 -> Looking for patch... + type patch
patch is /opt/local/bin/patch
+ echo -n ' -> Looking for the Python Interpreter command... '
 -> Looking for the Python Interpreter command... + type python
python is /opt/local/bin/python
++ python -V
++ grep '3.[4-9].[0-9]'
+ local 'PVERSION=Python 3.6.1'
+ test 'Python 3.6.1'
+ message INFO 'Found Python 3.6.1'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Found Python 3.6.1\e[m'
2017-08-18 19:18:54 [INFO] Found Python 3.6.1
+ echo ' -> Looking for PIP command...'
 -> Looking for PIP command...
+ local 'PIP_NAMES=pip pip3 pip-python'
+ PIP_NAME=
+ for NAME in ${PIP_NAMES}
++ which pip
+ [[ -n /opt/local/bin/pip ]]
+ PIP_NAME=pip
+ break
+ [[ ! -n pip ]]
+ case "$OSTYPE" in
+ message INFO 'Running on Other OS: solaris2.11'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Running on Other OS: solaris2.11\e[m'
2017-08-18 19:18:54 [INFO] Running on Other OS: solaris2.11
+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] OK.\e[m'
2017-08-18 19:18:54 [INFO] OK.
+ install_directories
+ message INFO 'Creating temporary directory...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Creating temporary directory...\e[m'
2017-08-18 19:18:54 [INFO] Creating temporary directory...
+ TMP_DIR=/tmp/gnuhealth_installer
+ [[ -e /tmp/gnuhealth_installer ]]
+ mkdir /tmp/gnuhealth_installer
+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] OK.\e[m'
2017-08-18 19:18:54 [INFO] OK.
+ message INFO 'Creating destination directories...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Creating destination directories...\e[m'
2017-08-18 19:18:54 [INFO] Creating destination directories...
+ BASEDIR=/export/home/gnuhealth//gnuhealth
+ TRYTON_BASEDIR=/export/home/gnuhealth//gnuhealth/tryton
+ TRYTOND_DIR=/export/home/gnuhealth//gnuhealth/tryton/server
+ MODULES_DIR=/export/home/gnuhealth//gnuhealth/tryton/server/modules
+ LOG_DIR=/export/home/gnuhealth//gnuhealth/logs
+ ATTACH_DIR=/export/home/gnuhealth//attach
+ LOCAL_MODS_DIR=/export/home/gnuhealth//gnuhealth/tryton/server/modules/local
+ CONFIG_DIR=/export/home/gnuhealth//gnuhealth/tryton/server/config
+ UTIL_DIR=/export/home/gnuhealth//gnuhealth/tryton/server/util
+ DOC_DIR=/export/home/gnuhealth//gnuhealth/doc
+ [[ -e /export/home/gnuhealth//gnuhealth ]]
+ mkdir -p /export/home/gnuhealth//gnuhealth/tryton/server/modules /export/home/gnuhealth//gnuhealth/logs /export/home/gnuhealth//attach /export/home/gnuhealth//gnuhealth/tryton/server/modules/local /export/home/gnuhealth//gnuhealth/tryton/server/config /export/home/gnuhealth//gnuhealth/tryton/server/util /export/home/gnuhealth//gnuhealth/doc
+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] OK.\e[m'
2017-08-18 19:18:54 [INFO] OK.
+ install_python_dependencies
+ message INFO 'Updating Python dependencies...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Updating Python dependencies...\e[m'
2017-08-18 19:18:54 [INFO] Updating Python dependencies...
+ check_requirements
+ message INFO 'Checking requirements'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Checking requirements\e[m'
2017-08-18 19:18:54 [INFO] Checking requirements
+ echo -n ' -> Looking for wget... '
 -> Looking for wget... + type wget
wget is /usr/bin/wget
+ echo -n ' -> Looking for 2to3... '
 -> Looking for 2to3... + type 2to3
2to3 is /opt/local/bin/2to3
+ echo -n ' -> Looking for patch... '
 -> Looking for patch... + type patch
patch is /opt/local/bin/patch
+ echo -n ' -> Looking for the Python Interpreter command... '
 -> Looking for the Python Interpreter command... + type python
python is /opt/local/bin/python
++ python -V
++ grep '3.[4-9].[0-9]'
+ local 'PVERSION=Python 3.6.1'
+ test 'Python 3.6.1'
+ message INFO 'Found Python 3.6.1'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Found Python 3.6.1\e[m'
2017-08-18 19:18:54 [INFO] Found Python 3.6.1
+ echo ' -> Looking for PIP command...'
 -> Looking for PIP command...
+ local 'PIP_NAMES=pip pip3 pip-python'
+ PIP_NAME=
+ for NAME in ${PIP_NAMES}
++ which pip
+ [[ -n /opt/local/bin/pip ]]
+ PIP_NAME=pip
+ break
+ [[ ! -n pip ]]
+ case "$OSTYPE" in
+ message INFO 'Running on Other OS: solaris2.11'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Running on Other OS: solaris2.11\e[m'
2017-08-18 19:18:54 [INFO] Running on Other OS: solaris2.11
+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] OK.\e[m'
2017-08-18 19:18:54 [INFO] OK.
++ which pip
+ local PIP_CMD=/opt/local/bin/pip
++ ++ awk '{print $2}'
/opt/local/bin/pip --version
+ local PIP_VERSION=9.0.1
+ local 'PIP_ARGS=install --upgrade --user'
+ local PIP_LXML=lxml
+ local PIP_RELATORIO=relatorio
+ local PIP_WRAPT=wrapt
+ local PIP_WERKZEUG=werkzeug
+ local PIP_DATEUTIL=python-dateutil
+ local PIP_PSYCOPG2=psycopg2
+ local PIP_PYTZ=pytz
+ local PIP_LDAP=python-ldap
+ local PIP_VOBJECT=vobject
+ local PIP_QRCODE=qrcode
+ local PIP_PYBARCODE=pybarcode
+ local PIP_SIX=six
+ local PIP_PILLOW=Pillow
+ local PIP_CALDAV=caldav
+ local PIP_POLIB=polib
+ local PIP_SQL=python-sql
+ local PIP_STDNUM=python-stdnum
+ local PIP_SIMPLEEVAL=simpleeval
+ local PIP_CONFIGPARSER=configparser
+ local PIP_PYMONGO=pymongo
+ local PIP_PYMONGO=pywebdav3-gnuhealth
+ message WARNING 'Skipping local PYTHON-LDAP installation. Please refer to the Wikibook to install it'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;33m2017-08-18 19:18:54 [WARNING] Skipping local PYTHON-LDAP installation. Please refer to the Wikibook to install it\e[m'
2017-08-18 19:18:54 [WARNING] Skipping local PYTHON-LDAP installation. Please refer to the Wikibook to install it
+ local 'PIP_PKGS=pytz wrapt werkzeug six lxml relatorio python-dateutil psycopg2 vobject         qrcode pybarcode Pillow caldav polib python-sql python-stdnum simpleeval configparser pywebdav3-gnuhealth'
+ message INFO 'Installing python dependencies with pip-9.0.1 ...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:18:54 [INFO] Installing python dependencies with pip-9.0.1 ...\e[m'
2017-08-18 19:18:54 [INFO] Installing python dependencies with pip-9.0.1 ...
+ for PKG in ${PIP_PKGS}
+ message ' >> pytz'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:54'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user pytz
Requirement already up-to-date: pytz in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:56'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> wrapt'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:56'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user wrapt
Requirement already up-to-date: wrapt in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:57'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> werkzeug'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:57'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user werkzeug
Requirement already up-to-date: werkzeug in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:58'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> six'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:58'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user six
Requirement already up-to-date: six in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:59'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> lxml'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:18:59'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user lxml
Requirement already up-to-date: lxml in /opt/local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:00'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> relatorio'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:00'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user relatorio
Requirement already up-to-date: relatorio in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: lxml>=2.0 in /opt/local/lib/python3.6/site-packages (from relatorio)
Requirement already up-to-date: Genshi>=0.5 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from relatorio)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:02'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> python-dateutil'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:02'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user python-dateutil
Requirement already up-to-date: python-dateutil in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: six>=1.5 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from python-dateutil)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:03'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> psycopg2'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:03'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user psycopg2
Requirement already up-to-date: psycopg2 in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:04'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> vobject'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:04'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user vobject
Requirement already up-to-date: vobject in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: python-dateutil>=2.4.0 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from vobject)
Requirement already up-to-date: six>=1.5 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from python-dateutil>=2.4.0->vobject)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:05'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> qrcode'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:05'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user qrcode
Requirement already up-to-date: qrcode in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: six in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from qrcode)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:06'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> pybarcode'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:06'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user pybarcode
Requirement already up-to-date: pybarcode in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:07'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> Pillow'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:07'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user Pillow
Requirement already up-to-date: Pillow in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: olefile in /opt/local/lib/python3.6/site-packages (from Pillow)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:09'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> caldav'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:09'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user caldav
Requirement already up-to-date: caldav in /export/home/gnuhealth/.local/lib/python3.6/site-packages
Requirement already up-to-date: vobject in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: lxml in /opt/local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: nose in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: coverage in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: requests in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: six in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from caldav)
Requirement already up-to-date: python-dateutil>=2.4.0 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from vobject->caldav)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from requests->caldav)
Requirement already up-to-date: certifi>=2017.4.17 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from requests->caldav)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from requests->caldav)
Requirement already up-to-date: idna<2.7,>=2.5 in /export/home/gnuhealth/.local/lib/python3.6/site-packages (from requests->caldav)
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:11'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> polib'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:11'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user polib
Requirement already up-to-date: polib in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:12'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> python-sql'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:12'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user python-sql
Requirement already up-to-date: python-sql in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:13'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> python-stdnum'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:13'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user python-stdnum
Requirement already up-to-date: python-stdnum in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:14'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> simpleeval'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:14'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user simpleeval
Requirement already up-to-date: simpleeval in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:15'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> configparser'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:15'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user configparser
Requirement already up-to-date: configparser in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:16'
+ case $1 in
+ for PKG in ${PIP_PKGS}
+ message ' >> pywebdav3-gnuhealth'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:16'
+ case $1 in
+ /opt/local/bin/pip install --upgrade --user pywebdav3-gnuhealth
Requirement already up-to-date: pywebdav3-gnuhealth in /export/home/gnuhealth/.local/lib/python3.6/site-packages
+ message ' >> OK'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:17'
+ case $1 in
+ install_tryton_modules
+ message INFO 'Getting list of lastest Tryton packages...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:17'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:17 [INFO] Getting list of lastest Tryton packages...\e[m'
2017-08-18 19:19:17 [INFO] Getting list of lastest Tryton packages...
++ get_url trytond
+++ +++ wget --quiet -O- http://downloads.tryton.org/4.2
egrep -o 'trytond-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ local TRYTOND_URL=http://downloads.tryton.org/4.2/
++ basename http://downloads.tryton.org/4.2/
+ local TRYTOND_FILE=4.2
+ local 'TRYTON_MODULES=account account_invoice account_product company country currency party product stock stock_lot purchase account_invoice_stock stock_supply purchase_request'
+ local TRYTON_MODULES_FILE=
+ local TRYTON_MODULES_URL=
+ local AUX= MODULE=
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_account
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_account-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_account_invoice
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_account_invoice-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_account_product
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_account_product-4.2.[0-9\.]+.tar.gz'
+++ tail -1
+++ sort -V
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_company
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_company-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_country
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_country-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_currency
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_currency-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_party
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_party-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_product
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_product-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_stock
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_stock-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_stock_lot
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_stock_lot-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_purchase
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_purchase-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_account_invoice_stock
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ sort -V
+++ egrep -o 'trytond_account_invoice_stock-4.2.[0-9\.]+.tar.gz'
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_stock_supply
+++ wget --quiet -O- http://downloads.tryton.org/4.2
+++ egrep -o 'trytond_stock_supply-4.2.[0-9\.]+.tar.gz'
+++ sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ for MODULE in ${TRYTON_MODULES}
++ get_url trytond_purchase_request
+++ egrep -o 'trytond_purchase_request-4.2.[0-9\.]+.tar.gz'
+++ +++ wget --quiet -O- http://downloads.tryton.org/4.2
sort -V
+++ tail -1
egrep: illegal option -- o
usage: egrep [ -bchHilnsqv ] [ -e exp ] [ -f file ] [ strings ] [ file ] ...
sort: illegal option -- V
usage: sort [-cmu] [-o output] [-T directory] [-S mem] [-z recsz]
        [-dfiMnr] [-b] [-t char] [-k keydef] [+pos1 [-pos2]] files...
++ echo http://downloads.tryton.org/4.2/
+ AUX=http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_URL=' http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/ http://downloads.tryton.org/4.2/'
++ basename http://downloads.tryton.org/4.2/
+ TRYTON_MODULES_FILE=' 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2'
+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:19'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:19 [INFO] OK.\e[m'
2017-08-18 19:19:19 [INFO] OK.
+ message INFO 'Changing to temporary directory.'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:19'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:19 [INFO] Changing to temporary directory.\e[m'
2017-08-18 19:19:19 [INFO] Changing to temporary directory.
+ cd /tmp/gnuhealth_installer
+ message INFO 'Downloading the Tryton server...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:19'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:19 [INFO] Downloading the Tryton server...\e[m'
2017-08-18 19:19:19 [INFO] Downloading the Tryton server...
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html'

index.html                                           100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.39 MB/s) - 'index.html' saved [83632/83632]

+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:19'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:19 [INFO] OK.\e[m'
2017-08-18 19:19:19 [INFO] OK.
+ message INFO 'Downloading Tryton modules...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:19'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:19 [INFO] Downloading Tryton modules...\e[m'
2017-08-18 19:19:19 [INFO] Downloading Tryton modules...
+ local URL=""> + for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.1'

index.html.1                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.40 MB/s) - 'index.html.1' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.2'

index.html.2                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.39 MB/s) - 'index.html.2' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.3'

index.html.3                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.40 MB/s) - 'index.html.3' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.4'

index.html.4                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.40 MB/s) - 'index.html.4' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.5'

index.html.5                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:19 (1.40 MB/s) - 'index.html.5' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:19--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.6'

index.html.6                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.39 MB/s) - 'index.html.6' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.7'

index.html.7                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.39 MB/s) - 'index.html.7' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.8'

index.html.8                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.41 MB/s) - 'index.html.8' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.9'

index.html.9                                         100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.40 MB/s) - 'index.html.9' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.10'

index.html.10                                        100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.39 MB/s) - 'index.html.10' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.11'

index.html.11                                        100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.40 MB/s) - 'index.html.11' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.12'

index.html.12                                        100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.39 MB/s) - 'index.html.12' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.13'

index.html.13                                        100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.40 MB/s) - 'index.html.13' saved [83632/83632]

+ for URL in ${TRYTON_MODULES_URL}
+ wget http://downloads.tryton.org/4.2/
--2017-08-18 21:19:20--  http://downloads.tryton.org/4.2/
Resolving downloads.tryton.org... 91.121.144.88, 2001:41d0:1:c158::1
Connecting to downloads.tryton.org|91.121.144.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83632 (82K) [text/html]
Saving to: 'index.html.14'

index.html.14                                        100%[=====================================================================================================================>]  81.67K  --.-KB/s    in 0.06s  

2017-08-18 21:19:20 (1.39 MB/s) - 'index.html.14' saved [83632/83632]

+ message INFO OK.
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:20'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:20 [INFO] OK.\e[m'
2017-08-18 19:19:20 [INFO] OK.
+ message INFO 'Uncompressing the Tryton server...'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:20'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:20 [INFO] Uncompressing the Tryton server...\e[m'
2017-08-18 19:19:20 [INFO] Uncompressing the Tryton server...
+ cd /export/home/gnuhealth//gnuhealth/tryton/server
+ tar -xzf /tmp/gnuhealth_installer/4.2
tar: /tmp/gnuhealth_installer/4.2: No such file or directory
+ bailout
+ message INFO 'Bailing out !'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:20'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:20 [INFO] Bailing out !\e[m'
2017-08-18 19:19:20 [INFO] Bailing out !
+ message INFO 'Cleaning up temp directories at /tmp/gnuhealth_installer'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:20'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:20 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer\e[m'
2017-08-18 19:19:20 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer
+ '[' -e /export/home/gnuhealth//gnuhealth/.installation_ok ']'
+ message INFO 'removing base dir at /export/home/gnuhealth//gnuhealth'
++ date -u '+%Y-%m-%d %H:%M:%S'
+ local 'UTC=2017-08-18 19:19:20'
+ case $1 in
+ echo -e '\e[0;36m2017-08-18 19:19:20 [INFO] removing base dir at /export/home/gnuhealth//gnuhealth\e[m'
2017-08-18 19:19:20 [INFO] removing base dir at /export/home/gnuhealth//gnuhealth
+ rm -rf /export/home/gnuhealth//gnuhealth
rm: Cannot remove any directory in the path of the current working directory
/export/home/gnuhealth//gnuhealth/tryton/server
rm: Unable to remove directory /export/home/gnuhealth//gnuhealth/tryton: Directory not empty
rm: Unable to remove directory /export/home/gnuhealth//gnuhealth: Directory not empty
+ exit 1
address@hidden:/export/home/gnuhealth/gnuhealth-3.2.1$


On 18-08-17 09:58, Luis Falcon wrote:
Hi Dirk !

On Thu, 17 Aug 2017 23:24:38 +0200
Dirk Willems <address@hidden> wrote:

Ok did some tests


with gcc5


fatal error: limits.h: No such file or directory
     compilation terminated.
     error: command 'gcc' failed with exit status 1

     ----------------------------------------
Command "/opt/local/bin/python3.6 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-y7_n2occ/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-76r39u0z-record/install-record.txt
--single-version-externally-managed --compile --user --prefix="
failed with error code 1 in /tmp/pip-build-y7_n2occ/psycopg2/
2017-08-17 21:07:17 [INFO] Bailing out !
2017-08-17 21:07:17 [INFO] Cleaning up temp directories at
/tmp/gnuhealth_installer
2017-08-17 21:07:17 [INFO] removing base dir at
/export/home/gnuhealth//gnuhealth

Looks like you're missing the header files for psycopg2 development /
compiling.

Make sure you install them and then re-run the installation process.

Bests
Luis



--
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]