Adding Static Findutils

root greghill at terranova.net
Wed Sep 6 13:19:44 PDT 2000


Serguei Ostrovskii wrote:

> Greg T Hill wrote:
>
> >    If a static version of findutils is added before the chroot when
> > building LFS, "find" can be used to log package installations in the
> > chroot environment.
> >
> > ./configure --prefix=/usr
> > make LDFAGS=-static
> > make --prefix=$LFS/usr install does the trick
> >
> > I have been trying to use Installwatch but it doesn't work in the chroot
> > environment, as a number of other people have noted, but a static
> > "find" based on a time stamp will work as soon as you chroot.
> >
> > Greg T Hill
> >
> > $ ddate
> > Today is Prickle-Prickle, the 30th day of Bureaucracy in the YOLD 3166
>
> I doubt it could work. _make_ doesn't understand --<blah>.
> --<blah> gets expanded in M4 macros by configure, and in the Makefiles (
> which produced from Makefile(s).in ) you won't see this stuff. Look in your
> Makefile(s).
> so
> prefix=$LFS/usr make -e install
> seems appropriate.
>
> Sergey Ostrovsky.

Well I deleted find, re-installed using the above, and it works in the
chroot.  Of course that doesn't mean that its working right for the right
reason...8-(.  Since I am Makefile challenged I'll try your way and see if it
works.

Greg T Hill

$ ddate
Today is Prickle-Prickle, the 30th day of Bureaucracy in the YOLD 3166







More information about the lfs-dev mailing list