
wdj@wooster:~/computer_algebra/gap-dev/4.0> cd pkg/guava2.5
[4]+  Done                    gftp  (wd: ~/computer_algebra/gap-dev/4.0)
(wd now: ~/computer_algebra/gap-dev/4.0/pkg/guava2.5)
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5> ls
bin            configure      doc               guava_gapdoc.gap~  guava.tst  init.g  Makefile     PackageInfo.g  README.guava  tbl
CHANGES.guava  COPYING.guava  guava_gapdoc.gap  guavapage          htm        lib     Makefile.in  read.g         src
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5> cd bin
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5/bin> ls
x86_64-unknown-linux-gnu-gcc
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5/bin> cd x86_64-unknown-linux-gnu-gcc/
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ls
addsgen.o   cmatauto.o   compsg.o    cstrbas.o  essentia.o         huffman-code2.gap  leonconv    oldcopy.o  partn.o    ptstbref.o  readgrp.o  token.o
bitmanp.o   codeauto.sh  copy.o      desauto    factor.o           huffman-code3.gap  leonconv.o  optsvec.o  permgrp.o  randgrp.o   readper.o  util.o
cdesauto.o  code.o       cparstab.o  desauto.o  field.o            huffman-code4.gap  matrix.o    orbit.o    permut.o   randschr.o  rprique.o  wtdist
chbase.o    compcrep.o   cstborb.o   errmesg.o  huffman-code1.gap  inform.o           new.o       orbrefn.o  primes.o   readdes.o   storage.o  wtdist.o
wdj@wooster:~/computer_algebra/gap-dev/4.0/pkg/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> cd /home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./desauto -code huffman-code4.gap huffman-matrix4 huffman-autgp4


 Error: File huffman-matrix4 could not be opened for input.
 Program was executing function read01Matrix (line 220 in file ../../src/leon/src/readdes.c).wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./wtdist huffman-code4.gap 6 huffman-matrix4


          Weight Distribution of code

                 Weight      Frequency
                 ------      ---------
                    0                1
                    6                6
                    8              283
                   10             2061
                   12             8326
                   14            21140
                   16            33719
                   18            33719
                   20            21140
                   22             8326
                   24             2061
                   26              283
                   28                6
                   34                1
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./desauto -code huffman-code4.gap huffman-matrix4 huffman-autgp4


 Error: Library block huffman-matrix4 not found in specified library.
 Program was executing function read01Matrix (line 234 in file ../../src/leon/src/readdes.c).wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc>
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> cd ../..
wdj@wooster:~/gapfiles/codes/guava2.5> ls
bin            configure      doc               guavapage  htm     lib       Makefile.in    read.g        src
CHANGES.guava  COPYING.guava  guava_gapdoc.gap  guava.tst  init.g  Makefile  PackageInfo.g  README.guava  tbl
wdj@wooster:~/gapfiles/codes/guava2.5> ./configure /home/wdj/computer_algebra/gap-dev/4.0
wdj@wooster:~/gapfiles/codes/guava2.5> make
( test -d bin || mkdir bin; \
test -d bin/x86_64-unknown-linux-gnu-gcc || mkdir bin/x86_64-unknown-linux-gnu-gcc; cd bin/x86_64-unknown-linux-gnu-gcc; \
make -f ../../Makefile all2 CC="gcc" CFLAGS="-O2" )
make[1]: Entering directory `/home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc'
gcc -c -O2 -I ../../src/leon/src -DINT_SIZE=32 ../../src/leon/src/readdes.c
../../src/leon/src/readdes.c: In function ‘Red01M’:
../../src/leon/src/readdes.c:308: warning: comparison is always false due to limited range of data type
../../src/leon/src/readdes.c:318: warning: comparison is always false due to limited range of data type
gcc -O2 -o desauto \
  desauto.o addsgen.o bitmanp.o cdesauto.o chbase.o cmatauto.o \
  code.o compcrep.o compsg.o copy.o cparstab.o cstborb.o cstrbas.o \
  errmesg.o essentia.o factor.o field.o inform.o matrix.o new.o \
  oldcopy.o optsvec.o orbit.o orbrefn.o partn.o permgrp.o permut.o \
  primes.o ptstbref.o randgrp.o randschr.o readdes.o readgrp.o \
  readper.o rprique.o storage.o token.o util.o
gcc -O2 -o wtdist \
  wtdist.o bitmanp.o code.o copy.o errmesg.o essentia.o factor.o \
  field.o new.o partn.o permgrp.o permut.o primes.o readdes.o \
  storage.o token.o util.o
make[1]: Leaving directory `/home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc'
wdj@wooster:~/gapfiles/codes/guava2.5> cd /home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./desauto -code huffman-code4.gap huffman-matrix4 huffman-autgp4


 Error: Invalid syntax in matrix library.
 Program was executing function xRead01Matrix (line 364 in file ../../src/leon/src/readdes.c).wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc>
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> cd ../..
wdj@wooster:~/gapfiles/codes/guava2.5> ./configure /home/wdj/computer_algebra/gap-dev/4.0
wdj@wooster:~/gapfiles/codes/guava2.5> make
( test -d bin || mkdir bin; \
test -d bin/x86_64-unknown-linux-gnu-gcc || mkdir bin/x86_64-unknown-linux-gnu-gcc; cd bin/x86_64-unknown-linux-gnu-gcc; \
make -f ../../Makefile all2 CC="gcc" CFLAGS="-O2" )
make[1]: Entering directory `/home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc'
gcc -c -O2 -I ../../src/leon/src -DINT_SIZE=32 ../../src/leon/src/readdes.c
../../src/leon/src/readdes.c: In function ‘Red01M’:
../../src/leon/src/readdes.c:308: warning: comparison is always false due to limited range of data type
../../src/leon/src/readdes.c:318: warning: comparison is always false due to limited range of data type
gcc -O2 -o desauto \
  desauto.o addsgen.o bitmanp.o cdesauto.o chbase.o cmatauto.o \
  code.o compcrep.o compsg.o copy.o cparstab.o cstborb.o cstrbas.o \
  errmesg.o essentia.o factor.o field.o inform.o matrix.o new.o \
  oldcopy.o optsvec.o orbit.o orbrefn.o partn.o permgrp.o permut.o \
  primes.o ptstbref.o randgrp.o randschr.o readdes.o readgrp.o \
  readper.o rprique.o storage.o token.o util.o
gcc -O2 -o wtdist \
  wtdist.o bitmanp.o code.o copy.o errmesg.o essentia.o factor.o \
  field.o new.o partn.o permgrp.o permut.o primes.o readdes.o \
  storage.o token.o util.o
make[1]: Leaving directory `/home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc'
wdj@wooster:~/gapfiles/codes/guava2.5> cd /home/wdj/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./desauto -code huffman-code4.gap huffman-matrix4 huffman-autgp4

////////////////
//seems to have a problem reading in one or both files
////////////////
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./desauto -code huffman-code4.gap huffman-matrix4c huffman-autgp4


 Error: Invalid syntax in matrix library.
 Program was executing function xRead01Matrix (line 362 in file ../../src/leon/src/readdes.c).wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc>
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc>       


///////////////// another error on line 362 !
/////// just changed 2 bits in 1st row of huffman-code1.gap to get the huffman-codes-test.gap
///////////////
wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc> ./wtdist huffman-code-test.gap


 Error: Invalid syntax in matrix library.
 Program was executing function xRead01Matrix (line 362 in file ../../src/leon/src/readdes.c).wdj@wooster:~/gapfiles/codes/guava2.5/bin/x86_64-unknown-linux-gnu-gcc>
