Installing Mercurial on CentOS

Trevor Saunders trev.saunders at
Sat Jul 24 14:00:35 UTC 2010


doesn't sentos have a mercurial package?  If you can I'd try to
install mercurial with the package manager (yum I gues on sentos),
since it will take care of the dependancies for you, and will ake care
of updates etc.  If you realy want to build these by hand, or sentos
doesn't have packages, and you realy like sentos for some reason then
you'll have to first get python built and installed before the header
python.h is installed.  Its hard to say what the problem building
python is without actual error messages, but it sounds like it can't
find headers, so to resolve this you should first see if they are
installed in a non standard place (some times red hat and maybe sentos
I gues are silly in where they put things).  If this is the case then
you may have to set the variables LD_LIBRARY_PATH or INCLUDE_PATH I
believe it is.  Other wise you'll have to find the package that
provides these headers, and install it. 
I'd be very suprised if there isn't a package for mercurial, debian
has one I know, and mercurial is reasonably common.   


On Fri, Jul 23, 2010 at 03:24:37PM -0500, John J. Boyer wrote:
> I downloaded the source for Mercurial 1.6. The build gave an error 
> message that it couldn't find Python.h I downloaded Python 3.1.2 That 
> put Python.h on the system, but it couldn't complete itself because it 
> couldn't find things to make modules like _curses and readline Mercurial 
> still can't find Python.h The OS is up to date, as far as the yum 
> repository goes. I really just want Mercurial, so I can use it on the 
> BrailleBlaster project. I think I announced that on this list a couple 
> of weeks ago.
> Thanks,
> John
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> Madison, Wisconsin USA
> Developing software for people with disabilities
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at

More information about the Blinux-list mailing list