Hi Julien,

I got pass this Python error by taking my original samba build and copying
it over to the new clean install and I then did a (./configure,make, make
install) and samba 4.1.4 installed 


I then cd /tmp/openchange

And ran the openchange command as per the cook book (  ./configure
--prefix=/usr/local/samba ) and got the following error.


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


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... yes
checking for SAMBA... yes
checking for SAMBASERVER... yes
checking for TDB... yes
checking for LDB... configure: error: Package requirements (ldb) were not
met:

No package 'ldb' 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 LDB_CFLAGS
and LDB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

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

I did a wget
ftp5.gwdg.de/pub/opensuse/repositories/home:/aredridel/CentOS_CentOS-6/x86_6
4/libdb-5.3.21-10.1.x86_64.rpm and installed the rpm but I still get the
error *** No package 'ldb' found ****

Phew, this is a mission!!

Any ideas, but I will wait for you to come back to me after you tried the
Centos 6.5 install.

Thank you
Kindly.

Ray








-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Raymond
Potgieter
Sent: 23 February 2014 04:58 PM
To: 'Development list'; [email protected]
Subject: Re: [openchange][devel] Help needed to install OpenChange

Hi Julien,

Thank you for updating the package to samba4.1.4

I have now also tried a clean fresh install of CentOS 6.5 minimal and
following the cook book there is a Python version mismatch.

The cook book now installs samba4.1.4 but when it compiles it end with this
python error. (see below)

Should the python version also be update? Centos 6.5 installs
python-2.6.6-52.el6.x86_64 


****************************************************************************
**************
Checking for system tdb >= 1.2.12
: yes
ERROR: Python module pytdb of version 1.2.12 not found, and bundling
disabled Error in lib/ldb configure (error code 1)
make: *** [samba] Error 1

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




 [root@PDC openchange]# yum install python* Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nsc.liu.se
 * extras: mirror.nsc.liu.se
 * updates: mirror.nsc.liu.se
Setting up Install Process
Package python-2.6.6-52.el6.x86_64 already installed and latest version
Nothing to do

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







-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Raymond
Potgieter
Sent: 23 February 2014 03:59 PM
To: [email protected]; 'Development list'
Subject: Re: [openchange][devel] Help needed to install OpenChange

Thank you Julien... 

As mentioned I got pass the TALLOC "not found" error by installing TALLOC
but I also checked and the following was installed as per the documentation.


Compilation Tools
# yum groupinstall "Development Tools" "Legacy Software Development" 
# yum install ccache python-devel git-all docbook-style-xsl
perl-ExtUtils-MakeMaker libacl-devel


OpenChange dependencies
# yum install popt-devel libical-devel sqlite-devel file-devel boost-thread


Set environment variable to make boost-thread work export
BOOST_LIB_SUFFIX="-mt"




I did not get pass the error below. I am thinking it is something small that
I am missing but can't seem to figure it out :-(



****************************************************************************
**************************************************
checking for TALLOC... yes
checking for SAMBA... configure: error: Package requirements (dcerpc ndr
samba-hostconfig samba-util tevent samba-credentials) were not met:

Package tevent was not found in the pkg-config search path.
Perhaps you should add the directory containing `tevent.pc'
to the PKG_CONFIG_PATH environment variable Package 'tevent', required by
'samba-util', not 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 SAMBA_CFLAGS and
SAMBA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

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







-----Original Message-----
From: devel [mailto:[email protected]] On Behalf Of Julien
Kerihuel
Sent: 23 February 2014 01:46 PM
To: Development list
Subject: Re: [openchange][devel] Help needed to install OpenChange

FYI, I will give it a try with CentOS 6.5 and keep you posted.

Cheers,
Julien.

On Sun, 2014-02-23 at 12:05 +0100, Julien Kerihuel wrote:
> On Fri, 2014-02-21 at 18:52 +0200, Raymond Potgieter wrote:
> > checking for SAMBA... configure: error: Package requirements (dcerpc 
> > ndr samba-hostconfig samba-util tevent samba-credentials) were not
> > met:
> 
> > Package 'tevent', required by 'samba-util', not found
> 
> Hi,
> 
> If you already have a samba4 installed on CentOS, you probably don't 
> have yet installed the development packages for the samba4 libraries 
> OpenChange depends on.
> 
> You therefore need to install libtevent and other dependencies through 
> yum before you configure/compile openchange. If you installed samba4 
> with rpm, I assume devel packages also exist.
> 
> FYI, OpenChange builds and run fine with latest Samba4 release. I've 
> updated requirements in master to this regards:
> https://github.com/openchange/openchange/blob/master/script/samba4_ver
> .sh
> 
> Cheers,
> Julien.
> 
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel

--
Julien Kerihuel
[email protected]
OpenChange Project Founder

Twitter: http://twitter.com/jkerihuel

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





_______________________________________________
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