Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run autogen.sh fail #1685

Closed
konglinglong opened this issue Dec 22, 2015 · 3 comments
Closed

run autogen.sh fail #1685

konglinglong opened this issue Dec 22, 2015 · 3 comments

Comments

@konglinglong
Copy link

konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I config --force -I config
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
version.sh: error: could not extract version from include/zmq.h
' is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
configure.ac:603: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
autogen.sh: error: autoreconf exited with status 0
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$

@c-rack
Copy link
Member

c-rack commented Dec 23, 2015

@konglinglong I cannot reproduce the problem, but it seems to happen in those lines:
https://github.com/zeromq/libzmq/blob/master/version.sh#L10-L16

Could you please execute each of these egrep commands on their own and report their output here?

egrep '^#define +ZMQ_VERSION_MAJOR +[0-9]+$' include/zmq.h
egrep '^#define +ZMQ_VERSION_MINOR +[0-9]+$' include/zmq.h
egrep '^#define +ZMQ_VERSION_PATCH +[0-9]+$' include/zmq.h

Also, information about your OS might be helpful.

@konglinglong
Copy link
Author

I execute the egrep commands just you told me,there is nothing.
I delete the '+$' characters,and it is OK.

konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_MAJOR +[0-9]+$' include/zmq.h
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_MINOR +[0-9]+$' include/zmq.h
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_PATCH +[0-9]+$' include/zmq.h
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_MAJOR +[0-9]' include/zmq.h
#define ZMQ_VERSION_MAJOR 4
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_MINOR +[0-9]' include/zmq.h
#define ZMQ_VERSION_MINOR 2
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep '^#define +ZMQ_VERSION_PATCH +[0-9]' include/zmq.h
#define ZMQ_VERSION_PATCH 0
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ uname -a
Linux konglong-VPC 3.19.0-42-generic #48-Ubuntu SMP Thu Dec 17 22:55:02 UTC 2015 i686 i686 i686 GNU/Linux
konglong@konglong-VPC:/media/sf_workspace/GitHub/libzmq$ egrep --version
grep (GNU grep) 2.20
Copyright (C) 2014 Free Software Foundation, Inc.

@bluca
Copy link
Member

bluca commented Jan 3, 2017

Closing as cannot reproduce on any of the major distributions as the OBS build shows: https://build.opensuse.org/package/show/home:zeromq:git-stable/libzmq

@bluca bluca closed this as completed Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants