[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hack on one of the coreutils programs
From: |
Tomas Nordin |
Subject: |
Re: Hack on one of the coreutils programs |
Date: |
Sat, 6 Jun 2015 20:10:08 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
I am trying to solve the dependencies yield from the ./bootstrap command
and have problems with gettext. I am trying to get help from the
debian-user list but wanted to double-check here if you understand this.
I have installed via wheezy-backports the version 0.19.3-2~bpo70, but
running gettext is not running the new version, it runs the previously
installed 0.18.1. My package manager system thinks that 0.19.3-2~bpo70
is installed but gettext seem to disagree.
Would you have any idea what is going on with that?
On Mon, Jun 01, 2015 at 08:00:26AM +0200, Bernhard Voelker wrote:
> On 05/31/2015 09:17 PM, Pádraig Brady wrote:
> > On 31/05/15 18:15, Tomas Nordin wrote:
> >> I get confused about this, if not for else because all those utils are
> >> already on my system, so I guess I don't want to make a full install of
> >> the play code for trying it out.
> >
> > Off the top of my head:
> >
> > git clone --depth=1 git://git.sv.gnu.org/coreutils.git
> > cd coreutils
> > ./bootstrap && ./configure --quiet && make -j$(nproc)
> > git checkout -b my-branch
> > vim src/ls.c
> > make
> > # make install # to install to /usr/local/... by default
> > # (which is adjustable with ./configure options).
> >
> > See also:
> > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=README-hacking;hb=HEAD
> >
> > If looking to send changes back upstream for inclusion see:
> > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=HACKING;hb=HEAD
>
> Regarding testing: you can run "make syntax-check" to see whether
> your changes comply with our coding standards; and you can run the
> testsuite with "make check" (or more of it with "make check-expensive"
> or "make check-very-expensive") to see if you introduced a regression.
> Finally you can add your own test case to the "tests/".
>
> Have a nice day,
> Berny