You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Maxim P. Dementiev (JIRA)" <ji...@apache.org> on 2009/01/29 15:45:00 UTC

[jira] Created: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

autoreconf fails for /zookeeper-3.0.1/src/c/
--------------------------------------------

                 Key: ZOOKEEPER-281
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
             Project: Zookeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.0.1
         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
autoconf (GNU Autoconf) 2.63
automake (GNU automake) 1.10.2
m4 (GNU M4) 1.4.11
aclocal (GNU automake) 1.10.2
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
basename (GNU coreutils) 6.10
gettext (GNU gettext-runtime) 0.17
GNU ld (GNU Binutils) 2.18
            Reporter: Maxim P. Dementiev


> autoreconf -i -f -v
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: configure.ac: not using Gettext
autoreconf-2.63: running: aclocal --force 
configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
acinclude.m4:117: DX_ARG_ABLE is expanded from...
acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
configure.ac:21: the top level
autom4te-2.63: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
autoreconf-2.63: aclocal failed with exit status: 1
>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670023#action_12670023 ] 

Patrick Hunt commented on ZOOKEEPER-281:
----------------------------------------

Maxim, try the following.

1) download the attached ZOOKEEPER-281.patch and apply it to your codebase
2) run "autoreconf -if"
3) run "./configure"

does this work? Unfortunately both the patched and unpatched versions work for us. (I'm on latest ubuntu 8.10 for example, but it also works on redhat as well) I'm not sure what's special about your system but there's probably some diff in the autotools or doxygen, here's what I have:

autoreconf (GNU Autoconf) 2.61
automake (GNU automake) 1.9.6
doxygen 1.5.6

You might also try running the configure script which I attached, try running this "./configure" after trying the above steps.


> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-281:
-----------------------------------

    Attachment: configure.gz

sample configure script is attached at configure.gz, generated using patched acinclude file

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669943#action_12669943 ] 

Maxim P. Dementiev commented on ZOOKEEPER-281:
----------------------------------------------

dememax@dememax-laptop ~/sources/ZooKeeper/zookeeper-3.0.1/src/c $ diff -c __acinclude.m4__ acinclude.m4
*** __acinclude.m4__    2009-02-03 16:06:00.000000000 +0300
--- acinclude.m4        2009-02-03 16:06:48.000000000 +0300
***************
*** 76,82 ****
  # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
  AC_DEFUN([DX_REQUIRE_PROG], [
  AC_PATH_TOOL([$1], [$2])
! if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
      AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
      AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
  fi
--- 76,82 ----
  # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
  AC_DEFUN([DX_REQUIRE_PROG], [
  AC_PATH_TOOL([$1], [$2])
! if test "$DX_FLAG_$[DX_CURRENT_FEATURE$$1]" = 1; then
      AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
      AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
  fi
dememax@dememax-laptop ~/sources/ZooKeeper/zookeeper-3.0.1/src/c $ autoreconf -i -f -v
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: configure.ac: not using Gettext
autoreconf-2.63: running: aclocal --force 
configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
acinclude.m4:117: DX_ARG_ABLE is expanded from...
acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
configure.ac:21: the top level
autom4te-2.63: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
autoreconf-2.63: aclocal failed with exit status: 1
dememax@dememax-laptop ~/sources/ZooKeeper/zookeeper-3.0.1/src/c $ 

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>         Attachments: autoreconf.log
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679393#action_12679393 ] 

Mahadev konar commented on ZOOKEEPER-281:
-----------------------------------------

+1 for the patch... 

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>             Fix For: 3.2.0
>
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim P. Dementiev updated ZOOKEEPER-281:
-----------------------------------------

    Fix Version/s: 3.0.1
     Release Note: Introduces compatibility with new GNU Autoconf version 2.63.
           Status: Patch Available  (was: Open)

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>             Fix For: 3.0.1
>
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim P. Dementiev updated ZOOKEEPER-281:
-----------------------------------------

    Attachment: autoreconf.log

Result of "autoreconf -i -f -v -v -v > autoreconf.log 2>&1".

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>         Attachments: autoreconf.log
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim P. Dementiev updated ZOOKEEPER-281:
-----------------------------------------

    Attachment: configure-autoreconf-2.63.gz

Dear Patrick,

Your patch works fine for me! Take a look:

dememax@dememax-laptop ~/sources/ZooKeeper/zookeeper-3.0.1/src/c $ autoreconf -i -f -v
autoreconf-2.63: Entering directory `.'
autoreconf-2.63: configure.ac: not using Gettext
autoreconf-2.63: running: aclocal --force 
autoreconf-2.63: configure.ac: tracing
autoreconf-2.63: running: libtoolize --copy --force
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --force
autoreconf-2.63: running: /usr/bin/autoheader-2.63 --force
autoreconf-2.63: running: automake --add-missing --copy --force-missing
configure.ac:30: installing `./compile'
configure.ac:24: installing `./install-sh'
configure.ac:24: installing `./missing'
Makefile.am: installing `./depcomp'
autoreconf-2.63: Leaving directory `.'
dememax@dememax-laptop ~/sources/ZooKeeper/zookeeper-3.0.1/src/c $

Generated configure script (see attachment configure-autoreconf-2.63.gz) works fine as well.

By the way, why C*FLAGS are ignored by the build system?
Should I submit an item for this case?

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668546#action_12668546 ] 

Patrick Hunt commented on ZOOKEEPER-281:
----------------------------------------

A web search seems to indicate that there are problems with doxygen's autoconf integration:

http://www.nabble.com/aclocal-1.9-and-aclocal-1.10-are-failing-while-aclocal-1.7-is-not-td18647659.html

can you try editing acinclude.m4 line 79 to look like:

if test "$DX_FLAG_$[DX_CURRENT_FEATURE$$1]" = 1; then

and retry?



> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>         Attachments: autoreconf.log
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-281:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.1
     Release Note: 
Introduces compatibility with new GNU Autoconf version 2.63.

Fixed the m4 file but releases now include configure script so this should no longer be an issue generally for end users (an issue, but fixed, for developers)

  was:Introduces compatibility with new GNU Autoconf version 2.63.

     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed revision 750637.
Committed revision 750638.


> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>             Fix For: 3.1.1, 3.2.0
>
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-281:
-----------------------------------

    Fix Version/s:     (was: 3.0.1)
                   3.2.0

Updating fix release to 3.2 - we'll address it there.


> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>             Fix For: 3.2.0
>
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim P. Dementiev reassigned ZOOKEEPER-281:
--------------------------------------------

    Assignee: Patrick Hunt

Sorry for delay.
Oh, the formatting is ugly but the result is the same.
I'm not a prof in m4 and auto* stuff.
Can you propose something else?
Do you need an access to the system like mine is?

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680849#action_12680849 ] 

Hudson commented on ZOOKEEPER-281:
----------------------------------

Integrated in ZooKeeper-trunk #251 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/251/])
    

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>             Fix For: 3.1.1, 3.2.0
>
>         Attachments: autoreconf.log, configure-autoreconf-2.63.gz, configure.gz, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Maxim P. Dementiev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669950#action_12669950 ] 

dememax edited comment on ZOOKEEPER-281 at 2/3/09 8:21 AM:
----------------------------------------------------------------------

Sorry for delay.
Oh, the formatting is ugly but the result is the same.
Unfortunately, I'm not a prof in m4 and auto* stuff.
Can you propose something else?
Do you need an access to the system like mine is?

For example, I've got cppunit package, it use the same build system.
It might help:
http://cppunit.cvs.sourceforge.net/viewvc/cppunit/cppunit/configure.in?view=markup&pathrev=HEAD
http://cppunit.cvs.sourceforge.net/viewvc/cppunit/cppunit/config/bb_enable_doxygen.m4?view=markup&pathrev=HEAD

      was (Author: dememax):
    Sorry for delay.
Oh, the formatting is ugly but the result is the same.
I'm not a prof in m4 and auto* stuff.
Can you propose something else?
Do you need an access to the system like mine is?
  
> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-281) autoreconf fails for /zookeeper-3.0.1/src/c/

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-281:
-----------------------------------

    Attachment: ZOOKEEPER-281.patch

fix to acinclude.m4 to see if doxygen issue can be resolved.

> autoreconf fails for /zookeeper-3.0.1/src/c/
> --------------------------------------------
>
>                 Key: ZOOKEEPER-281
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-281
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.0.1
>         Environment: Linux dememax-laptop 2.6.27-gentoo-r8 #2 SMP Fri Jan 23 13:42:35 MSK 2009 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
> autoconf (GNU Autoconf) 2.63
> automake (GNU automake) 1.10.2
> m4 (GNU M4) 1.4.11
> aclocal (GNU automake) 1.10.2
> ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)
> basename (GNU coreutils) 6.10
> gettext (GNU gettext-runtime) 0.17
> GNU ld (GNU Binutils) 2.18
>            Reporter: Maxim P. Dementiev
>            Assignee: Patrick Hunt
>         Attachments: autoreconf.log, ZOOKEEPER-281.patch
>
>
> > autoreconf -i -f -v
> autoreconf-2.63: Entering directory `.'
> autoreconf-2.63: configure.ac: not using Gettext
> autoreconf-2.63: running: aclocal --force 
> configure.ac:21: error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a valid shell variable name
> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
> acinclude.m4:117: DX_ARG_ABLE is expanded from...
> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
> configure.ac:21: the top level
> autom4te-2.63: /usr/bin/m4 failed with exit status: 1
> aclocal-1.10: autom4te failed with exit status: 1
> autoreconf-2.63: aclocal failed with exit status: 1
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.