|
Добро пожаловать на Форум RadioCMS. |
Форум доступен только для чтения. |
Опции темы | Опции просмотра |
#101
|
|||
|
|||
![]()
Доброго времени суток !
Подскажите что не так в установке ssh2 (компиляция файла ssh2.so) Вот вывод из терминала root@server:~# cd ssh2-0.11.2 root@server:~/ssh2-0.11.2# phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 root@server:~/ssh2-0.11.2# ./configure checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for PHP extension directory... /usr/lib/php5/20060613+lfs checking for PHP installed headers prefix... /usr/include/php5 checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for ssh2 support... yes, shared checking for ssh2 files in default path... found in /usr/local checking for libssh2_banner_set in -lssh2... yes checking for libssh2_channel_forward_listen_ex in -lssh2... yes checking for libssh2_userauth_hostbased_fromfile_ex in -lssh2... yes checking for libssh2_poll in -lssh2... yes checking for libssh2_publickey_init in -lssh2... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands root@server:~/ssh2-0.11.2# make Build complete. Don't forget to run 'make test'. root@server:~/ssh2-0.11.2# make test Build complete. Don't forget to run 'make test'. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/imagick.so' - /usr/lib/php5/20060613+lfs/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/imap.so' - /usr/lib/php5/20060613+lfs/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mcrypt.so' - /usr/lib/php5/20060613+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/ming.so' - /usr/lib/php5/20060613+lfs/ming.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/ps.so' - /usr/lib/php5/20060613+lfs/ps.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/sqlite3.so' - /usr/lib/php5/20060613+lfs/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0 bogus test name tests/ root@server:~/ssh2-0.11.2# make install Installing shared extensions: /usr/lib/php5/20060613+lfs/ root@server:~/ssh2-0.11.2# |
#102
|
|||
|
|||
![]()
Вы про варинги? Это не приятно, но всё ок.
Вам надо добавить в php.ini ваш ssh2.so
__________________
1) Тем кто ничего не понимает читать это 2) Список самых частых ошибок p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают) |
#103
|
|||
|
|||
![]()
Добрый вечер. У меня такая проблема, при вводе make && make install выдает что доступ запрещен - -bash: /usr/bin/make: Permission denied. Подскажите, пожалуйста, как это можно исправить.
|
#104
|
|||
|
|||
![]()
При установки libssh2
|
#105
|
|||
|
|||
![]()
И еще при конфигурации вот такая ошибка -
configure: error: in `/home/l/lismi2/libssh2-1.2.7': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. |
#106
|
|||
|
|||
![]()
Что у вас за ОС? Linux понятие растяжимое
Попробуйте aptitude install gcc sudo make && sudo make install
__________________
1) Тем кто ничего не понимает читать это 2) Список самых частых ошибок p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают) |
#107
|
|||
|
|||
![]()
Блин все шикарно ставилось до шага 3 не хотелось бы повторять постоянно все то что обычно обговаривали но вопрос именно на свой ответ я так и ненашел.
radio-start# /etc/ssh/sshd_config PasswordAuthentication: Command not found. Subsystem: Command not found. radio-start# /etc/ssh/ssh_config PasswordAuthentication: Command not found. radio-start# /etc/ssh/ssh_config /etc/ssh/ssh_config: Permission denied. radio-start# /etc/ssh/ssh_config /etc/ssh/ssh_config: Permission denied. И просто беда зациклился и в php.ini поковырялся и в самих SSH файл потом бэкап и перезагрузки делал. Хочу узнать что полюбому решение проблемы оч простое что где то что то я упускаю и не символ # который я тыщу раз менял. Оч прошу помощи по моей проблеме. |
#108
|
|||
|
|||
![]() Цитата:
Цитата:
__________________
1) Тем кто ничего не понимает читать это 2) Список самых частых ошибок p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают) |
#109
|
|||
|
|||
![]()
Открыть в плане редактирования или в плане какой либо активации
|
#110
|
|||
|
|||
![]()
и еще столкнулся с проблемой как откатить можно ssh_config и sshd_config?
|