diffutils-2.7 install in chroot - error <-

Bryan -TheBS- Smith thebs at theseus.com
Mon Jan 8 08:52:55 PST 2001


On Mon, 08 Jan 2001, Bill Suit wrote:
> With Mandrake7.2, attempting diffutils-2.7 install in the chroot env. Using 
> these commands:
> ./configure --prefix=/usr --with-root-prefix= \
>          --enable-elf-shlibs &&
>      make &&
>      make install &&
>      make install-libs
> It stops with this message:
>  make: *** No rule to make target `install-libs'.  Stop.
> root:/usr/src/diffutils-2.7# 
> What do I need to do? TIA, Bill

SUGGESTION / SOLUTION:

You should look at the "Makefile" in the current directory and
search for the available "targets".  As your previous make has
already verified, there is at least an "all:" (the default) and a
"install:".  Now search for more (maybe for string "lib"?).  If
there are no more, then you're done (and you still might be done if
there are others -- sometimes there are options to make just some
parts and not others, which are then called by "all:" or others).

EXTRA HELP / BACKGROUND on "make" and "targets":

All "make" is is a specialized system for batch compiles (from
programming language source code into architecture machine code) and
linkage (from architecture machine code into machine code that is
accessable as a library/executable on the target OS).

At the heart of "make" is the "Makefile" (actually searches for
"GNUmakefile" and then "makefile" before "Makefile", which is
sometimes useful).  Inside that Makefile, the major sections of
batch commands, called "targets," are identifyable by a colon (":")
after the label.  "make"'s syntax is "make <target>", with the
default target label being "all:" if ommitted (i.e. when you just
run "make" with no parameters).

You should look at the "Makefile" in the current directory and
search for the available targets.  As your previous make has
already verified, there is at least an "all:" and a "install:". 
Now search for more.  If there are no more, then you're done (and
you still might be done if there are others -- sometimes there are
options to make just some parts and not others, which are then
called by "all:" or others).

If you use VIM or another, syntax-highlighting editor, you should
be to see the target labels in a different color and they should be
more readily identifable.

-- TheBS

--
Bryan "TheBS" Smith                   PERSONAL CONTACT INFO
 Chat: thebs413 @ AOL/MSN/Yahoo (see http://Everybuddy.com)
Email: mailto:thebs at smithconcepts.com,thebs at theseus.com
***********************************************************
"On the enterprise front, reliability, lower price, speed
 of applications and scalability were the most important
 factors in Linux adoption, not religious zealotry or
 anti-Microsoft Corp." -- Zona Research Corporate Study


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




More information about the blfs-support mailing list