5

Cannot build Mercurial from sources in CentOS

view full story
linux-howto

http://stackoverflow.com – I'm trying to build Mercurial on CentOS 6, so here is what I've done so far: I got mercurial's latest sources, file is named mercurial-2.4.1.tar.gz I try running rpmbuild on it and I get the following: # rpmbuild -tb mercurial-2.4.1.tar.gz error: File /home/someuser/rpms/mercurial/mercurial-snapshot.tar.gz: No such file or directory So I try creating the file that it wants by copying from the other guy: # cp mercurial-2.4.1.tar.gz mercurial-snapshot.tar.gz I try again, appears to pass the previous error: # rpmbuild -tb mercurial-2.4.1.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-t (HowTos)