[ 
https://issues.apache.org/jira/browse/HAWQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138769#comment-15138769
 ] 

Clay B. commented on HAWQ-307:
------------------------------

I am now walking through the {{make install}} process which is more in-depth 
than I realized:

h3. Issue with {{checkinc.py}}
There is a {{checkinc.py}} which looks to do some post-processing on include 
files. With my way of building, I end up with the following failure:
{code}
./checkinc.py
Greenplum INCLUDEDIR:    /usr/local/hawq/include
Greenplum PKGINCLUDEDIR: /usr/local/hawq/include/postgresql
Checking includes...
  access/url.h                   includes missing file "sys/time.h" 
  c.h                            includes missing file "sys/types.h" 
  getaddrinfo.h                  includes missing file "sys/socket.h" 
  libpq-int.h                    includes missing file "sys/types.h" 
  libpq-int.h                    includes missing file "sys/time.h" 
  libpq/libpq-be.h               includes missing file "sys/time.h" 
  libpq/libpq.h                  includes missing file "sys/types.h" 
  libpq/pqcomm.h                 includes missing file "sys/socket.h" 
  libpq/pqcomm.h                 includes missing file "sys/un.h" 
  mb/pg_wchar.h                  includes missing file "sys/types.h" 
  nodes/execnodes.h              includes missing file "sys/time.h" 
  pgtime.h                       includes missing file "sys/time.h" 
  port.h                         includes missing file "sys/stat.h" 
  port/nextstep.h                includes missing file "sys/ioctl.h" 
  port/ultrix4.h                 includes missing file "sys/types.h" 
  port/win32/arpa/inet.h         includes missing file "sys/socket.h" 
  port/win32/netinet/in.h        includes missing file "sys/socket.h" 
  portability/instr_time.h       includes missing file "sys/time.h" 
  rusagestub.h                   includes missing file "sys/time.h" 
  rusagestub.h                   includes missing file "sys/times.h" 
  utils/elog.h                   includes missing file "sys/time.h" 
  utils/pg_rusage.h              includes missing file "sys/time.h" 
  utils/pg_rusage.h              includes missing file "sys/resource.h" 
Include files... FAILED
make: *** [includecheck] Error 1
{code}

If I understand 
[{{checinc.py}}|https://github.com/apache/incubator-hawq/blob/8b26974cd8d6e1d824f274eb4a68f950fd94156c/src/test/regress/checkinc.py#L105-L107]'s
 intention, it should be looking in the system's include dirs. It seems on 
Ubuntu, these includes follow the 
[MultiArch|http://unix.stackexchange.com/questions/43190/where-did-usr-lib64-go-and-what-is-usr-lib-x86-64-linux-gnu]
 path definition so thestructure is deeper than just {{/usr/include}}.

It seems this was all that prevented: {{HAWQ installation complete.}}

> Ubuntu Support
> --------------
>
>                 Key: HAWQ-307
>                 URL: https://issues.apache.org/jira/browse/HAWQ-307
>             Project: Apache HAWQ
>          Issue Type: New Feature
>          Components: Build
>            Reporter: Lei Chang
>            Assignee: Clay B.
>             Fix For: 2.1.0
>
>
> To support HAWQ running on Ubuntu OS 14.04.3



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

Reply via email to