building apache2 with ssl

This is a discussion on building apache2 with ssl within the Apache Web Server forums, part of the Web Server and Related Forums category; hello one and all, so i have been having fits trying to connect tomcat5 to apache2 via mod_jk2. i have ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-02-2004
slukacs
 
Posts: n/a
Default building apache2 with ssl

hello one and all,

so i have been having fits trying to connect tomcat5 to apache2 via
mod_jk2. i have built tomcat and mod_jk2 from source and i still get an
error when apache is started. i posted that message just above.

so i am reduced to trying to build apache 2.0.49 from source but i am
having a bit of trouble with that also. here is my config line

CC="gcc" CFLAGS="-O2" ./configure --prefix=/usr/local/apache
--enable-rule=SHARED_CORE --enable-ssl --enable-so --enable-rewrite

i would like ssl with apache. now i only downloaded the
httpd-2.0.49.tar.gz file and tried the above. i thought that that
source has ssl, so, and the rewrite modules built into it. perhaps i am
wrong about. if so can you link me to those download modules and let me
know where they should go when i untar them, please? what else could i
be doing wrong in building apache.

thank you in advance.

lucas

here is the bottom of my config..... . . .

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:134: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:136: parse error before '*' token
/usr/include/openssl/kssl.h:137: parse error before '}' token
/usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
/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 '*' token
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:152: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:159: parse error before '*' token
/usr/include/openssl/kssl.h:161: parse error before "context"
/usr/include/openssl/kssl.h:162: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:162: parse error before "context"
/usr/include/openssl/kssl.h:165: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:165: parse error before "atime"
/usr/include/openssl/kssl.h:167: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:167: parse error before '*' token
/usr/include/openssl/kssl.h:169: 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[3]: *** [mod_ssl.lo] Error 1
make[3]: Leaving directory
`/home/lucas/CDs/programs/linux/apache/httpd-2.0.48/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/lucas/CDs/programs/linux/apache/httpd-2.0.48/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/lucas/CDs/programs/linux/apache/httpd-2.0.48/modules'
make: *** [all-recursive] Error 1

  #2 (permalink)  
Old 04-02-2004
Jeroen Smaal
 
Posts: n/a
Default Re: building apache2 with ssl


"slukacs" <slukacs@adelphia.net> wrote in message
news:fa2dnbQXf4iHXPDdRVn-gw@adelphia.com...
>
> 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


<SNIP>

I ran into that same problem building Apache 2.0.48 on RH9. The simplest
solution would be to copy /usr/local/include/kerberos/*.h to
/usr/local/include

BTW I'm not sure why this is necessary and I've never tried to find a
cleaner solution, but it works!

Jeroen.



  #3 (permalink)  
Old 04-06-2004
Kim Karlsson
 
Posts: n/a
Default Re: building apache2 with ssl

On Fri, 2 Apr 2004 21:53:45 +0200, Jeroen Smaal
<js_news@REMOVE-THIS.zippy.xs4all.nl> wrote:

>
> "slukacs" <slukacs@adelphia.net> wrote in message
> news:fa2dnbQXf4iHXPDdRVn-gw@adelphia.com...
>>
>> 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

>
> <SNIP>
>
> I ran into that same problem building Apache 2.0.48 on RH9. The simplest
> solution would be to copy /usr/local/include/kerberos/*.h to
> /usr/local/include
>
> BTW I'm not sure why this is necessary and I've never tried to find a
> cleaner solution, but it works!
>
> Jeroen.



Just set the environmental variable CPPFLAGS to -I/path/to/dir/with/krb5.h
before the configure command.
E.g. using bash: export CPPFLAGS=-I/usr/kerberos/include

Cheers,
-Kim
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0