groff
[Top][All Lists]
Advanced

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

[Groff] groff-1.16.1 installation problem


From: Bruno Haible
Subject: [Groff] groff-1.16.1 installation problem
Date: Mon, 28 Aug 2000 11:55:26 +0200 (CEST)

Hi,

It is not possible to install groff under a different user name than the
one who built it:

$ make
$ su bin
$ make install
...
make[2]: Wechsel in das Verzeichnis Verzeichnis 
»/packages/groff-1.16.1/build/contrib/mm«
test -d /packages/gnu/man || /packages/groff-1.16.1/mkinstalldirs 
/packages/gnu/man
test -d /packages/gnu/man/man1 || /packages/groff-1.16.1/mkinstalldirs 
/packages/gnu/man/man1
test -d /packages/gnu/man/man5 || /packages/groff-1.16.1/mkinstalldirs 
/packages/gnu/man/man5
test -d /packages/gnu/man/man7 || /packages/groff-1.16.1/mkinstalldirs 
/packages/gnu/man/man7
/packages/gnu/bin/install -c -m 644 groff_mm.n /packages/gnu/man/man7/groff_mm.7
/packages/gnu/bin/install -c -m 644 groff_mmse.n 
/packages/gnu/man/man7/groff_mmse.7
/packages/gnu/bin/install -c -m 644 mmroff.n /packages/gnu/man/man7/mmroff.7
rm -f mmroff
sed -e 's;/usr/bin/perl;/usr/local/bin/perl;' 
/packages/groff-1.16.1/contrib/mm/mmroff.pl >mmroff
/bin/sh: mmroff: Permission denied
make[2]: [mmroff] Fehler 1 (ignoriert)
chmod +x mmroff
chmod: mmroff: No such file or directory
make[2]: [mmroff] Fehler 1 (ignoriert)
test -d /packages/gnu/bin || /packages/groff-1.16.1/mkinstalldirs 
/packages/gnu/bin
rm -f /packages/gnu/bin/mmroff
/packages/gnu/bin/install -c mmroff /packages/gnu/bin/mmroff
/packages/gnu/bin/install: mmroff: No such file or directory
make[2]: *** [install_mmroff] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis 
»/packages/groff-1.16.1/build/contrib/mm«
make[1]: *** [contrib/mm] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/packages/groff-1.16.1/build«
make: *** [install] Fehler 2

This should work, according to the GNU standards:

     If possible, write the `install' target rule so that it does not
     modify anything in the directory where the program was built,
     provided `make all' has just been done.  This is convenient for
     building the program under one user name and installing it under
     another.

Here is a fix:


2000-08-28  Bruno Haible  <address@hidden>

        * contrib/mm/Makefile.sub: New target 'all', makes all prerequisites
        of 'install'.

*** groff-1.16.1/contrib/mm/Makefile.sub.bak    Tue Mar  7 23:17:58 2000
--- groff-1.16.1/contrib/mm/Makefile.sub        Mon Aug 28 00:24:42 2000
***************
*** 10,15 ****
--- 10,18 ----
  # Local configuration files with default values.
  LOCALE = locale se_locale
  CLEANADD=temp
+ 
+ all: mmroff
+ 
  install: install_mm
  
  install_mm: install_mmroff install_m

reply via email to

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