LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 03-06-2011, 03:00 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,661
Blog Entries: 1

Rep: Reputation: 242Reputation: 242Reputation: 242
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
 
Old 03-07-2011, 03:56 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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.

Last edited by druuna; 03-07-2011 at 04:37 AM. Reason: Added missing parentheses
 
Old 03-13-2011, 12:23 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,661
Blog Entries: 1

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Yes it did thks again
 
Old 03-13-2011, 12:29 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
You're welcome
 
Old 05-13-2011, 11:54 PM   #5
kazmi.namal
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
i need solved excersise of book intro linux
 
Old 05-14-2011, 12:18 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,661
Blog Entries: 1

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Can you explain some more and maybe start a new posting
 
  


Reply

Tags
blfs, openssh, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] test suite for glibc failing | chapter 6.9.1 Lyle Linux From Scratch 2 05-08-2010 06:46 PM
Query about BLFS 6.3 book Chapter 13. Connecting to a Network gazza1z Linux From Scratch 2 10-22-2008 04:01 AM
Errors when running Glibc-2.3.6 test suite (reference: LFS 6.2 chapter 6.9) PingFloyd Linux From Scratch 2 02-02-2007 09:43 PM
Error Running Glibc 64-bit Test Suite (Chapter 10) fatsheep Linux From Scratch 5 10-20-2006 09:19 AM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM


All times are GMT -5. The time now is 05:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration