aspose file tools*
The moose likes Tomcat and the fly likes Apache install error on Red Hat 9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache install error on Red Hat 9" Watch "Apache install error on Red Hat 9" New topic
Author

Apache install error on Red Hat 9

David Perry
Greenhorn

Joined: Dec 12, 2003
Posts: 19
I'm trying to build/install Apache 2 on Red Hat 9 and I'm getting an error when I run the 'make' command. Here's what I've done:

1. Installed Red Hat 9. I unselected the Web Server option during the setup.
2. Downloaded httpd-2.0.49.tar.gz from Apache web site to /usr/local/src
3. From that directory, I ran tar xvzf httpd-2.0.4.49.tar.gz which creates the /usr/local/src/httpd-2.0.49 directory.
4. I cd to the /usr/local/src/httpd-2.0.49 directory and run ./configure --prefix=/usr/local/apache --enable-ssl --enable-so
5. This runs fine, so I then run 'make' (no quotes). The compile starts, but after a while, it aborts. I have copied the lines reporting the error as they appear on my screen:
.
.
.
In file included from /usr/include/openssl/ssl.h:179,
from mod_ssl.h:91,
from mod_ssl.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 mod_ssl.h:91,
from mod_ssl.c:26:
/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:91,
from mod_ssl.c:26:
/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 `/usr/local/src/httpd-2.0.49/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.0.49/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.0.49/modules'
make: *** [all-recursive] Error 1
[root@darktower]

Does anyone have any idea as to why this is not working?

Thanks in advance for your help. David Perry.
Roland Bird
Greenhorn

Joined: Jul 07, 2004
Posts: 1
When compiling apache with ssl support it's looking for a few kerberos include files. These are located in /usr/include/kerberos and are krb5.h, profile.h and com_err.h.

You can get around the problem by linking these files into /usr/include

This worked for me when compiling 2.0.50
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache install error on Red Hat 9