[Csync2] Installation

Michael Mansour mic at npgx.com.au
Thu Sep 30 05:31:47 CEST 2010


Hi Chris,

> How did you install the gnutls and gnutls-devel?

This information is from the time I installed csync2 v1.28, but I may have
done the same thing for recent versions too, I honestly don't remember.

The problem with making the csync2 RPM from the spec was with an error like this:

checking for SSL_new in -lgnutls-openssl... no
configure: error: libgnutls-openssl is required

Something is broken with the gnutls and gnutls-devel supplied by Red Hat. This
is the note I wrote about it at the time I raised it with the list:

Note: we had to use Clifford’s csync2.patch file to patch the configure.ac
script and then re-run autogen.sh to re-produce the configure script, which
resulted in the above. 

and "the above" being:

# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for rs_sig_file in -lrsync... yes
checking for sqlite_exec in -lsqlite... yes
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... yes
checking for SSL_new in -lgnutls-openssl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

I then re-packaged the tarball, and built the RPM from that new tarball.

This was a headache for me at the time because Clifford didn't care about
"broken" distributions, as he called it. Kudos to him for making the csync2
tool and making it available as Open Source, but that reply only meant I had
to work harder to try and get it to work properly with RHEL, which on the
whole was (and still is) painful.

But you are talking to a happy csync2 user, I use csync2 on at least 5
different clustered environments.

Regards,

Michael.

> --------------
> Thanks,
> 
> Chris Bidwell, RHCT
> Web Admin
> Geologic Hazards Team
> 303-273-8642
> cbidwell at usgs.gov
> (Sent via Crackberry)
> 
> ----- Original Message -----
> From: "Michael Mansour" [mic at npgx.com.au]
> Sent: 09/30/2010 12:02 PM ZE11
> To: Christopher Bidwell; csync2 at lists.linbit.com
> Subject: Re: [Csync2] Installation
> 
> Hi,
> 
> > For us RHEL5 owners, what is the best way to get csync2 installed? 
> >  I'm having a heck of a time locating sqlite2.  I don't see a 
> > deprecated version listing on sqlite.org.  Any help to this run-
> > around-in-circles task would be greatly appreciated.
> 
> I use the sqlite RPM's from Dag Wieers (RPMforge).
> 
> You just download them, use "rpm -ivh --force" on them, they install 
> into a different tree to sqlite3 that comes with el5.
> 
> I then build the csync2 RPM's and install from those.
> 
> The hardest thing for me was gnutls and gnutls-devel, sqlite was the 
> easy bit :)
> 
> Michael.
> 
> > ----------------
> > Thank you,
> > 
> > Chris Bidwell, RHCT
> > Red Hat Linux Administrator
> ------- End of Original Message -------
> 
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
------- End of Original Message -------



More information about the Csync2 mailing list