LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2015, 08:52 AM   #1
Dodylode
LQ Newbie
 
Registered: Aug 2014
Posts: 6

Rep: Reputation: Disabled
help to install ssh2


Hello guys ,,

i am try to install ssh2 in my dedicated server i am use it

pecl install -f ssh2

and i got this


Code:
[root@root ~]# pecl install -f ssh2
WARNING: failed to download pecl.php.net/ssh2 within preferred state "stable", will instead download version 0.12, stability "beta"
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading ssh2-0.12.tgz ...
Starting to download ssh2-0.12.tgz (26,223 bytes)
.........done: 26,223 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
libssh2 prefix? [autodetect] :
building in /var/tmp/pear-build-rootCAVxf5/ssh2-0.12
running: /var/tmp/ssh2/configure --with-ssh2
configure: error: working directory cannot be determined
ERROR: `/var/tmp/ssh2/configure --with-ssh2' failed
[root@root~]#

i am try to install this

1- yum install php
2- yum install gcc php-devel php-pear libssh2 libssh2-devel

but can't to install ssh2

my system [ Centos 6 64bit ]

can some one help me

and thanks.
 
Old 03-16-2015, 05:55 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
for gcc you will need to install a LOT!!! more than just
Code:
yum install gcc
you will be missing ALL the need tools that that program needs

for gcc
Code:
su -
yum groupinstall "Development Tools"
as for ssh
cent uses openssh
Code:
su -
yum search ssh 
--- then from the list ----
you install libssh2
 
Old 03-17-2015, 02:58 AM   #3
Dodylode
LQ Newbie
 
Registered: Aug 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
i am try to do this before

and nothing to do

what should i do can some one help me : (

---------- Post added 03-17-15 at 02:59 AM ----------

if you have skype add me

skype name : g-27001
 
  


Reply



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
PHP (XAMPP) install ssh2 module CentOS 5 Actionscript3 Linux - Server 2 04-13-2010 01:31 PM
ssh2.so MrSako Linux - Software 3 08-18-2006 03:03 AM
ssh2 on RH 7.2 GEEXTER Linux - Security 3 05-06-2003 12:51 PM
ssh2, keymapping dave308 Linux - Networking 1 12-08-2001 01:37 AM
Need Help with SSH2 fenris@bu Linux - Security 2 06-01-2001 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration