On Mon, May 08, 2017 at 08:25:52PM +0000, Waldron, Michael H wrote:
> I am getting the following error when trying to compile htslib-1.4.1 on our 
> RHEL-5 based cluster:

Try compiling with CFLAGS="-D_XOPEN_SOURCE=600 -g -O2", possibly you
will also need to add -std=c99 in there.  Recursive mutexes are part
of POSIX, but RHEL 5 is a 10 year old system so it may not have been a
default part of the OS.  The fact the old code built meant that your
OS supports this, but it's not enabled by default.

This is something we should put a fix for in the configure script,
assuming there isn't one there already.  (Did you try ./configure
first?)

Regards,

James

-- 
James Bonfield (j...@sanger.ac.uk) | Hora aderat briligi. Nunc et Slythia Tova
                                  | Plurima gyrabant gymbolitare vabo;
  A Staden Package developer:     | Et Borogovorum mimzebant undique formae,
https://sf.net/projects/staden/   | Momiferique omnes exgrabure Rathi. 


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to