Hi have basically followed this url..
http://www.openchange.org/cookbook/building.html

I skipped the samba parts because Samba is already installed and working.

The cook book has the next steps.



**********************************************************
Building OpenChange


Configure OpenChange

Launch the configure script in openchange directory:
$ ./autogen.sh
$ ./configure --prefix=/usr/local/samba

**********************************************************

And now I get to this point and an error about TALLOC

checking for TALLOC... configure: error: Package requirements (talloc) were
not met:

No package 'talloc' found

**********************************************************
[root@PDC openchange]# ./configure --prefix=/usr/local/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... /usr/local/samba
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for string.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for strcasestr... yes
checking for comparison_fn_t... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking whether we are really using the Sun C compiler... no
checking whether we are really using the Intel C compiler... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl... /usr/bin/perl
checking for pidl... /usr/local/samba/bin/pidl
checking for python... /usr/bin/python
checking for python-config... /usr/bin/python-config
checking python cflags... -I/usr/include/python2.6 -I/usr/include/python2.6
-fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
checking python libs... -lpthread -ldl -lutil -lm -lpython2.6
checking python library directory... ${prefix}/lib64/python2.6/site-packages
checking for flex... flex
checking for TALLOC... configure: error: Package requirements (talloc) were
not met:

No package 'talloc' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables TALLOC_CFLAGS
and TALLOC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

**********************************************************



I am not seeing the light at the end of the tunnel with OpenChange...grmf...


Any input welcome.
Thanks
Ray










-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Steve
Boley
Sent: 17 February 2014 04:40 PM
To: [email protected]
Subject: Re: [openchange][devel] Help needed to install OpenChange onto
Samba4

Honestly the easiest thing is to see if the package has a specs file and
then install the rpmbuild packages and repackage it as a RPM and then use
yum to install it separately and then do the other installs and it should
realize you have a newer version of samba4 installed and rid your errors.

Or you could look for a src rpm for that version and then the build gets
much easier as you won't have to play with the specs file any.

Down and dirty you can look at all the packages that are to be installed and
then have them all in the same location and use straight rpm -Uvh --nodeps
1.rpm 2.rpm 3.rpm 4.rpm and install everything but samba. It's not a clean
way but it would work.
Steve
On 2/17/2014 6:30 AM, Raymond wrote:
> I downloaded the samba4.1.4.tar.gz file and compiled from there.
>
>
>
>
>
>
>
> -----Original Message-----
> From: devel [mailto:[email protected]] On Behalf Of 
> Steve Boley
> Sent: 14 February 2014 08:07 PM
> To: [email protected]
> Subject: Re: [openchange][devel] Help needed to install OpenChange 
> onto
> Samba4
>
> Just read the install docs for sogo and centos and where it says you 
> do an exclude for a certain package for sogo on a repo just use the 
> same logic and exclude the samba4 packages and it should fix the 
> problem of trying to install it for dependencies.
>
> Did you install the samba4 from source or rpm? If source then that's 
> where your problems really start because yum uses the rpm database and 
> it says
> samba4 isn't installed. I always try to install rpmbuild and when 
> compiling from source at least give it my best shot to make it into an 
> rpm format so that it plays much nicer with my fedora/centos package
management.
>
> I learned init and system functions the redhat way and prefer its 
> simplistic init tools over debian style like ubuntu and debian's apt 
> made yum happen so I'm grateful for that blessing for sure but just 
> not a deb guy at all either.
>
> So to all those novice people that don't really understand deep level 
> distro functions, stick with using everything static built binary 
> packages and stay away from direct compiling which adds many more 
> layers of potential future problems and difficulties.
> Steve
> On 2/13/2014 2:12 PM, Raymond Potgieter wrote:
>> Hi Dan, no such command on centos.. (builddep)
>>
>> Is it part of a tool set that I need to install first?
>>
>> Thank you
>> Ray
>>
>>
>>
>> -----Original Message-----
>> From: devel [mailto:[email protected]] On Behalf Of 
>> Dan Shearer
>> Sent: 13 February 2014 08:56 PM
>> To: Development list
>> Subject: Re: [openchange][devel] Help needed to install OpenChange 
>> onto
>> Samba4
>>
>> On Thu, Feb 13, 2014 at 07:43:18PM +0100, Martin Simovic wrote:
>>> You can compile openchange from source against your existing samba
>> I guess Martin meant "from pristine source, ie git clone... "
>>
>> If you do this, you may want to first use the yum-builddep tool to 
>> make sure you have the development libraries that match your 
>> distribution. It isn't guaranteed because things do change but it is 
>> still likely to save some time/trouble if you do something like:
>>
>>      yum builddep openchangeserver samba4
>>
>> I only rarely use Centos, but I'm told it this tool works as you'd 
>> expect from Fedora experience. (For any Debian-type people here, the 
>> equivalent is "apt-get build-dep samba4" etc)
>>
>> Dan
>> _______________________________________________
>> devel mailing list
>> [email protected]
>> http://mailman.openchange.org/listinfo/devel
>>
>> _______________________________________________
>> devel mailing list
>> [email protected]
>> http://mailman.openchange.org/listinfo/devel
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <title>email-banner</title>
> <meta http-equiv="Content-Type" content="text/html; 
> charset=iso-8859-1" /> </head> <body bgcolor="#FFFFFF" leftmargin="0" 
> topmargin="0" marginwidth="0" marginheight="0"> </br> <a 
> href="http://www.joburgtheatre.com";><img 
> src="http://www.showbusiness.co.za/emailbanner/banner13.jpg"; 
> width="660" height="165" />
> <!-- ImageReady Slices (banner4web.jpg) --><!-- End ImageReady Slices 
> --></a></br>
>
>
> </body>
>
> </html>
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to