Re: [O] why was makefile changed to produce this?

2011-10-19 Thread Nick Dokos
Rémi Vanicat  wrote:

> Olaf Meeuwissen  writes:
> 
> > Nick Dokos  writes:
> >
> 
> [...]
> 
> 
> >> $ dpkg -S makeinfo
> >> texinfo: /usr/bin/makeinfo
> >> octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m
> >> emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc
> >> texinfo: /usr/share/man/man1/makeinfo.1.gz
> >
> > This only works for installed packages, though, as it searches the files
> > below /var/lib/dpkg/info, IIRC.
> > BTW, dpkg forwards that request to dpkg-query.
> >
> 
> you might want to use apt-files
> 
> $ apt-file search makeinfo
>  ~
> emacs23-common: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.elc
> emacs23-el: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.el.gz
> 
> [...]
> 
> if updated regularly apt-file's database will contain every files in
> every package in debian.
> 

Nice - thanks! 

Nick



Re: [O] why was makefile changed to produce this?

2011-10-19 Thread Rémi Vanicat
Olaf Meeuwissen  writes:

> Nick Dokos  writes:
>

[...]


>> $ dpkg -S makeinfo
>> texinfo: /usr/bin/makeinfo
>> octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m
>> emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc
>> texinfo: /usr/share/man/man1/makeinfo.1.gz
>
> This only works for installed packages, though, as it searches the files
> below /var/lib/dpkg/info, IIRC.
> BTW, dpkg forwards that request to dpkg-query.
>

you might want to use apt-files

$ apt-file search makeinfo ~
emacs23-common: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.elc
emacs23-el: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.el.gz

[...]

if updated regularly apt-file's database will contain every files in
every package in debian.

-- 
Rémi Vanicat




Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Nick Dokos
Olaf Meeuwissen  wrote:

> > Here is a useful command that you can use on Debian and Ubuntu systems
> > in situations like this:
> >
> > $ dpkg -S makeinfo
> > texinfo: /usr/bin/makeinfo
> > octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m
> > emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc
> > texinfo: /usr/share/man/man1/makeinfo.1.gz
> 
> This only works for installed packages, though, as it searches the files
> below /var/lib/dpkg/info, IIRC.
> BTW, dpkg forwards that request to dpkg-query.
> 

Ah, you are right: it's only useful after the fact.

Nick

> > [...]
> >
> > $ goo
> > The program 'goo' is currently not installed.  To run 'goo' please ask your 
> > administrator to install the package 'goo'
> 
> In which case `apt-cache show goo` may be of help.
> 
> Hope this helps,
> -- 
> Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
> FSF Associate Member #1962   Help support software freedom
>  http://www.fsf.org/jf?referrer=1962
> 



Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Olaf Meeuwissen
Nick Dokos  writes:

> Jude DaShiell  wrote:
>
>> My bad, I was missing texinfo package and thought that had already been 
>> installed.  Once that got installed, everything works as well as it did 
>> earlier this year.  If I knew what path that error took, I'd write what 
>> might be a better error message for it asking for the texinfo package to 
>> be installed.
>
> Here is a useful command that you can use on Debian and Ubuntu systems
> in situations like this:
>
> $ dpkg -S makeinfo
> texinfo: /usr/bin/makeinfo
> octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m
> emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc
> texinfo: /usr/share/man/man1/makeinfo.1.gz

This only works for installed packages, though, as it searches the files
below /var/lib/dpkg/info, IIRC.
BTW, dpkg forwards that request to dpkg-query.

> [...]
>
> $ goo
> The program 'goo' is currently not installed.  To run 'goo' please ask your 
> administrator to install the package 'goo'

In which case `apt-cache show goo` may be of help.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Nick Dokos
Jude DaShiell  wrote:

> My bad, I was missing texinfo package and thought that had already been 
> installed.  Once that got installed, everything works as well as it did 
> earlier this year.  If I knew what path that error took, I'd write what 
> might be a better error message for it asking for the texinfo package to 
> be installed.
> 
> 

Here is a useful command that you can use on Debian and Ubuntu systems
in situations like this:

--8<---cut here---start->8---
$ dpkg -S makeinfo
texinfo: /usr/bin/makeinfo
octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m
emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc
texinfo: /usr/share/man/man1/makeinfo.1.gz
--8<---cut here---end--->8---

It tells you the packages containing files that match the argument
to the command.

Also, on modern Ubuntu, it is often the case that when you try to
execute a command by hand and it is not found, the system will suggest
the installation of a package:

--8<---cut here---start->8---
$ foo
No command 'foo' found, did you mean:
 Command 'fio' from package 'fio' (universe)
 Command 'goo' from package 'goo' (universe)
 Command 'fop' from package 'fop' (universe)
 Command 'fox' from package 'objcryst-fox' (universe)
 Command 'xoo' from package 'xoo' (universe)
 Command 'zoo' from package 'zoo' (universe)
foo: command not found

$ goo
The program 'goo' is currently not installed.  To run 'goo' please ask your 
administrator to install the package 'goo'
--8<---cut here---end--->8---

HTH,
Nick

PS I have no idea what the package/command ``goo'' does.



Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Olaf Meeuwissen
Jude DaShiell  writes:

> For the record, this is a new installation of debian wheezy and 
> the makeinfo utility doesn't appear to be in the distribution let alone 
> on my system.

  sudo apt-get install texinfo

I usually keep a (somewhat stale) copy of Contents-$arch.gz around and
find necessary packages with

  zegrep bin/makeinfo Contents-$arch.gz

There is (was?) a package that would make package suggestions if a
command isn't found but I can't recall its name.
# Somewhat annoying when you make a typo but ...

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Jude DaShiell
My bad, I was missing texinfo package and thought that had already been 
installed.  Once that got installed, everything works as well as it did 
earlier this year.  If I knew what path that error took, I'd write what 
might be a better error message for it asking for the texinfo package to 
be installed.



Jude  If I got a nickel for every message I've 
already sent supporting Microsoft Windows and its applications I'd have 
enough to retire on comfortably no matter what the stock market did.




Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Jude DaShiell
For the record, this is a new installation of debian wheezy and 
the makeinfo utility doesn't appear to be in the distribution let alone 
on my system.

Script started on Tue 18 Oct 2011 03:50:42 AM EDT
jude@stmarys:~$ ./findmakeinfo.sh
find: `/usr/lost+found': Permission denied
/usr/bin/mh:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
(cd doc && makeinfo --no-split org.texi -o org)
/bin/sh: 1: makeinfo: not found
make: *** [doc/org] Error 127
jude@stmarys:~$ exit
exit

Script done on Tue 18 Oct 2011 03:51:22 AM EDT

On Tue, 18 Oct 2011, Michael Brand wrote:

> Hi Jude
> 
> Have you checked if the binary makeinfo can be found somewhere and if
> it is reachable by your PATH? What is the output of these commands?
> find /usr /bin /sbin -name makeinfo
> echo $PATH
> cd ~/org-mode && make info
> 
> Michael
> 
> On Tue, Oct 18, 2011 at 07:02, Jude DaShiell  wrote:
> > Script started on Tue 18 Oct 2011 12:55:27 AM EDT
> > jude@stmarys:~/org-mode$ make   [K  [K  [K  [K  [Ksudo make install-info
> > (cd doc && makeinfo --no-split org.texi -o org)
> > /bin/sh: 1: makeinfo: not found
> > make: *** [doc/org] Error 127
> > jude@stmarys:~/org-mode$ exit
> > exit
> >
> > Script done on Tue 18 Oct 2011 12:56:00 AM EDT
> 
> 

Jude 
If I got a nickel for every message I've already sent supporting Microsoft
Windows and its applications I'd have enough to retire on comfortably no
matter what the stock market did.




Re: [O] why was makefile changed to produce this?

2011-10-18 Thread Michael Brand
Hi Jude

Have you checked if the binary makeinfo can be found somewhere and if
it is reachable by your PATH? What is the output of these commands?
find /usr /bin /sbin -name makeinfo
echo $PATH
cd ~/org-mode && make info

Michael

On Tue, Oct 18, 2011 at 07:02, Jude DaShiell  wrote:
> Script started on Tue 18 Oct 2011 12:55:27 AM EDT
> jude@stmarys:~/org-mode$ make   [K  [K  [K  [K  [Ksudo make install-info
> (cd doc && makeinfo --no-split org.texi -o org)
> /bin/sh: 1: makeinfo: not found
> make: *** [doc/org] Error 127
> jude@stmarys:~/org-mode$ exit
> exit
>
> Script done on Tue 18 Oct 2011 12:56:00 AM EDT



[O] why was makefile changed to produce this?

2011-10-17 Thread Jude DaShiell
Script started on Tue 18 Oct 2011 12:55:27 AM EDT
jude@stmarys:~/org-mode$ make sudo make install-info
(cd doc && makeinfo --no-split org.texi -o org)
/bin/sh: 1: makeinfo: not found
make: *** [doc/org] Error 127
jude@stmarys:~/org-mode$ exit
exit

Script done on Tue 18 Oct 2011 12:56:00 AM EDT

Jude 
If I got a nickel for every message I've already sent supporting Microsoft
Windows and its applications I'd have enough to retire on comfortably no
matter what the stock market did.