Hi all, I'm trying to build Wireshark for Linux version but I cannot start with the script "autogen.sh". I have already installed autoconf, automake, lib-tool to fix some errors but it shows another as shown in the figure below And the output of "sh -x ./autogen.sh" is It seems that there is a problem with AC_CONFIG_FILES but I don't know how to fix. Please help me if you have any idea or suggestion. Thank you so much! asked 16 Sep '13, 18:53 hoangsonk49 edited 18 Sep '13, 02:56 |
One Answer:
Hi all, problem solved. Most of problem caused by the EOL "^M" in the script, so you should re-write those files including: autogen, configure.ac, aclocal-flags by using this command:
So I will not delete this question in order to help other developers if they have the same problem. Thanks! answered 16 Sep '13, 19:32 hoangsonk49 1 You might have ^M's in that (and other) scripts if you checked out the source code using a Windows SVN client. The scripts have the SVN property eol-style set to "native." (17 Sep '13, 06:08) JeffMorriss ♦ Yes. There are no ^Ms in the file if you check it out on a UN*X, but there will be ^Ms in the file if you check it out on Windows. (17 Sep '13, 14:36) Guy Harris ♦♦ Yes, you are right. Thanks for your comments. Now, my code is running successfully, thanks for your help (17 Sep '13, 18:16) hoangsonk49 |
Btw, I'm using Ubuntu, the latest version.