RE: Compile Apache 2.0.40 from SRPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Definitely might contribute to the process...

One thing you might check, and I very much doubt that it is a problem,
but it wouldn't hurt to check, look in the kssl.h file and check to see
where it is looking for the krb5.h file.  It may or may not have a path
like <krb5/krb5.h> or something like "krb5.h".  Make sure that it a)
exists, and b) is looking in the right place.  You might have to add a
-I/path/to/krb5.h/include/dir to the makefile if it is not in a default
system include search path.

Try the patches first to see it that clears it up.

Regards,

Drew

-----Original Message-----
From: j.travis [mailto:skynet@xxxxxxxxxxx]
Sent: Wednesday, December 31, 2003 1:40 PM
To: Red Hat Mailing List
Subject: Re: Compile Apache 2.0.40 from SRPM


It does look like I have the krb-devel package installed:

# rpm -qa | grep  krb5
pam_krb5-1.60-1
krb5-devel-1.2.7-10
krb5-libs-1.2.7-10

One thing I didn't do is install the patches that came with the source: 

httpd-2.0.36-sslink.patch                
httpd-2.0.40-apctl.patch          
httpd-2.0.40-CAN-2002-0840.patch 
httpd-2.0.40-CAN-2002-0843.patch  
httpd-2.0.40-CAN-2003-0020.patch  
httpd-2.0.40-davsegv.patch        
httpd-2.0.40-glibc23.patch

I guess that could be important in this scenario?

---------------------------------------------

> It looks to me like you don't have the kerberos development stuff
> installed.  You probably have the libs but not the headers.  Check to
> see if you have the krb5-devel package, "rpm -qa | grep krb5" that
will
> tell you if you have it installed.

---------------------------------------------
> I am trying to get some practice compiling apache by using the
> httpd-2.0.40.tar.gz that comes with the 9.0 SRPMs (so that I won't
have
> to
> worry about compatibility issues).  My configure is straightforward:
> 
> #
> ./configure --enable-layout=RedHat --enable-mods-shared=all
--enable-ssl
> --w
> ith-ssl=/usr
> 
> But when I compile it terminates at the ssl options.  I am using a
> default
> openssl package with a RH9.0 install (0.97a) so my assumption is that
> the
> apache and openssl software are compatible.  Does anyone see anything
> obvious here?
> 
> [---snip---]
> --------------------------------------------------------------
> ---------------------------
> make[4]: Entering directory `/root/httpd-2.0.40/modules/ssl'
> /bin/sh /root/httpd-2.0.40/srclib/apr/libtool --silent --mode=compile
> cc  -g -O2 -pthread -DNO_DBM_REWRITEMAP    -DLINUX=2 -D_REENTRANT
> -D_XOPEN_S
> OURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
> -DAP_HAVE_DESIGNATED_IN
> ITIALIZER   -I/root/httpd-2.0.40/srclib/apr/include
> -I/root/httpd-2.0.40/src
> lib/apr-util/include -I. -I/root/httpd-2.0.40/os/unix
> -I/root/httpd-2.0.40/s
> erver/mpm/prefork -I/root/httpd-2.0.40/modules/http
> -I/root/httpd-2.0.40/mod
> ules/filters -I/root/httpd-2.0.40/modules/proxy
> -I/root/httpd-2.0.40/include
>  -I/usr/include/openssl -I/root/httpd-2.0.40/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:111,
>                  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:111,
>                  from mod_ssl.c:60:
> /usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
>
------------------------------------------------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux