On Thu, 7 Jan 2010, Yann Dirson wrote: > Package: gettext-doc > Version: 0.17-8 > Severity: important > > If one wants to run one of the gettext examples, one first has to copy > the relevant dir somewhere else, together with the "installpaths" > file. But then one gets the error reproduced below. > > Side note: a README.Debian to explain how to run the examples would be > welcome.
There is already a README, which says, in theory, what to do: 1. Build and install the GNU gettext package, as described in the INSTALL file. 2. cd to the example and do ./autogen.sh 3. Then you can build the example as usual: ./configure --prefix=/some/prefix make make install and see it work by executing /some/prefix/bin/hello Let's assume for a while that installing the Debian gettext package fulfills point 1. If I do this: cd /usr/share/doc/gettext-doc/examples mkdir /tmp/tmp cp -a * /tmp/tmp cd /tmp/tmp/hello-c ./autogen.sh then a "configure" script is created, provided you have automake and autoconf installed, but this is something the usual developer already knows. > The first problem is the lack of the examples/config/ directory. Could you please clarify in which sense that's a problem? [ There is not an examples/config/ directory in the source, and none is created by building the gettext package ]. > Also, the /usr/share/doc/gettext/examples/ path suggests to get a > symlink added to /usr/share/doc/gettext/, or to get installpaths (and > possibly other docs ?) in line with the gettex-doc/examples/ location. Ok, but if the user is supposed to copy this somewhere, then there is no point in fixing the path the way you suggest. > Then the subsequent errors may disappear as well, but it's hard to be > sure :) You forgot to tell which example you tried. I am sure that some of them will fail if you don't have appropriate build-dependencies, but I assume that whoever will try it will realize about this. The hello program in C seems to work. Please clarify what you did, and what do you expect. Currently, I don't even know if this is being reported as an upstream bug or a packaging bug. [ BTW: making gettext-doc to depend on other development packages is not an option, users should be free to install gettext-doc just to read it and study it, without being forced to install other packages ]. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org