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.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to