-
Notifications
You must be signed in to change notification settings - Fork 274
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
Compiling from source fails with Makefile:716: %reldir%/dlt_en10mb/Makefile.am: No such file or directory #553
Comments
You probably had a previous error which suggested that you did not have appropriate maintainer tools installed. Suggest downloading release and not run ./autogen.sh. Just run ./configure. |
Thanks fklassen. What would be the maintainer tools you refer to? |
Look at the errors generated by ./autogen.sh and ./configure. |
Hi @olignyf , The AM_PROG_CC_C_O macro has been deprecated since automake 1.14 (released 6 years ago) . The macro is a no-op on automake >= 1.14. Best regards, |
Hello, I have the same issue. Just running ./configure did not help. |
Hi @soulbreak , I think that if you patch the root configure.ac file by adding In case it helps you, the commit that introduced this is 63a12ac Should this fix you issue, please consider sending back the patch you applied. Best regards, |
I tried without success. Based on your commit I changed this line in configure.ac 152 AC_PROG_INSTALL Here the end of the configure output |
Hi, I am guessing that you executed the following: ./autogen.sh # src/tcpedit/Makefile.am:8: warning: compiling '%reldir%/dlt_plugins.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac'
$ ./configure
$ make
# patch configure.ac
$ make # make[3]: *** No rule to make target `%reldir%/dlt_pppserial/Makefile.am'. Stop. After having patched the If you find this whole autotool system cumbersome, but want to work with tcpreplay from the sources, you may want to download the source distribution (latest available here https://github.com/appneta/tcpreplay/releases/download/v4.3.1/tcpreplay-4.3.1.tar.xz). I have tested it to build on a centos 7.3 without trouble. Best regards, |
This should prevent issues like appneta#553
Centos 7 uses automake version 1.13.4 wich is unable to generate proper [include directives](https://www.gnu.org/software/automake/manual/html_node/Include.html). To build on Cento 7 use [release version](https://github.com/appneta/tcpreplay/releases/latest).
…pile Bug #553 Centos 7 disable maintainer compile
Addressed issue in PR #643 Centos 7 uses automake version 1.13.4 wich is unable to generate To build on Cento 7 use release version. |
Hello @fklassen I got the error message |
When I do this on CentOS 7
It ends with this error
The text was updated successfully, but these errors were encountered: