On Wed, 2013-04-03 at 09:00 +0200, theoutlan...@o2.pl wrote:
> Good morning,
> 
> 
> I have configured and running Samba4 server with bind9. My goal at the
> moment is to add the OC. I downloaded gzipped openchange-2.0-QUADRANT
> and acted according to the cookbook, omitting the section "Building
> Samba4" because I already have it. Unfortunately I am not able to
> perform the next step which is to "Configure OpenChange"

Hi,

During this configure stage, OpenChange building system is looking for
Samba4 pc files. 

If you installed samba4 through your packaging system, then you
presumably have to install the associated -dev packages both for Samba4
and associated libraries OpenChange depends on (talloc, ldb, tevent
etc.)


If you installed samba4 from sources, then you need to specify with
--prefix= the path where Samba4 is installed. If it still doesn't work,
double check you can access pkgconfig (.pc) files from the prefix. In
your case, you should check if you have /usr/share/samba/lib/pkgconfig
with available pc files such as talloc.pc, ldb.pc, tdb.pc and tevent.pc

Kind Regards,
Julien.
> 
> ---------openchange-2.0-QUADRANT# ./autogen.sh
> ./autogen.sh: running aclocal
> ./autogen.sh: running autoheader
> ./autogen.sh: running autoconf
> Now run ./configure and gmake
> 
> 
> ---------openchange-2.0-QUADRANT# ./configure
> --prefix=/usr/share/samba --with-samba
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.20... yes
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for samba 4... configure: error: Samba 4 not found
> 
> 
> I tried with several different prefixes, with or without a
> "--with-samba" but to no avail.
> 
> 
> Kind Regards,
> Outlander.
> 
> 
> 
> 2013/4/2 Julien Kerihuel <j.kerih...@openchange.org>
>         On Tue, 2013-04-02 at 13:26 +0200, theoutlan...@o2.pl wrote:
>         > Hi all,
>         > I'm trying to upgrade an existing Samba4 domain for
>         functionality
>         > OpenChange + SOGO. The aim is to obtain a configuration:
>         Server 1 - S4
>         > &OC, server 2 - postfix, server 3 - SOGO working together.
>         > But I'm not able to build OC based on the existing working
>         setup
>         > (Ubuntu 13.04 + Samba 4.0.0 + BIND 9.9.2).
>         > I tried the --with-samba, samba4.conf added to ld.so.conf.d,
>         I
>         > checked several versions --prefix= but without success.
>         >
>         
>         Good afternoon,
>         
>         I don't understand the building problem you are outlining. Can
>         you be
>         more specific?
>         
>         Is it a problem you encounter while running openchange
>         configure script?
>         Is it a compilation issue? If yes, can you paste it?
>         Is it a linking issue at runtime? If yes, can you paste the
>         error?
>         
>         PS: We have some pending commits to merge in to build latest
>         sogo
>         backend for openchange (git checkout) properly. If you are
>         using a
>         release version, you should however not encounter this
>         problem. If you
>         are using latest git, we encourage you to try the following:
>         https://github.com/inverse-inc/openchange.git
>         
>         We expect the merging to be completed on Friday evening.
>         
>         Kind Regards,
>         Julien.
>         
>         
>         
>         --
>         Julien Kerihuel
>         j.kerih...@openchange.org
>         OpenChange Project Founder
>         
>         GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F
>         1F79
>         
>         _______________________________________________
>         devel mailing list
>         devel@lists.openchange.org
>         http://mailman.openchange.org/listinfo/devel
> 
> 

-- 
Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to