On Sun, 25 Sep 2011, Allin Cottrell wrote:
On Sun, 25 Sep 2011, Hélio Guilherme wrote:
> Since you actually made me read Appendix C2 (I was not aware that
> documentation had improved so much since I read it long time ago ;)), here
> i
> a typo that I detected:
> (...)
> apt-get build-dep gretl
> will download and install all the necessary packages for building the
> version of gretl that is currently present in your APT sources.
> Techincally,
OK, perhaps that needs to be clarified.
Hmm, I'm not sure about that. On my Ubuntu (lucid) system at home, I
just tried
sudo apt-get build-dep gretl --dry-run
to see what would happen. I have current CVS gretl installed under
/opt, but I don't have any standard Ubuntu/Debian gretl files on the
system. The command ran fine, and gave the following:
<shell>
allin@myrtle:~$ sudo apt-get build-dep gretl --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libreadline5-dev
The following NEW packages will be installed:
gnuplot libdb-dev libdb4.8-dev libreadline-dev libreadline6-dev
0 upgraded, 5 newly installed, 1 to remove and 0 not upgraded.
Remv libreadline5-dev [5.2-7build1]
Inst gnuplot (4.2.6-1 Ubuntu:10.04/lucid)
Inst libreadline6-dev (6.1-1 Ubuntu:10.04/lucid)
Inst libreadline-dev (6.1-1 Ubuntu:10.04/lucid)
Inst libdb4.8-dev (4.8.24-1ubuntu1 Ubuntu:10.04/lucid)
Inst libdb-dev (4.8 Ubuntu:10.04/lucid)
Conf gnuplot (4.2.6-1 Ubuntu:10.04/lucid)
Conf libreadline6-dev (6.1-1 Ubuntu:10.04/lucid)
Conf libreadline-dev (6.1-1 Ubuntu:10.04/lucid)
Conf libdb4.8-dev (4.8.24-1ubuntu1 Ubuntu:10.04/lucid)
Conf libdb-dev (4.8 Ubuntu:10.04/lucid)
</shell>
I'm not sure about libdb -- it's not a direct gretl dependency but
maybe is an indirect requirement? But anyway, the main point is that
apt-get was able to give me a dependency list even though no gretl
sources that apt knows about are installed on this computer.
Nonetheless I'm sure this is right: if the dependencies of current
CVS gretl were to differ from those of the latest gretl version
registered by Ubuntu/Debian, "apt-get build-dep gretl" would give
the latter, not the former, which might not be what the user needs.
But most of the time it shouldn't be far off.
Allin