Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2005 15:25:48 +0400
From:      "Nadelyaev Stanislav" <nadelyaev_sa@stocona.ru>
To:        "apache@freebsd.org" <apache@freebsd.org>
Subject:   mod_auth_kerb PR
Message-ID:  <b5b6ecd2d9c8ae4e8c249d8d72a5c535@stocona.ru>

next in thread | raw e-mail | index | archive | help
Hello.

I am try to install port www/mod_auth_kerb from the latest ports
collection. I am already have www/apache2 and security/krb5. System are
FreeBSD svn.domain.local 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0

 

Install passed fine, but when I started apache I got this error:

 

svn# /usr/local/etc/rc.d/apache2.sh restart

Performing sanity check on apache2 configuration:

Syntax error on line 272 of /usr/local/etc/apache2/httpd.conf:

Cannot load /usr/local/libexec/apache2/mod_auth_kerb.so into server:
/usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r"

 

Then I do some changes in Makefile and all goes well. I  am started
apache without problem. This is the changes:

 

svn# diff -uN Makefile.old Makefile

--- Makefile.old        Mon Aug  1 13:28:29 2005

+++ Makefile    Fri Aug  5 15:17:21 2005

@@ -26,12 +26,11 @@

 

 USE_APACHE=3D    yes

 

-KRB5_HOME?=3D    ${LOCALBASE}

 

 # Don't fsck with CFLAGS

 CFLAGS:=3D

 

 GNU_CONFIGURE=3D yes

-CONFIGURE_ARGS+=3D--with-krb5=3D${KRB5_HOME} --without-krb4

+CONFIGURE_ARGS+=3D--with-krb4=3Dno

 

 .include <bsd.port.mk>

 

And there is one more thing. In case of use apache2 pkg-plist file must
contain directive apache2 instead apache. 






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5b6ecd2d9c8ae4e8c249d8d72a5c535>