Typo in 2.4.4 LFS?

Björn Lindberg d95-bli at nada.kth.se
Thu Mar 15 07:07:15 PST 2001


On Wed, 14 Mar 2001, StyX wrote:

> If he compiled glibc outside the chroot'ed environment, I wouldn't worry
> about that. Even if that is an issue, the path that would be hardcoded
> in the binary would be /mnt/lfs/usr/bin, and that wouldn't exist either,
> right? Am I missing something here?
>
> Björn Lindberg wrote:
> >
> > On Mon, 12 Mar 2001, Gerard Beekmans wrote:
> >
> > > On March 12, 2001 01:14 pm, Jason L. Smith wrote:
> > > > Thanks for the explanation -- I didn't make the
> > > > across-page connection there.  Of course, I went ahead
> > > > with my incorrection (it ought to be a word) and sure
> > > > enough, I have the pt_chown binary in
> > > > /mnt/lfs/mnt/lfs/usr/bin !  Can I just move this to
> > > > where it belongs (/mnt/lfs/usr/bin) ?
> > >
> > > yes just move it, it will be allright.
> >
> > Are you sure about this? since pt_chown gets called by other
> > programs, I suspect that the path might get hard coded into other
> > binaries during compilation.

If he compiled it outside the chroot-environment, he would've used
the --prefix=/usr parameter to ./configure, otherwise nothing would
work. If you specify ./configure --prefix=/usr
--libexecdir/mnt/lfs/usr/lib, everything but pt_chown will be
installed correctly.


Björn



-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list