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

Add libtoolize before autoreconf -i in bootstrap.sh #262

Closed
junghongkao opened this issue Jan 27, 2017 · 5 comments
Closed

Add libtoolize before autoreconf -i in bootstrap.sh #262

junghongkao opened this issue Jan 27, 2017 · 5 comments
Labels
enhancement This topic discusses an improvement to existing compiler code. fixed This topic is considered to be fixed.

Comments

@junghongkao
Copy link
Contributor

Such that it can avoid the following error
Running autoconf/configure tools
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936.
Makefile.am:35: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:35: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:35: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:35: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:35: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1

@sethfowler
Copy link
Contributor

I haven't seen that error locally, and all of our tests (which build the project from scratch) are currently passing. Could you provide a bit more information about how to reproduce the error?

FWIW, LT_INIT is already called in configure.ac.

@junghongkao
Copy link
Contributor Author

junghongkao commented Jan 27, 2017 via email

@sethfowler
Copy link
Contributor

Seems reasonable. Could you please submit a PR?

Note that libtoolize is known as glibtoolize on macOS, so you'll need to handle that case.

@junghongkao
Copy link
Contributor Author

Seth,

Can you review the PR I have submitted ?

Jim

@ChrisDodd
Copy link
Contributor

You need to make the pull request into p4lang/p4c:master

@ChrisDodd ChrisDodd added enhancement This topic discusses an improvement to existing compiler code. fixed This topic is considered to be fixed. labels Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This topic discusses an improvement to existing compiler code. fixed This topic is considered to be fixed.
Projects
None yet
Development

No branches or pull requests

3 participants