errors compiling ssh2 0.10
| From: | Jan Van Nieuwenhove | Date: | Wed, 21 Dec 2005 17:43:15 +0000 |
| Subject: | errors compiling ssh2 0.10 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-3355@lists.php.net to get a copy of this message | ||
When I try to compile the latest (or version 0.9 for that matter), I get
these errors.
Can you please help me getting it compiled?
/bin/sh /root/ssh2-0.10/libtool --mode=compile gcc -I.
-I/root/ssh2-0.10-DPHP_ATOM_INC -I/root/ssh2-
0.10/include -I/root/ssh2-0.10/main -I/root/ssh2-0.10 -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /root/ssh2-
0.10/ssh2.c -o ssh2.lo
gcc -I. -I/root/ssh2-0.10 -DPHP_ATOM_INC -I/root/ssh2-0.10/include
-I/root/ssh2-0.10/main -I/root/ssh2-0.10 -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /root/ssh2-0.10/ssh2.c -fPIC
-DPIC -o ssh2.lo
In file included from /usr/include/openssl/ssl.h:179,
from /usr/include/php/main/php_network.h:78,
from /root/ssh2-0.10/ssh2.c:26:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from /usr/include/php/main/php_network.h:78,
from /root/ssh2-0.10/ssh2.c:26:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: syntax error before '*' token
/usr/include/openssl/kssl.h:137: syntax error before '}' token
/usr/include/openssl/kssl.h:149: syntax error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:161: syntax error before "context"
/usr/include/openssl/kssl.h:162: syntax error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: syntax error before "context"
/usr/include/openssl/kssl.h:165: syntax error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: syntax error before "atime"
/usr/include/openssl/kssl.h:167: syntax error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
/usr/include/openssl/kssl.h:169: syntax error before "enctype"
In file included from /usr/include/php/main/php_network.h:78,
from /root/ssh2-0.10/ssh2.c:26:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
/root/ssh2-0.10/ssh2.c: In function `zif_ssh2_methods_negotiated':
/root/ssh2-0.10/ssh2.c:483: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:484: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:485: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:486: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:487: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:488: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:489: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:490: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:491: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c:492: warning: assignment discards qualifiers from
pointer target type
/root/ssh2-0.10/ssh2.c: In function `zif_ssh2_fingerprint':
/root/ssh2-0.10/ssh2.c:536: warning: assignment discards qualifiers from
pointer target type
make: *** [ssh2.lo] Error 1