========================================================================
========================================================================
==== NOWEB =============================================================
========================================================================
========================================================================

It took me 5 tries to install noweb properly from sources.

I managed to tar -zxf the noweb tgz file and it does not create a directory
so I ended up with a lot of random files at the top level.

I didn't have gawk installed

I managed to mis-edit the makefile and added crud to my system directories

The make all install failed to terminate, looping infintely deeper.

The 5th try worked.

========================================================================
========================================================================




[EMAIL PROTECTED] zips]# mkdir noweb
[EMAIL PROTECTED] zips]# cd noweb
[EMAIL PROTECTED] noweb]# tar -zxf ../noweb-2.10a.tgz 
[EMAIL PROTECTED] noweb]# cd src
[EMAIL PROTECTED] src]# ./awkname gawk
[EMAIL PROTECTED] src]# make all
cd c; make "CC=gcc -ansi -pedantic" "CFLAGS=" all 
make[1]: Entering directory `/tmp/bi/zips/noweb/src/c'
gcc -ansi -pedantic    -c -o notangle.o notangle.c
gcc -ansi -pedantic    -c -o getline.o getline.c
gcc -ansi -pedantic    -c -o match.o match.c
gcc -ansi -pedantic    -c -o modules.o modules.c
gcc -ansi -pedantic    -c -o modtrees.o modtrees.c
gcc -ansi -pedantic    -c -o strsave.o strsave.c
gcc -ansi -pedantic    -c -o main.o main.c
gcc -ansi -pedantic    -c -o errors.o errors.c
gcc -ansi -pedantic    -c -o columns.o columns.c
gcc -ansi -pedantic  -o nt notangle.o getline.o match.o modules.o modtrees.o 
strsave.o main.o errors.o columns.o
gcc -ansi -pedantic    -c -o markmain.o markmain.c
gcc -ansi -pedantic    -c -o markup.o markup.c
gcc -ansi -pedantic  -o markup markmain.o strsave.o markup.o errors.o getline.o 
columns.o
gcc -ansi -pedantic    -c -o mnt.o mnt.c
gcc -ansi -pedantic  -o mnt mnt.o getline.o match.o modules.o modtrees.o 
notangle.o strsave.o errors.o columns.o
mnt.o: In function `emitfile':mnt.c:(.text+0x3c0): warning: the use of `tmpnam' 
is dangerous, better use `mkstemp'
gcc -ansi -pedantic    -c -o finduses.o finduses.c
gcc -ansi -pedantic    -c -o recognize.o recognize.c
gcc -ansi -pedantic  -o finduses columns.o errors.o finduses.o match.o 
getline.o recognize.o
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/c'
for i in shell lib xdoc tex; do (cd $i; make all); done
make[1]: Entering directory `/tmp/bi/zips/noweb/src/shell'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/shell'
make[1]: Entering directory `/tmp/bi/zips/noweb/src/lib'
chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/lib'
make[1]: Entering directory `/tmp/bi/zips/noweb/src/xdoc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/xdoc'
make[1]: Entering directory `/tmp/bi/zips/noweb/src/tex'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/tex'
cd awk; make "ICONT=icont" "ICONC=iconc" all
make[1]: Entering directory `/tmp/bi/zips/noweb/src/awk'
chmod +x noindex  totex noidx tohtml
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/awk'
[EMAIL PROTECTED] src]# make install
mkdir /usr/local/bin /usr/local/bin/lib 2>/dev/null
make: [install-shell] Error 1 (ignored)
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/noweb > /usr/local/bin/noweb
chmod +x /usr/local/bin/noweb
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/notangle > /usr/local/bin/notangle
chmod +x /usr/local/bin/notangle
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/noweave               > 
/usr/local/bin/noweave               
chmod +x /usr/local/bin/noweave         
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/nountangle > 
/usr/local/bin/nountangle
chmod +x /usr/local/bin/nountangle
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/nodefs > /usr/local/bin/nodefs
chmod +x /usr/local/bin/nodefs
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/noroots > /usr/local/bin/noroots
chmod +x /usr/local/bin/noroots
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/nuweb2noweb > 
/usr/local/bin/nuweb2noweb
chmod +x /usr/local/bin/nuweb2noweb
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/cpif > /usr/local/bin/cpif
chmod +x /usr/local/bin/cpif
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/htmltoc > /usr/local/bin/htmltoc
chmod +x /usr/local/bin/htmltoc
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/noroff > /usr/local/bin/noroff
chmod +x /usr/local/bin/noroff
sed "s@|LIBDIR|@/usr/local/bin/lib@" shell/toroff > /usr/local/bin/lib/toroff
chmod +x /usr/local/bin/lib/toroff
cp shell/tmac.w /usr/local/bin/lib
mkdir /usr/local/bin /usr/local/bin/lib 2>/dev/null
make: [install-code] Error 1 (ignored)
strip c/nt c/markup c/mnt c/finduses
cp c/nt c/markup c/mnt c/finduses /usr/local/bin/lib
cd awk; make ICONT=icont ICONC=iconc LIB=/usr/local/bin/lib BIN=/usr/local/bin 
install
make[1]: Entering directory `/tmp/bi/zips/noweb/src/awk'
chmod +x noindex  totex noidx tohtml
cp totex noidx tohtml /usr/local/bin/lib
cp noindex  /usr/local/bin
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/awk'
cd lib; make LIB=/usr/local/bin/lib install
make[1]: Entering directory `/tmp/bi/zips/noweb/src/lib'
chmod +x unmarkup emptydefn toascii nwmtime pipedocs h2a btdefn
cp unmarkup emptydefn toascii nwmtime h2a btdefn /usr/local/bin/lib
sed 's@|LIBDIR|@/usr/local/bin/[EMAIL PROTECTED]' pipedocs > 
/usr/local/bin/lib/pipedocs
chmod +x /usr/local/bin/lib/pipedocs
make[1]: Leaving directory `/tmp/bi/zips/noweb/src/lib'
mkdir /usr/local/bin/man /usr/local/bin/man/man1 /usr/local/bin/man/man7 
2>/dev/null
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/cpif.1 > 
/usr/local/bin/man/man1/cpif.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/nodefs.1 > 
/usr/local/bin/man/man1/nodefs.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/noroots.1 > 
/usr/local/bin/man/man1/noroots.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/noweb.1 > 
/usr/local/bin/man/man1/noweb.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/noindex.1 > 
/usr/local/bin/man/man1/noindex.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/nuweb2noweb.1 > 
/usr/local/bin/man/man1/nuweb2noweb.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/notangle.1 > 
/usr/local/bin/man/man1/notangle.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/noroff.1 > 
/usr/local/bin/man/man1/noroff.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/sl2h.1 > 
/usr/local/bin/man/man1/sl2h.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/htmltoc.1 > 
/usr/local/bin/man/man1/htmltoc.1
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/nowebstyle.7 > 
/usr/local/bin/man/man7/nowebstyle.7
sed -e "s@|LIBDIR|@/usr/local/bin/lib@" -e 
"s@|TEXINPUTS|@/usr/local/tex/inputs@" xdoc/nowebfilters.7 > 
/usr/local/bin/man/man7/nowebfilters.7
rm -f /usr/local/bin/man/man1/noweave.1
(cd /usr/local/bin/man/man1; ln notangle.1 noweave.1)
rm -f /usr/local/bin/man/man1/nountangle.1
(cd /usr/local/bin/man/man1; ln notangle.1 nountangle.1)
mkdir /usr/local/tex/inputs 2>/dev/null
make: [install-tex] Error 1 (ignored)
cp tex/nwmac.tex tex/noweb.sty /usr/local/tex/inputs
texhash || echo "Program texhash not found or failed"
texhash: Updating /usr/share/texmf/ls-R... 
texhash: Updating /usr/share/texmf-config/ls-R... 
texhash: Updating /usr/share/texmf-var/ls-R... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Done.
mkdir /dev/null 2>/dev/null
make: [install-elisp] Error 1 (ignored)
cp elisp/noweb-mode.el /dev/null
[EMAIL PROTECTED] src]# which notangle
/usr/local/bin/notangle




_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to