-
Notifications
You must be signed in to change notification settings - Fork 616
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
build and install issue #1165
Comments
Do you install automake? |
yes |
Though I will make a PR for updating the line of |
Yes, I have updated the version of autoconf and automake. autoreconf: Entering directory `.' |
Could you run the following command line and show the output?
The output in my environment is that
|
This is my output.
|
...Hmm Could you retry after removing autom4te.cache directory? |
I have a try again. |
What kind of OS do you use? Is there a docker container image for the OS is avaiable? I should inspect where AC_DEFINE comes from if autoconf works fine. However, I cannot find time for doing it know. |
ctags itself supports m4 and autoconf so, I must find the definition of |
The OS is RHEL 5.7 |
Oh, I see. I will try to reproduce the issue. |
I guess you may have a directory /.temp-tool/share/aclocal or /.temp-tool/share/aclocal-1.11. I used following Dockerfile to inspect this issue.
|
Thank you very much.☺ However, when I run the command make, another issue appears.
And as I know, 'xmlPreviousElementSibling' is related to the libxml2.
But in my system environment, the libxml2 is not installed.
After the Makefile is generated, I check that the LIBXML_CFLAGS is updated. |
It seems that |
Do you install libxml2-devel package? |
It seems that older libxml2 doesn't have xmlPreviousElementSibling which is used in PlistXML parser. libxml2 shipped as part of RHEL5 is such old library. (See universal-ctags#1165). To avoid build error, configure should check the existence of xmlPreviousElementSibling in libxml2. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
It works successfully now. |
I try to fllow the solution, but failed. mainly because the path is different. use the command below can print the path locally. |
The solution I showed is really wrong. @zhanghlHUST, your system has /usr/local/share/aclocal. As far as my knowledge based on experiences on Fedora, It implies you installed automake manually. In other hand, pkg.m4 is installed to /usr/share/aclocal. It implies you installed pkg-config (or pkg-config-m4) distro package. The gap between the ways to install cause the trouble. |
When I run the autogen.sh, it failed.
The Error information are as following:
The text was updated successfully, but these errors were encountered: