Re: Problems with the kannel 1.4.0 installation

"Edward C.A. Tromp" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <01db01c54aa4$1674ea20$020112ac@bart>
Douglas,

I did run into this problem and the way i get the work was the following:

I just did a find for the files in questions and i found out that those file are in another directory
the directory i found them was /usr/kerberos/include (Maybe different on you system)
since they where not a lot a files i did symbolic link them to the openssl directory.

After that i was succesfull in compiling kannel with SSL support.

Hope this helps you,

Edward


  ----- Original Message ----- 
  From: Douglas Jurcovichi 
  To: [email protected] 
  Sent: Tuesday, April 26, 2005 4:55 PM
  Subject: Problems with the kannel 1.4.0 installation


  Hi,

   

  I did te procedure as below, but I had problems with the library in my O.S. Red Hat 9. It runs in this O.S., is the package right (gateway.tar.gz)?

   

  Thanks

   

  Douglas

   

   

  # touch .depend

  [root@mw-mercuri01 gateway-1.4.0]# make depend

  for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius; do \

          gcc -D_REENTRANT=1 -I. -Igw -pthread -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -MM $dir/*.c | sed "s:^[^ ]:$dir/&:"; done > .depend

  [root@mw-mercuri01 gateway-1.4.0]# make

  gcc -D_REENTRANT=1 -I. -Igw -pthread -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -o gw/bb_alog.o -c gw/bb_alog.c

  In file included from /usr/include/openssl/ssl.h:179,

                   from gwlib/conn.h:274,

                   from gwlib/gwlib.h:94,

                   from gw/bb_alog.c:64:

  /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 gwlib/conn.h:274,

                   from gwlib/gwlib.h:94,

                   from gw/bb_alog.c:64:

  /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 gwlib/conn.h:274,

                   from gwlib/gwlib.h:94,

                   from gw/bb_alog.c:64:

  /usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"

  /usr/include/openssl/ssl.h:915: `debug' redeclared as different kind of symbol

  gwlib/log.h:114: previous declaration of `debug'

  /usr/include/openssl/ssl.h:931: syntax error before '}' token

  make: *** [gw/bb_alog.o] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.