Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271255 - SSH2 Extension PHP
Summary: SSH2 Extension PHP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 271257 271264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-26 03:33 UTC by ilya Povzun
Modified: 2009-10-07 15:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilya Povzun 2009-05-26 03:33:52 UTC
I install SSH2 Ext PHP, but it is not installed

console log:

# pecl install -f ssh2
WARNING: failed to download pecl.php.net/ssh2 within preferred state "stable", will instead download version 0.11.0, stability "beta"
downloading ssh2-0.11.0.tar ...
Starting to download ssh2-0.11.0.tar (Unknown size)
..........................done: 121,856 bytes
5 source files, building
WARNING: php_bin /usr/lib64/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3536: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5474: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5473: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2953: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2933: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2896: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3491: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7601: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5587: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5586: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4622: _LT_AC_TAGCONFIG is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3536: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5474: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5473: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2953: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2933: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2896: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3491: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7601: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5587: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5586: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4622: _LT_AC_TAGCONFIG is expanded from...
libssh2 prefix? [/usr] : /usr
building in /var/tmp/pear-build-root/ssh2-0.11.0
running: /var/tmp/pear/ssh2-0.11.0/configure --with-ssh2=/usr
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 gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/lib64/php5
checking for PHP includes... -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613
checking for PHP installed headers prefix... /usr/lib64/php5/include/php
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 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 ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/ssh2-0.11.0/libtool --mode=compile gcc  -I. -I/var/tmp/pear/ssh2-0.11.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/ssh2-0.11.0/include -I/var/tmp/pear-build-root/ssh2-0.11.0/main -I/var/tmp/pear/ssh2-0.11.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -I/usr/lib64/php5/include/php -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/pear/ssh2-0.11.0/ssh2.c -o ssh2.lo
/var/tmp/pear-build-root/ssh2-0.11.0/libtool: line 460: CDPATH: command not found
/var/tmp/pear-build-root/ssh2-0.11.0/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make: *** [ssh2.lo] Error 63
ERROR: `make' failed
#

Reproducible: Always




# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29 x86_64)
=================================================================
System uname: Linux-2.6.29-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.0
Timestamp of tree: Mon, 25 May 2009 14:30:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bcmath berkdb bzip2 calendar cdb cgi cjk cli cracklib crypt ctype cups curl curlwrappers discard-path doc dri esoobexif filter flatfile force-cgi-redirect fortran ftp gd gmp gnutls gpm hash iconv imap inifile ipv6 isdnlog jadetex java-external jpeg json kerberos libssh2 mailwrapper mbox mcve mhash midi mmx mudflap multilib mysql mysqli ncurses nls nptl nptlonly openmp pam pcntl pcre pdo pear perl pic png pop3d posix pppd python qdbm readline reflection sasl session sharedext simplexml snmp soap sockets spell spl sqlite sse sse2 sse3 ssh2 ssl suexec suhosin svg sysfs sysvipc tcpd threads tidy tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xorg xpm xsl zip zip-external zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias fcgid" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


# php-config
Usage: /usr/bin/php-config [OPTION]
Options:
  --prefix            [/usr/lib64/php5]
  --includes          [-I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib]
  --ldflags           []
  --libs              [-lcrypt   -lcrypt -lsqlite -lhistory -lreadline -lncurses -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lpcre -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt ]
  --extension-dir     [/usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613]
  --include-dir       [/usr/lib64/php5/include/php]
  --php-binary        [NONE]
  --php-sapis         [apache2handler]
  --configure-options [--prefix=/usr/lib64/php5 --host=x86_64-pc-linux-gnu --mandir=/usr/lib64/php5/man --infodir=/usr/lib64/php5/info --sysconfdir=/etc --cache-file=./config.cache --with-libdir=lib64 --with-pcre-regex=/usr --enable-maintainer-zts --disable-cli --with-apxs2=/usr/sbin/apxs2 --with-config-file-path=/etc/php/apache2-php5 --with-config-file-scan-dir=/etc/php/apache2-php5/ext-active --without-pear --enable-bcmath=shared --with-bz2=shared --enable-calendar=shared --with-curl=shared --with-curlwrappers --disable-dbase --disable-exif --without-fbsql --without-fdftk --enable-ftp=shared --with-gettext=shared --with-gmp=shared --with-kerberos=/usr --enable-mbstring=shared --with-mcrypt=shared --with-mhash=shared --without-msql --without-mssql --with-ncurses=shared --with-openssl --with-openssl-dir=/usr --enable-pcntl=shared --without-pgsql --with-pspell=shared --without-recode --disable-shmop --with-snmp=shared --enable-soap=shared --enable-sockets=shared --without-sybase --without-sybase-ct --enable-sysvmsg=shared --enable-sysvsem=shared --enable-sysvshm=shared --with-tidy=shared --enable-wddx=shared --with-xmlrpc=shared --with-xsl=shared --enable-zip=shared --with-zlib=shared --disable-debug --enable-dba=shared --with-cdb --with-db4 --without-gdbm --with-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-gd --with-imap=shared --with-imap-ssl --with-mysql=shared,/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=shared,/usr/bin/mysql_config --without-pdo-dblib --with-pdo-mysql=shared,/usr --without-pdo-odbc --without-pdo-pgsql --with-pdo-sqlite=shared,/usr --with-readline --without-libedit --without-mm --with-sqlite=/usr --enable-sqlite-utf8 --with-pic]
  --version           [5.2.9-pl2-gentoo]
  --vernum            [50209]
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-26 11:37:30 UTC
Please take a look at http://www.gentoo.org/doc/en/bugzilla-howto.xml before opening a bug.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-26 11:40:45 UTC
*** Bug 271257 has been marked as a duplicate of this bug. ***
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-05-26 11:42:25 UTC
*** Bug 271264 has been marked as a duplicate of this bug. ***
Comment 4 Hanno Böck gentoo-dev 2009-10-07 15:39:04 UTC
We now have a package for pecl-ssh2, so just install it with
emerge pecl-ssh2