You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pedro Salazar <pe...@ptinovacao.pt> on 2003/10/01 13:06:11 UTC

[users@httpd] apache2 error build --enable-ssl --> "/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory"

Greetings,

I'm trying to build apache 2.0.47 with ssl (--enable-ssl) on a linux
redhat 9.0 box. I'm getting this error:

"
make[3]: Entering directory `/usr/local/src/httpd-2.0.47/modules/ssl'
Building shared: mod_ssl.la
make[4]: Entering directory `/usr/local/src/httpd-2.0.47/modules/ssl'
/bin/sh /opt/src/httpd-2.0.47/srclib/apr/libtool --silent --mode=compile
gcc  -g
 -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVI
D_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  
-I/opt/src/httpd-2.0.4
7/srclib/apr/include -I/opt/src/httpd-2.0.47/srclib/apr-util/include -I.
-I/opt/
src/httpd-2.0.47/os/unix -I/opt/src/httpd-2.0.47/server/mpm/worker
-I/opt/src/ht
tpd-2.0.47/modules/http -I/opt/src/httpd-2.0.47/modules/filters
-I/opt/src/httpd
-2.0.47/modules/proxy -I/opt/src/httpd-2.0.47/include
-I/usr/include/openssl -I/
opt/src/httpd-2.0.47/modules/dav/main -prefer-pic -c mod_ssl.c && touch
mod_ssl.
slo
In file included from /usr/include/openssl/ssl.h:179,
                 from mod_ssl.h:125,
                 from mod_ssl.c:60:
/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 mod_ssl.h:125,
                 from mod_ssl.c:60:
/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 mod_ssl.h:125,
                 from mod_ssl.c:60:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:909: warning: no semicolon at end of struct
or union
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[4]: *** [mod_ssl.slo] Error 1
make[4]: Leaving directory `/usr/local/src/httpd-2.0.47/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/httpd-2.0.47/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.0.47/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.0.47'
make: *** [all-recursive] Error 1
"

How to fix it?

thanks,
Pedro Salazar
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache2 error build --enable-ssl --> "/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory"

Posted by Pedro Salazar <pe...@ptinovacao.pt>.
On Wed, 2003-10-01 at 12:06, Pedro Salazar wrote:
> I'm trying to build apache 2.0.47 with ssl (--enable-ssl) on a linux
> redhat 9.0 box. I'm getting this error:
> 
> In file included from /usr/include/openssl/ssl.h:179,
>                  from mod_ssl.h:125,
>                  from mod_ssl.c:60:
> /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 mod_ssl.h:125,
>                  from mod_ssl.c:60:

Just for your information, this problem that happens at least in Linux
RH 9.0, doesn't occurs in Linux RH AS 2.1.

I also found a way to workaround this issue in RH 9.0. Include "#define
OPENSSL_NO_KRB5" on top of ssl.h.

Well, I don't know if this *bug* would be fixed by updating the openssl
package in RH 9.0....

Pedro Salazar
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache2 error build --enable-ssl --> "/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory"

Posted by Nathan Ollerenshaw <na...@valuecommerce.ne.jp>.
On Oct 1, 2003, at 8:06 PM, Pedro Salazar wrote:

> Greetings,
>
> I'm trying to build apache 2.0.47 with ssl (--enable-ssl) on a linux
> redhat 9.0 box. I'm getting this error:

do your configure, then

    C_INCLUDE_PATH=/usr/kerberos/include make

Easiest way.

-- 
Nathan Ollerenshaw - Unix Systems Engineer
ValueCommerce - http://www.valuecommerce.ne.jp/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org