You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "C.J. Jameson" <cj...@pivotal.io> on 2016/07/07 21:22:19 UTC

Re: [GitHub] incubator-hawq issue #489: HAWQ-537. Accept filenames with spaces

I am having trouble with my dev environment when I run `automake`; can
someone else run this and push for me?

```
automake: warning: autoconf input should be named 'configure.ac', not '
configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
automake: error: no 'Makefile.am' found for any configure output
```

Thanks,
C.J.

On Tue, Jun 28, 2016 at 7:46 PM, radarwave <gi...@git.apache.org> wrote:

> Github user radarwave commented on the issue:
>
>     https://github.com/apache/incubator-hawq/pull/489
>
>     @cjcjameson Most looks good to me.
>     Please use this template file 'GNUMakefile.in' to generate
> 'GNUMakefile' and test the run result. They should be check-in together.
> Thanks.
>
>
> ---
> If your project is set up for it, you can reply to this email and have your
> reply appear on GitHub as well. If your project does not have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
>

Re: [GitHub] incubator-hawq issue #489: HAWQ-537. Accept filenames with spaces

Posted by Paul Guo <pa...@gmail.com>.
GNUmakefile is generated automatically after running the configure command.
GNUMakefile should not be checked in.

2016-07-08 5:22 GMT+08:00 C.J. Jameson <cj...@pivotal.io>:

> I am having trouble with my dev environment when I run `automake`; can
> someone else run this and push for me?
>
> ```
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes
> AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
> automake: error: no 'Makefile.am' found for any configure output
> ```
>
> Thanks,
> C.J.
>
> On Tue, Jun 28, 2016 at 7:46 PM, radarwave <gi...@git.apache.org> wrote:
>
> > Github user radarwave commented on the issue:
> >
> >     https://github.com/apache/incubator-hawq/pull/489
> >
> >     @cjcjameson Most looks good to me.
> >     Please use this template file 'GNUMakefile.in' to generate
> > 'GNUMakefile' and test the run result. They should be check-in together.
> > Thanks.
> >
> >
> > ---
> > If your project is set up for it, you can reply to this email and have
> your
> > reply appear on GitHub as well. If your project does not have this
> feature
> > enabled and wishes so, or if the feature is enabled but not working,
> please
> > contact infrastructure at infrastructure@apache.org or file a JIRA
> ticket
> > with INFRA.
> > ---
> >
>

Re: [GitHub] incubator-hawq issue #489: HAWQ-537. Accept filenames with spaces

Posted by Hong Wu <xu...@gmail.com>.
Hi C.J.,

The make system in HAWQ is a incomplete usage of autotools which comes from
postgres. The dependency looks like below:

`autoconf`: configure.in + aclocal.m4 -> configure
`./configure`: configure + GNUMakefile.in -> GNUMakefile
`make`: Makefile --> GNUMakefile

-> represents generate
--> represents invoke

Consequently, we just need to modify configure.in and GNUMakefile.in. Also,
run autoconf locally to generate configure file and check in this file
too.(it is a little duplicate, but it is a conventional way inside HAWQ,
Postgres). For your problem specifically, HAWQ does not use configure.ac
and Makefile.am, so you don't need to run automake. Hope this helps.

Thanks.
xunzhang


2016-07-08 5:22 GMT+08:00 C.J. Jameson <cj...@pivotal.io>:

> I am having trouble with my dev environment when I run `automake`; can
> someone else run this and push for me?
>
> ```
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
> configure.in: You should verify that configure.in invokes
> AM_INIT_AUTOMAKE,
> configure.in: that aclocal.m4 is present in the top-level directory,
> configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
> automake: error: no 'Makefile.am' found for any configure output
> ```
>
> Thanks,
> C.J.
>
> On Tue, Jun 28, 2016 at 7:46 PM, radarwave <gi...@git.apache.org> wrote:
>
> > Github user radarwave commented on the issue:
> >
> >     https://github.com/apache/incubator-hawq/pull/489
> >
> >     @cjcjameson Most looks good to me.
> >     Please use this template file 'GNUMakefile.in' to generate
> > 'GNUMakefile' and test the run result. They should be check-in together.
> > Thanks.
> >
> >
> > ---
> > If your project is set up for it, you can reply to this email and have
> your
> > reply appear on GitHub as well. If your project does not have this
> feature
> > enabled and wishes so, or if the feature is enabled but not working,
> please
> > contact infrastructure at infrastructure@apache.org or file a JIRA
> ticket
> > with INFRA.
> > ---
> >
>