LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   BLFS BOOK chapter 19 openssh test suite (http://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-book-chapter-19-openssh-test-suite-866815/)

spiky0011 03-06-2011 04:00 PM

BLFS BOOK chapter 19 openssh test suite
 
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

druuna 03-07-2011 04:56 AM

Hi,

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.

spiky0011 03-13-2011 01:23 PM

Yes it did thks again

druuna 03-13-2011 01:29 PM

You're welcome :)

kazmi.namal 05-14-2011 12:54 AM

i need solved excersise of book intro linux

spiky0011 05-14-2011 01:18 AM

Can you explain some more and maybe start a new posting


All times are GMT -5. The time now is 08:13 AM.