bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building GRUB2: autogen.sh error msg (AC_PROG_MKDIR_P)


From: Dr. Dov Bulka
Subject: Re: Building GRUB2: autogen.sh error msg (AC_PROG_MKDIR_P)
Date: Wed, 4 Nov 2009 08:42:12 -0800 (PST)

Okay. So I started from scratch again, this time skipping the autogen.sh:

  • untar the tarball
  • cd to the source dir
  • ./configure
  • ./make
  • ./make install

Everything seemed to be okay, no error message. Then I tried to verify that the new grub is installed in the right places. I am getting some unexpected reults. I expected to be able to invoke the new grub but I'm still getting the old version. Here's what I did starting with the "make install":

address@hidden grub-1.97]# make install
/bin/sh ./mkinstalldirs /usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`
rm -f /usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`/*
/bin/sh ./mkinstalldirs /usr/local/share/`echo grub | sed 's,x,x,'`
/bin/sh ./mkinstalldirs /usr/local/bin /usr/local/share/man/man1
/bin/sh ./mkinstalldirs /usr/local/sbin /usr/local/share/man/man8
/bin/sh ./mkinstalldirs /usr/local/etc/grub.d
/bin/sh ./mkinstalldirs /usr/local/lib/grub
/bin/sh ./mkinstalldirs /usr/local/share/info
address@hidden grub-1.97]# which grub
/usr/local/sbin/grub
address@hidden grub-1.97]# ls -al /usr/local/sbin/grub
-rwxr-xr-x 1 root root 397555 Oct  6 16:29 /usr/local/sbin/grub
address@hidden grub-1.97]# grub --version
grub (GNU GRUB 0.97)
address@hidden grub-1.97]#

Today is Nov 4th so it looks like the new grub was not copied to "/usr/local/sbin". The grub versionis pointing to 0.97 as opposed to 1.97.

Also, when I execute "info grub", it states that this is the documentation for version 0.97.

The Wiki manual says: "The make install made the utilities go to their final places on the host."  Am I looking at the wrong files?

TIA,
Dov





--- On Wed, 11/4/09, Felix Zielcke <address@hidden> wrote:

From: Felix Zielcke <address@hidden>
Subject: Re: Building GRUB2: autogen.sh error msg (AC_PROG_MKDIR_P)
To: "Dr. Dov Bulka" <address@hidden>
Cc: address@hidden
Date: Wednesday, November 4, 2009, 2:57 AM

Am Dienstag, den 03.11.2009, 19:27 -0800 schrieb Dr. Dov Bulka:
> I downloaded GRUB2 from the gnu ftp site. cd to the source directory
> and
> ran "./autogen.sh"   I got the error message below:
>
> configure.ac:147 error: possibly undefined macro: AC_PROG_MKDIR_P
>      If this token and others are legitimate, please use
> m4_pattern_allow
>      See the Autoconf documentation
>
> Am I running an obsolete autoconf? (version 2.59 should be okay
> according to
> the documentation in file INSTALL)
>
> [...]
> GNU Autoconf 2.59
>
>
> Thanks in advance,
> Dov

autoconf's NEWS says it was added with 2.59d
I change that now in our NEWS and configure.ac
But with the release tarballs you shouldn't need to run it.
Seems like I need to make that clear in INSTALL.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]