bug-grub
[Top][All Lists]
Advanced

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

Re: Automake and GRUB...


From: Jeff Sheinberg
Subject: Re: Automake and GRUB...
Date: Mon, 21 May 2001 21:43:39 -0400

address@hidden writes:
 > 
 > I'm probably missing something simple, but I grabbed the new "automake"
 > (1.4a), and the result of running it on a stock GRUB 0.5.96.1 dir
 > seems unbuildable:
 > 
 >       address@hidden grub-0.5.96.1]$ make
 >       make  all-recursive
 >       make[1]: Entering directory `/home/erich/development/grub-0.5.96.1'
 >       Making all in netboot
 >       make[2]: Entering directory 
 > `/home/erich/development/grub-0.5.96.1/netboot'
 >       Makefile:291: /libdrivers_a-3c509.Po: No such file or directory

I don't know about 0.5.96.1, but I just (now) cvs updated from the
latest head revision, then built the just updated grub with no
problems.

Here is a typescript of how I built it, note that I build in a
separate build directory (not the source directory), I run aclocal
&& <friends> in the source directory right after the download
completes, and that automake-1.4a is in my PATH,

    103 jeff ~/grub/grub $ cvs update -A -P -d
    cvs server: Updating .
    [...]
    U util/.cvsignore

    104 jeff ~/grub/grub $ cd ..
    /home/jeff/grub

    105 jeff ~/grub $ opt_in
    prepended "/opt/sbin:/opt/bin:" to PATH

    106 jeff ~/grub $ type make
    make is /usr/bin/make

    107 jeff ~/grub $ type automake
    automake is /opt/bin/automake

    108 jeff ~/grub $ pkgdate="`date '+%Y%m%d'`"
    109 jeff ~/grub $ tar -czf grub-${pkgdate}cvs.tar.gz grub

    110 jeff ~/grub $ cd grub && aclocal && autoheader && automake && autoconf
    /home/jeff/grub/grub

    111 jeff ~/grub/grub $ cd ..
    /home/jeff/grub

    112 jeff ~/grub $ cmd mv -i build-grub /tmp
    113 jeff ~/grub $ mkdir -p  build-grub
    mkdir: created directory `build-grub'

    114 jeff ~/grub $ cd        build-grub
    /home/jeff/grub/build-grub

    117 jeff ~/grub/build-grub $ ../grub/configure --prefix=/opt 
--enable-maintainer-mode --enable-serial-speed-simulation
    [...]

    118 jeff ~/grub/build-grub $ make
    cd ../grub && /bin/sh /home/jeff/grub/grub/missing --run autoheader
    make  all-recursive
    [...]

    119 jeff ~/grub/build-grub $ make check
    Making check in netboot
    make[1]: Entering directory 
`/eden-dh/project/save/jeff/grub/build-grub/netboot'
    make[1]: Nothing to be done for `check'.
    make[1]: Leaving directory 
`/eden-dh/project/save/jeff/grub/build-grub/netboot'
    Making check in stage2
    make[1]: Entering directory 
`/eden-dh/project/save/jeff/grub/build-grub/stage2'
    make  check-TESTS
    make[2]: Entering directory 
`/eden-dh/project/save/jeff/grub/build-grub/stage2'
    PASS: size_test
    ==================
    All 1 tests passed
    ==================
    [...]

It's nice to have you back, Erich, I hope this helps,

-- 
Jeff Sheinberg  <address@hidden>




reply via email to

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