Problem with OpenSSL?

Aaron Hsu yellowdog-general@lists.terrasoftsolutions.com
Sat May 3 23:29:01 2003


I am running YellowDog 3.0 and I have tried to install the exra
dependencies for tkabber. I have managed to install a few, but tls,
tclgpgme and Img elude me.

For one, I can't find Img, for two, tclqpgme dies on make as does tls.

Here are the erros for both:

TLS:

 make clean
test -z "libtls" || rm -f libtls
rm -f *.o core *.core
rm -f *.o
test -z "" || rm -f
[noorah@glacier tls1.4]$ ./configure
loading cache ./config.cache
configure: error: /usr/local/openssl is not a valid directory
[noorah@glacier tls1.4]$ ./configure --with-ssl-dir=/usr
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking if libgcc is needed to resolve openssl symbols... no
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in
tclConfig.sh
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh... (cached) /usr/lib/../bin/tclsh
creating ./config.status
creating Makefile
creating pkgIndex.tcl
[noorah@glacier tls1.4]$ make
cc -DVERSION=\"1.41\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1
-DUSE_TCL_STUBS=1  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1CLGPGME
-DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1
-DHAVE_SYS_IOCTL_H=1      
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/generic
-I/home/dburcaw/BUILD/tcltk/BUILD/tcltk-8.3.3/tcl8.3.3/unix
-I"/usr/include"    -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES  -fPIC
-c `echo ./tls.c` -o tls.o
In file included from /usr/include/openssl/ssl.h:179,
                 from tlsInt.h:39,
                 from tls.c:23:
/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 tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before
"kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before
"kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from tlsInt.h:39,
                 from tls.c:23:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: parse error before '}' token
tls.c: In function `InfoCallback':
tls.c:190: warning: initialization discards qualifiers from pointer
target type
tls.c: In function `ImportObjCmd':
tls.c:811: warning: assignment from incompatible pointer type
make: *** [tls.o] Error 1
[noorah@glacier tls1.4]$



TCLGPGME:

[noorah@glacier tclgpgme-1.0]$ make clean
test -z "libtclgpgme.la" || rm -f libtclgpgme.la
rm -rf .libs _libs
test -z "" || rm -f
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
[noorah@glacier tclgpgme-1.0]$ ./configure
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... powerpc-unknown-linux-gnu
checking build system type... powerpc-unknown-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... (cached) yes
checking for objdir... .libs
checking for gcc option to produce PIC...  -fPIC -DPIC
checking if gcc PIC flag  -fPIC -DPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
finding the maximum length of command line arguments... (cached) 49153
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/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
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
loading cache ./config.cache
checking for gpgme-config... (cached) /usr/local/bin/gpgme-config
checking for GPGME - version >= 0.3.0... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for Cygwin environment... (cached) no
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tcl public headers... (cached) /usr/include
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh... (cached) /usr/lib/../bin/tclsh
creating ./config.status
creating Makefile
[noorah@glacier tclgpgme-1.0]$ make
/bin/sh ./libtool --mode=compile gcc -DVERSION=\"1.01\"
-DUSE_TCL_STUBS=1  -I. -I.  -I"/usr/include" -I/usr/local/include    -O
-D__NO_STRING_INLINES -D__NO_MATH_INLINES  -fPIC -c tclgpgme.c
mkdir .libs
gcc -DVERSION=\"1.01\" -DUSE_TCL_STUBS=1 -I. -I. -I/usr/include
-I/usr/local/include -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC
-c tclgpgme.c  -fPIC -DPIC -o .libs/tclgpgme.o
tclgpgme.c: In function `vfy2obj':
tclgpgme.c:756: warning: comparison between pointer and integer
tclgpgme.c: In function `ctx_encrypt':
tclgpgme.c:1248: too many arguments to function `gpgme_data_read'
tclgpgme.c: In function `ctx_decrypt':
tclgpgme.c:1344: too many arguments to function `gpgme_data_read'
tclgpgme.c: In function `ctx_sign':
tclgpgme.c:1441: too many arguments to function `gpgme_data_read'
tclgpgme.c: In function `ctx_verify':
tclgpgme.c:1515: warning: passing arg 4 of `gpgme_op_verify' from
incompatible pointer type
tclgpgme.c:1515: too few arguments to function `gpgme_op_verify'
tclgpgme.c:1532: too many arguments to function `gpgme_data_read'
tclgpgme.c: In function `ctx_info_key_aux':
tclgpgme.c:1846: warning: comparison between pointer and integer
tclgpgme.c: In function `ctx_info_trustitem':
tclgpgme.c:2059: warning: comparison between pointer and integer
make: *** [tclgpgme.lo] Error 1
[noorah@glacier tclgpgme-1.0]$