[Cook] cook 2.22 test failure under Solaris 2.6
Larry Wagner
wagner at weru.ksu.edu
Thu Mar 20 19:01:37 EST 2003
I've solved my longstanding problem under Solaris 2.6 when trying
to build the documentation for cook. I discovered the answer in
my aegis mailing list archives (I'm assuming that building the
aegis documentation under Solaris 2.6 has the same problems).
Anyway, here is the answer as provided by
Jack Arnold <jack at ti.l-3com.com>:
---
It looks like I was able to get the majority of the
errors to go away by going into Makefile.in and replacing
all the references in groff options to "-man" and "-mm"
to be "-mgan" and "-mgm" which causes it to use the groff-
provided versions of these macros.
---
I just made the necessary edits to the configure built "Makefile"
and was then able to get the documentation to build just fine.
It might be a good idea to add this info to both the cook and
aegis build documentation.
Oh, I'm still open to suggestions regarding the test errors I
received under Solaris for version 2.22 of cook.
LEW
> Delivered-To: cook-users at auug.org.au
> From: Larry Wagner <wagner at weru.ksu.edu>
> To: cook-users at auug.org.au
> Subject: [Cook] cook 2.22 test failure under Solaris 2.6
> Date: Mon, 17 Mar 2003 15:19:24 -0600 (CST)
>
> I get an error under test 0176a after building cook 2.22 under
> Solaris 2.6 with the gcc version 2.95.2 using the following
> compiler options: -O2 -funroll-loops
>
> The error message generated is:
> FAILED test of the fingerprint functionality
> gmake: *** [t0172a] Error 1
>
> The test fails on line 105 of the test:
> test -s b/.cook.fp && fail
>
> If the test file is modified to ignore this line, it then
> fails on line 107 of the test:
> test `wc .cook.fp|awk '{print$1}'` -eq 4 || fail
>
> The actual value printed by awk is 2 not 4 on my machine.
>
> Putting in appropriate write statements shows the following
> file/directory permissions, which appear to be correct based
> upon the comments in the test file:
>
> dr-xr-xr-x 2 root root 146 Mar 17 13:46 a
> -rw-r--r-- 1 root root 102 Mar 17 13:46 a/.cook.fp
>
> drwxr-xr-x 2 root root 148 Mar 17 13:46 b
> -r--r--r-- 1 root root 104 Mar 17 13:46 b/.cook.fp
>
> drwxr-xr-x 5 root root 250 Mar 17 13:46 .
> -rw-r--r-- 1 root root 102 Mar 17 13:46 .cook.fp
>
> Any comments/suggestions on what the problem is?
>
>
> Also, I cannot get the documentation to build under Solaris 2.6.
> I've never succeeded in getting the docs to build correctly on any
> previous version either. Here is some typical output when trying to
> build the docs:
>
> 276:root at chepil:~/ftp/cook-2.22> gmake groff_all
> bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/building/main.man | groff -s \
> -t -p -man -mpic -mpspic > lib/en/building.ps
> /usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while
> defining macro `PS'
> lib/en/building/main.man:228: warning: can't find font `['
> bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/building/main.man | groff \
> -Tdvi -s -t -p -man -mpic > lib/en/building.dvi
> lib/en/building/main.man:228: warning: can't find font `['
> lib/en/building/main.man:482: warning: can't find font `CB'
> bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/building/main.man | groff \
> -Tascii -s -t -p -man -mpic > lib/en/building.txt
> bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/lsm/main.roff | groff -s -t -p \
> -mpic -mpspic > lib/en/lsm.ps
> bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/lsm/main.roff | groff -Tdvi -s \
> -t -p -mpic > lib/en/lsm.dvi
> bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/lsm/main.roff | groff -Tascii \
> -s -t -p -mpic > lib/en/lsm.txt
> bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/readme/main.man | groff -s -t \
> -p -man -mpic -mpspic > lib/en/readme.ps
> /usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while
> defining macro `PS'
> lib/en/readme/new.2.20.so:37: warning: can't find font `['
> bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/readme/main.man | groff -Tdvi \
> -s -t -p -man -mpic > lib/en/readme.dvi
> lib/en/readme/new.2.20.so:37: warning: can't find font `['
> bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/readme/main.man | groff \
> -Tascii -s -t -p -man -mpic > lib/en/readme.txt
> bin/roffpp -Ilib/en/refman -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/refman/main.man | groff -s -t \
> -p -man -mpic -mpspic > lib/en/refman.ps
> /usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while
> defining macro `PS'
> lib/en/refman/main.man:51: warning: numeric expression expected (got `e')
> lib/en/readme/new.2.20.so:37: warning: can't find font `['
> lib/en/refman/../man1/cook.1:27: environment stack underflow
> lib/en/refman/../man1/cook_bom.1:27: environment stack underflow
> lib/en/refman/../man1/cook_lic.1:6: environment stack underflow
> lib/en/refman/../man1/cook_rsh.1:26: environment stack underflow
> lib/en/refman/../man1/cookfp.1:26: environment stack underflow
> lib/en/refman/../man1/cooktime.1:27: environment stack underflow
> lib/en/refman/../man1/find_libs.1:27: environment stack underflow
> lib/en/refman/../man1/make2cook.1:27: environment stack underflow
> lib/en/refman/../man1/roffpp.1:27: environment stack underflow
> lib/en/refman/main.man:134: warning: numeric expression expected (got `p')
> lib/en/refman/main.man:135: bad number register format (got `-')
> lib/en/refman/main.man:136: error: end of file while defining macro `an'
> bin/roffpp -Ilib/en/refman -Ietc -Ilib/en/man1 \
> -Ilib/en/readme lib/en/refman/main.man | groff -Tdvi \
> -s -t -p -man -mpic > lib/en/refman.dvi
> lib/en/refman/main.man:51: warning: numeric expression expected (got `e')
> lib/en/readme/new.2.20.so:37: warning: can't find font `['
> [...]
>
>
>
>
> Larry Wagner, Agricultural Engineer | E-mail: wagner at weru.ksu.edu
> USDA-ARS Wind Erosion Research Unit | phone: (785) 537-5544
> 1515 College Ave. | fax: (785) 537-5507
> Manhattan, KS 66502 | URL: http://www.weru.ksu.edu
>
> _______________________________________________
> Cook-users mailing list
> Cook-users at auug.org.au
> http://www.auug.org.au/mailman/listinfo/cook-users
Larry Wagner, Agricultural Engineer | E-mail: wagner at weru.ksu.edu
USDA-ARS Wind Erosion Research Unit | phone: (785) 537-5544
1515 College Ave. | fax: (785) 537-5507
Manhattan, KS 66502 | URL: http://www.weru.ksu.edu
More information about the Cook-users
mailing list