This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
building 2.10(.1) from git
- From: Allin Cottrell <cottrell at wfu dot edu>
- To: libc-help at sourceware dot org
- Date: Tue, 12 May 2009 09:25:42 -0400 (EDT)
- Subject: building 2.10(.1) from git
Hello,
Just wanted to check that I'm doing the right thing to get the
correct 2.10 sources. The page at
http://www.gnu.org/software/libc/ gives the instructions:
git clone git://sourceware.org/git/glibc.git
cd glibc
git checkout --track -b glibc-2_10-branch origin/glibc-2_10-branch
The first command worked but the third command gave me:
"fatal: git checkout: updating paths is incompatible with
switching branches. Did you intend to checkout
'origin/glibc-2_10-branch' which can not be resolved as commit?"
After puzzling over this for a while I tried "git branch -a"
and saw that all the "glibc-2_*" branches were in fact under
"origin/cvs", as in
origin/cvs/glibc-2_10-branch
So I replaced the failed command above with
git checkout --track -b glibc-2_10-branch \
origin/cvs/glibc-2_10-branch
and this worked. Did I get the right code? (That is, sources
equivalent to what will be in the 2.10.1 tarball.) Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest University