Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been doing the BLFS book, I,m trying to install ssh, I have install openssh-5.6p1 Chapter19, There is a test suite That requires SCP to be installed in /usr/bin. I installed curl-7.21.2 Chapter 14 which implies that it installs scp, But I cant find scp Or how to install it to /usr/bin
OpenSSH-5.6p1 (chapter 19, server) only needs OpenSSL-1.0.0b as a required dependency.
It (OpenSSH) installs scp (among other things, see bottom of the page Contents). There's absolutely no need to install curl (it does not install any openssh components). You need to copy the freshly created scp to /usr/bin (as stated in the book: To run the test suite, first copy the scp program to /usr/bin).
Some info about the configure, make, make test and make install process:
1) The configure step checks/gathers info that is needed to build the program,
2) The make step creates the executables and other needed files. These files are made inside the source directory!!
3) The make test step tests the newly created executables,
4) The make install step copies the newly created and now tested files to their final destination on your sytem.
So once you finish the configure and make step, you find (among other files) scp, ssh and sshd in the OpenSSH-5.6p1 source directory. What the book is telling you is to copy the newly created scp file to /usr/bin.
Hope this clears things up a bit.
Last edited by druuna; 03-07-2011 at 05:37 AM.
Reason: Added missing parentheses
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.