This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]