help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help on installing gnats


From: Hans-Albert Schneider
Subject: Re: help on installing gnats
Date: Tue, 24 Sep 2002 19:03:41 +0200

Wayne Dernoncourt wrote:
> 
> I'm still trying to get Gnats (Gnats 3.113.1) to install and
> run on a Solaris system.
[...]
> PWD=`pwd` eval `if [ -f ./../emacs19/Makefile ] ; then echo
>   "EMACSLOADPATH=\`cd ./../emacs19/lisp ; pwd\` ; export
>   EMACSLOADPATH ; ./../emacs19/src/emacs" ; else echo emacs ;
>   fi` -batch -q -l ./../send-pr/send-pr-el.in \
>         -l ./gnats.el -f batch-byte-compile gnats.el
> /bin/sh: emacs: not found
> 
> make[1]: [gnats.elc] Error 1 (ignored)

OK, so this is more or less expected.  gnats.el(c) has some
code for a GNATS mode for emacs.  If you haven't got emacs,
gnats.elc (the compiled version of gnats.el) cannot be built,
but on the other hand, you do not need it then.

[...]

> test -f gnats.elc &&
>   /bin/sh /development/qtdevel/workspace/wayned/gnats-3.113.1
>   /install-sh -c -m 644 gnats.elc /qtdevel/workspace/wayned
>   /gnats-3.111/share/emacs/lisp/gnats.elc
> 
> make[1]: *** [install-tools-arch-indep] Error 1

This is a flaw in the Makefile.  Of course, it should not fail
if gnats.elc is not present, which most probably is because emacs
was not found.

Look for the line
        test -f gnats.elc &&  ...
and change it to
        -test -f gnats.elc &&  ...

(i.e., add a "-" as the first not-TAB character).
This tells make that it is OK when this line returns a non-OK
status.

Then, start your make again.


Hans-Albert
-- 
Hans-Albert Schneider           <address@hidden>
Infineon Technologies AG        phone:  (+49) 89 234 45445
Corporate Logic; Verification   fax:    (+49) 89 234 42284
(CL DAT TDM VM)                 Munich, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]