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

AM_PROG_MKDIR_P to be removed #2

Open
dansou901 opened this issue Dec 2, 2013 · 16 comments
Open

AM_PROG_MKDIR_P to be removed #2

dansou901 opened this issue Dec 2, 2013 · 16 comments

Comments

@dansou901
Copy link

Hi,
I've got a problem with compiling the gui. During bootstrap, I get a message concerning aclocal:
aclocal-1.5
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
Do you have an idea how to solve that? I tihnk it needs some patching in makefiles and configure files...

@dansou901
Copy link
Author

Update: I'm compiling on Scientific Linux 6.4

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

I think there should be a file like "mkdirp.m4" from automake package, but not?

@dansou901
Copy link
Author

From what I researched, the macro AM_PROG_MKDIR_P is deprecated in automake...

@dansou901
Copy link
Author

See here: http://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html
SL uses automake version 1.11.1

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

While some other auto tools in your system still reference it? Apparently, pacemaker-mgmt doesn't directly reference it.

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

or libtool?

@dansou901
Copy link
Author

What about po/Makefile.in.in line 104 and following?

@dansou901
Copy link
Author

Also, aclocal seems to be forced to version 1.5, but it says it supports this mkdir_p thing from aclocal 1.8 and higher...

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

I think po/Makefile.in.in:104 can be just replaced with "mkdir -p". While would that resolve the reference issue in the tool chain?

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

bootstrap:143 shows how aclocal is choosed - which is corresponding to the automake.

@dansou901
Copy link
Author

Already found that, but I don't understand why aclocal 1.5 gets chosen. I'll try replacing mkdir_p in po/Makefile.in.in

@dansou901
Copy link
Author

The replacing doesn't help, same error...

@dansou901
Copy link
Author

From what I see, mkdir_p is referenced in libtool

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

Guessed so. Actually, there's following in po/Makefile.in.in:42:

Automake >= 1.8 provides @mkdir_p@.

Until it can be supposed, use the safe fallback:

mkdir_p = $(install_sh) -d

@gao-yan
Copy link
Owner

gao-yan commented Dec 2, 2013

Hmm, if libtool requires it, then you should use an automake version that provides it.

@dansou901
Copy link
Author

The problem is, I can't force it to use a different automake version, it sets itself back to aclocal 1.5 whatever I try. I have 1.11.1 installed...

gao-yan added a commit that referenced this issue Mar 17, 2016
Fix bug with non-standard port handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants