/kolab/RPM/SRC/apache2/apache2.spec RESOLVED (was: Re: [Kroupware] Apache build error)

Lutz Badenheuer kroupware@mail.kde.org
Tue, 19 Nov 2002 17:37:40 +0100


Hi, 

Am Dienstag, 19. November 2002 01:34 schrieb Martin Honermeyer:
> >Andreas Ahlenstorf wrote:
> >$ rpm -bb apache2.spec --define 'with_fsl yes' --define 'with_ldap
> > yes'
> ><!--cut-->
> >In file included from apr_ldap_compat.c:63:
> >/kolab/RPM/TMP/httpd-2.0.43/srclib/apr-util/include/apr_ldap.h:97:
> > parse error before '*' token
> >make[4]: *** [apr_ldap_compat.lo] Error 1
> >make[3]: *** [all-recursive] Error 1
> >make[2]: *** [all-recursive] Error 1
> >make[1]: *** [all-recursive] Error 1
> >make: *** [all-recursive] Error 1
> >error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.83020 (%build)
> ><!--cut-->
> 
> 1. Copy the following files from /kolab/RPM/TMP/openldap-../include
> to /kolab/RPM/TMP/httpd-../srclib/apr-util/include:

Your patch is similar to the one I've posted yesterday at 2:21:34 
(Msg-Id: <200211180223.gAI2NDj17189@LukeNukem.home.lukenukem.de>, 
Subject was 'Kolab installation') and should work, but indeed does 
not solve the problem. 

Apply the following patch to /kolab/RPM/SRC/apache2/apache2.spec: 

--snip-----
--- apache2.spec.orig   Tue Nov 19 17:31:11 2002
+++ apache2.spec        Tue Nov 19 17:30:20 2002
@@ -95,8 +95,8 @@
         --enable-auth-ldap \
         --enable-ldap \
         --with-ldap \
-        --with-ldap-include=/openpkg/include/ \
-        --with-ldap-lib=/openpkg/lib/ \
+        --with-ldap-include=/kolab/include/ \
+        --with-ldap-lib=/kolab/lib/ \
 %endif
         --with-berkeley-db=%{l_prefix}/lib \
         --enable-dav \
--snap-----

This should solve the problem, please anybody tell me if problems 
occur. 

HAND, 
Lutz 

-- 
Lutz Badenheuer     | IT--Consulting, Development, Networksolutions
luke@the-web-ac.com | C/C++, OO-Perl, sh | Linux, SCO UNIX, Solaris