Hi Julien, just checking in. Any progress from your end on installing OpenChange on CentOS 6.5 ?
Thank you Ray Raymond Potgieter IT Manager | Joburg Theatre Tel: +27 11 877 6808 | Fax +27 86 531 1973 | Mobile 072 175 7983 | raym...@joburgtheatre.com www.joburgtheatre.com | www.twitter.com/joburgtheatre -----Original Message----- From: Raymond [mailto:raym...@joburgtheatre.com] Sent: 24 February 2014 08:54 AM To: 'j.kerih...@openchange.org' Cc: 'Development list' Subject: RE: [openchange][devel] Help needed to install OpenChange Hi Julien, I am very happy that you are attempting this install on CentOS 6.5 and hoping that you will provide some more details on how you got pass the road bumps in the install process. Also hoping that the cook books on the openchange website can be amended with your findings. I think there are a lot of people who will benefit from the openchange product if it was easier for them to get it installed. All the help is very much appreciated. Thank you, Ray -----Original Message----- From: Julien Kerihuel [mailto:j.kerih...@openchange.org] Sent: 23 February 2014 11:47 PM To: Raymond Potgieter Cc: 'Development list' Subject: Re: [openchange][devel] Help needed to install OpenChange Hi Raymond, I got a bit further than you did so far, but not to any satisfying states: ================================================================== # Step 0 - ensure you have the "build essentials": gcc, autoconf, automake, flex, bison, python-devel # Step 1 - remove samba3 references. yum erase samba-common # Step 2 - install samba4 yum install samba4 # Step 3 - install idl compilator yum install samba4-pidl # Step 4 - Install samba4 tdb,talloc etc. devel files yum install samba4-devel Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: samba4-devel x86_64 4.0.0-60.el6_5.rc4 updates 266 k Installing for dependencies: libldb-devel x86_64 1.1.13-3.el6 base 68 k libtalloc-devel x86_64 2.0.7-2.el6 base 25 k libtdb-devel x86_64 1.2.10-1.el6 base 14 k libtevent-devel x86_64 0.9.18-3.el6 base 32 k Transaction Summary ================================================================================ Install 5 Package(s) ================================================================================ At this stage I can run ./autogen.sh && ./configure && make and it builds the client libraries. However, I could not find so far references to any packages including libdcerpc-server and libdcerpc-samr libraries and header files (dcerpc_server.h). These are required to build mapiproxy, openchange server. I furthermore had to copy dcerpc_server.h directly to /usr/include/samba-4.0/ to fix a small compilation issue. Conclusion: little progress, but nothing yet satisfying using packaged samba4. Br, Julien. On Sun, 2014-02-23 at 22:01 +0200, Raymond Potgieter wrote: > 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:devel-boun...@lists.openchange.org] On Behalf Of > Raymond Potgieter > Sent: 23 February 2014 04:58 PM > To: 'Development list'; j.kerih...@openchange.org > 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:devel-boun...@lists.openchange.org] On Behalf Of > Raymond Potgieter > Sent: 23 February 2014 03:59 PM > To: j.kerih...@openchange.org; '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:devel-boun...@lists.openchange.org] 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_v > > er > > .sh > > > > Cheers, > > Julien. > > > > _______________________________________________ > > devel mailing list > > devel@lists.openchange.org > > http://mailman.openchange.org/listinfo/devel > > -- > Julien Kerihuel > j.kerih...@openchange.org > OpenChange Project Founder > > Twitter: http://twitter.com/jkerihuel > > 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 > > _______________________________________________ > devel mailing list > devel@lists.openchange.org > http://mailman.openchange.org/listinfo/devel > -- Julien Kerihuel j.kerih...@openchange.org OpenChange Project Founder Twitter: http://twitter.com/jkerihuel GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79 <!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/banner14.jpg" width="660" height="165" /> <!-- ImageReady Slices (banner4web.jpg) --><!-- End ImageReady Slices --></a></br> </body> </html> _______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel