--- Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 11/17/05, go moko <[EMAIL PROTECTED]> wrote:
> > --- Dan Nicholson <[EMAIL PROTECTED]> wrote:
> > > The configure command in the book is
> > > ./configure --prefix=/usr --libdir=/lib
> > > so the libraries will go to /lib unless you used
> a
> > > different command.
> >
> > I used this command, and I get a message to tell
> me
> > that libraries *.a where not in /lib. Seem that
> > --libdir concerns only shared libraries. But I
> must do
> > the test again with the package.
>
> I'm not on my LFS box right now, but when I
> configure readline here
> with that line, it comes out right. In Makefile.in,
> it says it
> installs libreadline.a and libhistory.a to
> $(libdir):
> $(INSTALL_DATA) libreadline.a
> $(DESTDIR)$(libdir)/libreadline.a
>
> And $(libdir) is set by --libdir=. I just checked
> and it did it. I
> got all the libraries in $(DESTDIR)/lib. Maybe you
> didn't set
> --libdir to what you thought you did. Take a look
> at Makefile after
> you've configured.
>
I'm not on LFS now, but I will do the test this
afternoon (I'm not in USA ;-)).
I agree with the extract of Makefile, but I thought
that $(DESTDIR) was /usr, which is given to --prefix.
But I must look again the Makefile for that.
I'll tell you after that.
Thanks
G. Moko
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page