You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Lei Chang (JIRA)" <ji...@apache.org> on 2015/11/21 03:42:11 UTC

[jira] [Updated] (HAWQ-4) make[2]: *** [pygresql] Error 1

     [ https://issues.apache.org/jira/browse/HAWQ-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lei Chang updated HAWQ-4:
-------------------------
    Fix Version/s: 2.0.0-beta-incubating

> make[2]: *** [pygresql] Error 1
> -------------------------------
>
>                 Key: HAWQ-4
>                 URL: https://issues.apache.org/jira/browse/HAWQ-4
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Build
>         Environment: Docker  Centos
>            Reporter: Vijayakumar Ramdoss
>             Fix For: 2.0.0-beta-incubating
>
>
> Hi,
> I am trying to install the HAWQ environment in the Docker container, Its throwing the error message as 'make[2]: *** [pygresql] Error 1', Please refer detailed error message below,
> ---
> ['/opt/python-2.6.2/lib', '/opt/hawq-dep/python-2.6.2/lib/python2.6/..', '/lib', '/usr/lib']
> cp -r /hawq/tools/bin/pythonSrc/pycrypto-2.0.1/build/lib.*/Crypto /hawq/tools/bin/ext
> --- PyGreSQL
> cd /hawq/tools/bin/pythonSrc/PyGreSQL-4.0 && CC="gcc" CFLAGS="-I/opt/hawq-dep/include -I/opt/hawq-dep/python-2.6.2/include -std=gnu99  -Wall -Wmissing-prototypes -Wpointer-arith  -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -I/opt/hawq-dep/include" LDFLAGS="-L../../src/interfaces/libpq -L../../src/port -L../../src/port -L/opt/hawq-dep/lib -L/opt/hawq-dep/lib64 -L/opt/hawq-dep/python-2.6.2/lib  -Wl,--as-needed -Wl,-rpath,'/opt/hawq-install/lib',--enable-new-dtags" python setup.py build
> Traceback (most recent call last):
>   File "setup.py", line 104, in <module>
>     mk_include()
>   File "setup.py", line 75, in mk_include
>     for f in os.listdir(pg_include_dir_server):
> OSError: [Errno 2] No such file or directory: '/usr/local/hawq/include/postgresql/server'
> make[2]: *** [pygresql] Error 1
> make[2]: Leaving directory `/hawq/tools/bin'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/hawq/tools'
> make: *** [install] Error 2
> [root@8fcf8a270695 hawq]# 
> Thanks
> Vijay



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)