Probleme beim PECL/ssh2 installieren.

Backup, Restore und Transfer von Daten
Post Reply
boy
Posts: 11
Joined: 2006-03-27 23:49
 

Probleme beim PECL/ssh2 installieren.

Post by boy »

Hallo


Ich habe seit tagen probleme meim installieren vom PECL/ssh2, ich habe es mal geschaft aber muste system neuinstalieren, will nach dem ich angefangen habe zu verzweifeln habe ich einfach so programme installiert und dann gingen einige sachen nicht mehr wo wie die sollten.
Und ich weiss nicht mehr was ich genau gemacht habe.
Ich habe schon OpenSSL, libssh2 installiert und einge andere sachen wie autoconf und so.
Das ist die installatieons ausgabe:

Code: Select all

h117675:/opt/ssh2-0.10 # phpize && ./configure --with-ssh2 && make to generate ssh2.so
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr/share
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/share/extensions/no-debug-non-zts-20020429
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for gawk... gawk
checking for ssh2 support... yes, shared
checking for ssh2 files in default path... found in /usr
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... /usr/bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... 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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make: *** No rule to make target `to'.  Stop.
h117675:/opt/ssh2-0.10 #
Wie kann ich es machen damit es geht ?
Was muss ich noch installieren oder einstellen ?
Will nicht einfach so alles installieren.

Ich hoffe ihr könnt mir da weiter helfen.
Sietze schon seit tagen hier dran.

#PS#
Habe das gleiche in einen anderen Forum schon zwei mal geschrieben, in PHP raum ( da ich diese Funktion für ein PHP Projekt brauche ) und einmal nur das Problem in dem linux raum aber bei beiden habe ich keine antwort drauf bekommen.
Ich hoffe das es hir nicht so ist.
#/PS/#
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Probleme beim PECL/ssh2 installieren.

Post by Roger Wilco »

boy wrote:

Code: Select all

h117675:/opt/ssh2-0.10 # phpize && ./configure --with-ssh2 && make to generate ssh2.so
Lies dir die Befehlszeile nochmal genau durch, vor allem den Teil mit make. In der Installationsanleitung für PECL/ssh2 steht das mit Sicherheit nicht so...
boy
Posts: 11
Joined: 2006-03-27 23:49
 

Re: Probleme beim PECL/ssh2 installieren.

Post by boy »

da steht :

Code: Select all

phpize && ./configure --with-ssh2 && make to generate ssh2.so
Guck im blauen kasten.

http://de.php.net/manual/de/ref.ssh2.php
Compiling PECL/ssh2 without using the PEAR command: Rather than using pear install ssh2 to automatically download and install PECL/ssh2, you may download the tarball from PECL. From the root of the unpacked tarball, run: phpize && ./configure --with-ssh2 && make to generate ssh2.so. Once built, continue the installation from step 4 above.
Oben steht das man

Code: Select all

pear install ssh2
Verwenden soll, aber wenn ich es eingebe kommt das:

Code: Select all

h117675:/opt/ssh2-0.10 # pear install ssh2
downloading ssh2-0.10.tgz ...
...done: 22,187 bytes
5 source files, building
running: phpize
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
`phpize' failed
h117675:/opt/ssh2-0.10 #
Der befehl ist richtig nur es fehlt mir was.

#EDIT#

UPS soy hast doch recht habe etwas zu viell kopiert, dachte das gehört mit du dem.

Danke
#/EDIT/#
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: Probleme beim PECL/ssh2 installieren.

Post by braindead »

Jaja, das sind die Tücken des Informatiker lebens ;) Copy+Paste ist halt net immer das gelbe vom Ei...
boy
Posts: 11
Joined: 2006-03-27 23:49
 

Re: Probleme beim PECL/ssh2 installieren.

Post by boy »

hi

habe noch ein problem.
allso da kommen warnungen auf meim installatieons verlauf:

Code: Select all

h117675:/opt/ssh2-0.10 # phpize && ./configure --with-ssh2 && make
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr/share
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/share/extensions/no-debug-non-zts-20020429
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for gawk... gawk
checking for ssh2 support... yes, shared
checking for ssh2 files in default path... found in /usr
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... /usr/bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... 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/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
configure: creating ./config.status
config.status: creating config.h
/bin/sh /opt/ssh2-0.10/libtool --mode=compile gcc  -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /opt/ssh2-0.10/ssh2.c -o ssh2.lo
mkdir .libs
 gcc -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /opt/ssh2-0.10/ssh2.c  -fPIC -DPIC -o .libs/ssh2.o
/opt/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated':
/opt/ssh2-0.10/ssh2.c:483: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:484: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:485: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:486: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:487: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:488: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:489: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:490: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:491: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:492: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint':
/opt/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from pointer target type
/bin/sh /opt/ssh2-0.10/libtool --mode=compile gcc  -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /opt/ssh2-0.10/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo
 gcc -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /opt/ssh2-0.10/ssh2_fopen_wrappers.c  -fPIC -DPIC -o .libs/ssh2_fopen_wrappers.o
/bin/sh /opt/ssh2-0.10/libtool --mode=compile gcc  -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /opt/ssh2-0.10/ssh2_sftp.c -o ssh2_sftp.lo
 gcc -I. -I/opt/ssh2-0.10 -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /opt/ssh2-0.10/ssh2_sftp.c  -fPIC -DPIC -o .libs/ssh2_sftp.o
/bin/sh /opt/ssh2-0.10/libtool --mode=link gcc -DPHP_ATOM_INC -I/opt/ssh2-0.10/include -I/opt/ssh2-0.10/main -I/opt/ssh2-0.10 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2   -o ssh2.la -export-dynamic -avoid-version -prefer-pic -module -rpath /opt/ssh2-0.10/modules  ssh2.lo ssh2_fopen_wrappers.lo ssh2_sftp.lo -Wl,-rpath,/usr/lib -L/usr/lib -lssh2
gcc -shared  .libs/ssh2.o .libs/ssh2_fopen_wrappers.o .libs/ssh2_sftp.o  -L/usr/lib -lssh2  -Wl,-rpath -Wl,/usr/lib -Wl,-soname -Wl,ssh2.so -o .libs/ssh2.so
creating ssh2.la
(cd .libs && rm -f ssh2.la && ln -s ../ssh2.la ssh2.la)
/bin/sh /opt/ssh2-0.10/libtool --mode=install cp ./ssh2.la /opt/ssh2-0.10/modules
cp ./.libs/ssh2.so /opt/ssh2-0.10/modules/ssh2.so
cp ./.libs/ssh2.lai /opt/ssh2-0.10/modules/ssh2.la
PATH="$PATH:/sbin" ldconfig -n /opt/ssh2-0.10/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/ssh2-0.10/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

h117675:/opt/ssh2-0.10 #
allso hier die Warnungen aus dem verlauf oben:

Code: Select all

I/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /opt/ssh2-0.10/ssh2.c  -fPIC -DPIC -o .libs/ssh2.o
/opt/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated':
/opt/ssh2-0.10/ssh2.c:483: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:484: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:485: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:486: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:487: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:488: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:489: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:490: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:491: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c:492: warning: assignment discards qualifiers from pointer target type
/opt/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint':
/opt/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from pointer target type
Hoffe ihr könnt mir ider helfen.
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Probleme beim PECL/ssh2 installieren.

Post by oxygen »

Das sind nur warnings, keine errors. Die Kompilierung hat einwandfrei funktioniert (Build complete).

btw: per pear/pecl geht die Installation mit: pecl install channel://pecl.php.net/ssh2-0.10
Twister0033
Posts: 2
Joined: 2010-03-24 06:01
 

Re: Probleme beim PECL/ssh2 installieren.

Post by Twister0033 »

Hallo

kann mir jemand sagen was ich bei diesem Error machen muss:

Code: Select all

ssh2-0.11.0 # phpize && ./configure --with-ssh2 && make
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:150: 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:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
configure.in:150: 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:3555: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5493: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5492: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2972: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2952: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2915: AC_PROG_LIBTOOL is expanded from...
configure.in:150: the top level
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3510: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7620: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:150: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5606: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5605: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4641: _LT_AC_TAGCONFIG is expanded from...
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
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 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... 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
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
checking for PHP extension directory... /usr/lib64/php5/extensions
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
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 cc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/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 cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/x86_64-suse-linux/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
config.status: config.h is unchanged
/bin/sh /home/ssh2-0.11.0/libtool --mode=compile cc  -I. -I/home/ssh2-0.11.0 -DPHP_ATOM_INC -I/home/ssh2-0.11.0/include -I/home/ssh2-0.11.0/main -I/home/ssh2-0.11.0 -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  -DHAVE_CONFIG_H  -g -O2   -c /home/ssh2-0.11.0/ssh2.c -o ssh2.lo
mkdir .libs
 cc -I. -I/home/ssh2-0.11.0 -DPHP_ATOM_INC -I/home/ssh2-0.11.0/include -I/home/ssh2-0.11.0/main -I/home/ssh2-0.11.0 -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 -DHAVE_CONFIG_H -g -O2 -c /home/ssh2-0.11.0/ssh2.c  -fPIC -DPIC -o .libs/ssh2.o
/home/ssh2-0.11.0/ssh2.c:52: error: duplicate ‘static’
/home/ssh2-0.11.0/ssh2.c: In function ‘zif_ssh2_methods_negotiated’:
/home/ssh2-0.11.0/ssh2.c:503: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:504: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:508: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:509: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:510: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:511: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:516: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:517: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:518: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c:519: warning: passing argument 4 of ‘add_assoc_string_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:360: note: expected ‘char *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c: In function ‘zif_ssh2_publickey_add’:
/home/ssh2-0.11.0/ssh2.c:1045: warning: passing argument 1 of ‘_efree’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_alloc.h:60: note: expected ‘void *’ but argument is of type ‘const char *’
/home/ssh2-0.11.0/ssh2.c: In function ‘zif_ssh2_publickey_list’:
/home/ssh2-0.11.0/ssh2.c:1104: warning: passing argument 4 of ‘add_assoc_stringl_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:361: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
/home/ssh2-0.11.0/ssh2.c:1105: warning: passing argument 4 of ‘add_assoc_stringl_ex’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:361: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
make: *** [ssh2.lo] Error 1
64Bit Suse Linux

THX Twister
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Probleme beim PECL/ssh2 installieren.

Post by Joe User »

OpenSUSE bietet doch bestimmt ein passendes Paket an...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Twister0033
Posts: 2
Joined: 2010-03-24 06:01
 

Re: Probleme beim PECL/ssh2 installieren.

Post by Twister0033 »

leider nein ..ich hab schon überall gesucht ..
Post Reply