bug-indent
[Top][All Lists]
Advanced

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

[Bug-indent] indent-2.2.8 requires . in $PATH


From: Per Cederqvist
Subject: [Bug-indent] indent-2.2.8 requires . in $PATH
Date: 20 May 2002 00:54:47 +0200

Building indent-2.2.8 with a $PATH that doesn't contain "." results in
an error message:

$ ./configure --prefix=/usr
[...119 lines removed...]
$ make
[...59 lines removed...]
Making all in man
make[2]: Entering directory `/pkg/build/indent-2.2.8/indent-2.2.8/man'
source='texinfo2man.c' object='texinfo2man.o' libtool=no \
depfile='.deps/texinfo2man.Po' tmpdepfile='.deps/texinfo2man.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c `test -f texinfo2man.c || echo 
'./'`texinfo2man.c
gcc  -g -O2   -o texinfo2man  texinfo2man.o  
texinfo2man indent.1.in ../doc/indent.texinfo > indent.1
/bin/sh: texinfo2man: command not found
make[2]: *** [indent.1] Error 127
make[2]: Leaving directory `/pkg/build/indent-2.2.8/indent-2.2.8/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/pkg/build/indent-2.2.8/indent-2.2.8'
make: *** [all] Error 2

This is on a home-brewn Linux system.

Here is a patch that fixes the problem for me:

% diff -u man/Makefile.am~ man/Makefile.am
--- man/Makefile.am~    2002-03-21 21:38:39.000000000 +0100
+++ man/Makefile.am     2002-05-20 00:33:16.000000000 +0200
@@ -11,5 +11,5 @@
 MAINTAINERCLEANFILES = @address@hidden Makefile.in texinfo2man 
 
 @address@hidden: @address@hidden ../doc/@address@hidden texinfo2man  Makefile
-       texinfo2man @address@hidden ../doc/@address@hidden > $@
+       ./texinfo2man @address@hidden ../doc/@address@hidden > $@
 


Yours,
        /ceder



reply via email to

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