bug-indent
[Top][All Lists]
Advanced

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

[Bug-indent] indent-2.2.8 has problems with texinfo2man


From: Mike Castle
Subject: [Bug-indent] indent-2.2.8 has problems with texinfo2man
Date: Thu, 2 May 2002 18:32:55 -0700
User-agent: Mutt/1.3.28i

There are at least 3 individual problems with the texinfo2man stuff.
1) Requires `.' to be in PATH (security hazard)
2) Fails to properly handle indent.1 not being made
3) Fails to build outside of the source directory (a GNU Coding Standard
requirement)


example:

tar xzf /usr/mirror/gnu/indent/indent-2.2.8.tar.gz
mkdir indent-2.2.8-build
cd indent-2.2.8-build
../indent-2.2.8/configure
make

Results in:

gcc -DHAVE_CONFIG_H -I. -I../../indent-2.2.8/man -I..     -g -O2 -c `test -f 
../../indent-2.2.8/man/texinfo2man.c || echo 
'../../indent-2.2.8/man/'`../../indent-2.2.8/man/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


Now, a subsequent make succeeds because the Makefile failed to remove the
indent.1 from the above command.  


Then finally, removing the indent.1 and adding . to PATH, we see:

make[2]: Entering directory `/home/nexus/indent-2.2.8-build/man'
texinfo2man indent.1.in ../doc/indent.texinfo > indent.1
make[2]: *** [indent.1] Error 139


Obviously, it should be using something like texinfo2man $srcdir/indent.1.in 
../doc/indent.textinfo > indent.1

mrc
-- 
     Mike Castle      address@hidden      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc



reply via email to

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