health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [task #13726] Add support for Red Hat


From: Bruno M. Villasanti
Subject: [Health-dev] [task #13726] Add support for Red Hat
Date: Tue, 25 Aug 2015 22:26:22 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36

URL:
  <http://savannah.gnu.org/task/?13726>

                 Summary: Add support for Red Hat
                 Project: GNU Health
            Submitted by: bvillasanti
            Submitted on: mar 25 ago 2015 19:26:20 ART
         Should Start On: mar 25 ago 2015 00:00:00 ART
   Should be Finished on: mar 25 ago 2015 00:00:00 ART
                Category: Operating System
                Priority: 5 - Normal
                  Status: Need Info
                 Privacy: Public
        Percent Complete: 10%
             Assigned to: bvillasanti
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: Installer

    _______________________________________________________

Details:

After testing the installation over Red Hat [1], (having adapted the
prerequisites described in the Wiki) an error occurs processing the psycopg2
package of installation script that makes necessary to modify the method.

* Alternative method:
"Move the psycopg2 package installation from script (made by pip) to the
section installation requirements for the Red Hat operating system".

* Steps:
1. Remove psycopg2 installation via pip from script installer; only for Red
Hat (by prior detection of the Operating System).
2. Include the python-psycopg2 package dependencies installation for Red Hat
Operating System in the respective Section of the Wiki.


Awaiting validation feedback or some alternative method proposed.


Regards.

--
[1] Environment detail:

    Red Hat Enterprise Linux Server release 7.1 (Maipo)
    PostgreSQL 9.4
    Python 2.7
    pip 7.1
    Tryton 3.4
    GNU Health 2.8

[2] Traceback:

    [15:21:26] >> psycopg2==2.5.4
    Collecting psycopg2==2.5.4
   
/usr/lib/python2.7/site-packages/pip-7.1.0-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90:
InsecurePlatformWarning: A true SSLContext object is not available. This
prevents urllib3 from configuring SSL appropriately and may cause certain SSL
connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Downloading psycopg2-2.5.4.tar.gz (682kB)
        100%
|████████████████████████████████|
684kB 19kB/s 
        Complete output from command python setup.py egg_info:
        running egg_info
        creating pip-egg-info/psycopg2.egg-info
        writing pip-egg-info/psycopg2.egg-info/PKG-INFO
        writing top-level names to
pip-egg-info/psycopg2.egg-info/top_level.txt
        writing dependency_links to
pip-egg-info/psycopg2.egg-info/dependency_links.txt
        writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
        warning: manifest_maker: standard file '-c' not found
        
        Error: pg_config executable not found.
        
        Please add the directory containing pg_config to the PATH
        or specify the full executable path with the option:
        
            python setup.py build_ext --pg-config /path/to/pg_config build
...
        
        or with the pg_config option in 'setup.cfg'.
        
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-build-EP5W69/psycopg2





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/task/?13726>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

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