Skip to contentSkip to conversation

Cannot automake after patching grub with grub-2003-01-08-doc.patch

DISCUSSION Selwyn Tang 1 participant 3 messages Aug 5, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Dear all,

I downloaded the latest snapshot of grub through cvs and applied grub-2003-01-08-doc.patch with only one rejection in ChangeLog. I then followed README_DiskOnChip to run aclocal successfully. But when I run automake, a lot of "AMDEP does not appear in AM_CONDITIONAL" messages appeared! For examples,

/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

Before that, I use automake 1.4p5 and when I run automake it told me that 1.5 was expected. Then I ln -s automake to automake-1.5 in my RedHat 7.3, and got the above error.

Have anyone successfully applied the patch to grub, compiled it and get the "grub_firmware" file in stage1/ ?

Yours,

Selwyn

#1 lore raw
Quoted 21 lines · Selwyn Tang

Dear all,

I downloaded the latest snapshot of grub through cvs and applied grub-2003-01-08-doc.patch with only one rejection in ChangeLog. I then followed README_DiskOnChip to run aclocal successfully. But when I run automake, a lot of "AMDEP does not appear in AM_CONDITIONAL" messages appeared! For examples,

/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

Before that, I use automake 1.4p5 and when I run automake it told me that 1.5 was expected. Then I ln -s automake to automake-1.5 in my RedHat 7.3, and got the above error.

Have anyone successfully applied the patch to grub, compiled it and get the "grub_firmware" file in stage1/ ?

Yours,

Selwyn

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#2 lore raw
In reply to Selwyn Tang

Dear all,

I solved the problem. It was that I've forgotten to symlink my aclocal, which was 1.4p5 from RH7.3, to 1.5, together with automake. After that, aclocal, automake and autoconf run successfully, but with the following warnings when running autoconf:

configure.in:17: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:700: warning: do not use m4_regexp: use regexp or m4_bregexp

I don't know if they bother, but I got grub_firmware produced.

Selwyn

Quoted 21 lines · Selwyn Tang

Dear all,

I downloaded the latest snapshot of grub through cvs and applied grub-2003-01-08-doc.patch with only one rejection in ChangeLog. I then followed README_DiskOnChip to run aclocal successfully. But when I run automake, a lot of "AMDEP does not appear in AM_CONDITIONAL" messages appeared! For examples,

/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

Before that, I use automake 1.4p5 and when I run automake it told me that 1.5 was expected. Then I ln -s automake to automake-1.5 in my RedHat 7.3, and got the above error.

Have anyone successfully applied the patch to grub, compiled it and get the "grub_firmware" file in stage1/ ?

Yours,

Selwyn

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/