complearn 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. data/AUTHORS +13 -0
  2. data/COPYING +340 -0
  3. data/ChangeLog +0 -0
  4. data/INSTALL +231 -0
  5. data/Makefile +352 -0
  6. data/Makefile.am +76 -0
  7. data/Makefile.in +352 -0
  8. data/NEWS +7 -0
  9. data/README +0 -0
  10. data/aclocal.m4 +104 -0
  11. data/bin/Makefile +209 -0
  12. data/bin/Makefile.am +8 -0
  13. data/bin/Makefile.in +209 -0
  14. data/bin/labeltree +68 -0
  15. data/bin/labeltree.in +68 -0
  16. data/bin/makesvm +70 -0
  17. data/bin/makesvm.in +70 -0
  18. data/bin/maketree +98 -0
  19. data/bin/maketree.in +98 -0
  20. data/bin/ncd +43 -0
  21. data/bin/ncd.in +43 -0
  22. data/bin/ncdmatrix +54 -0
  23. data/bin/ncdmatrix.in +54 -0
  24. data/bin/ncdvector +50 -0
  25. data/bin/ncdvector.in +50 -0
  26. data/complearn-0.6.2.gem +0 -0
  27. data/complearn.gemspec +57 -0
  28. data/config.log +597 -0
  29. data/config.status +1082 -0
  30. data/configure +4922 -0
  31. data/configure.ac +91 -0
  32. data/confstat5FpLBf/config.h +65 -0
  33. data/confstat5FpLBf/subs-1.sed +50 -0
  34. data/confstat5FpLBf/subs-2.sed +13 -0
  35. data/confstat5FpLBf/subs.frag +0 -0
  36. data/confstat5FpLBf/subs.sed +59 -0
  37. data/confstat5FpLBf/undefs.sed +24 -0
  38. data/doc/FAQ.txt +67 -0
  39. data/doc/Makefile +286 -0
  40. data/doc/Makefile.am +11 -0
  41. data/doc/Makefile.in +286 -0
  42. data/doc/devguide.txt +15 -0
  43. data/doc/example.complearnrc +14 -0
  44. data/doc/examples.txt +35 -0
  45. data/doc/man/Makefile +255 -0
  46. data/doc/man/Makefile.am +11 -0
  47. data/doc/man/Makefile.in +255 -0
  48. data/doc/man/complearn.5 +91 -0
  49. data/doc/man/labeltree.1 +35 -0
  50. data/doc/man/makesvm.1 +60 -0
  51. data/doc/man/maketree.1 +58 -0
  52. data/doc/man/ncd.1 +51 -0
  53. data/doc/man/ncdmatrix.1 +40 -0
  54. data/doc/man/ncdvector.1 +42 -0
  55. data/doc/readme.txt +101 -0
  56. data/doc/userguide.txt +46 -0
  57. data/examples/genes/blueWhale.txt +1 -0
  58. data/examples/genes/cat.txt +1 -0
  59. data/examples/genes/chimpanzee.txt +1 -0
  60. data/examples/genes/finWhale.txt +1 -0
  61. data/examples/genes/graySeal.txt +1 -0
  62. data/examples/genes/harborSeal.txt +1 -0
  63. data/examples/genes/horse.txt +1 -0
  64. data/examples/genes/human.txt +1 -0
  65. data/examples/genes/mouse.txt +1 -0
  66. data/examples/genes/rat.txt +1 -0
  67. data/ext/Makefile +167 -0
  68. data/ext/Quartet.c +399 -0
  69. data/ext/Quartet.h +62 -0
  70. data/ext/TreeScore.c +244 -0
  71. data/ext/TreeScore.h +3 -0
  72. data/ext/config.h +65 -0
  73. data/ext/config.h.in +64 -0
  74. data/ext/extconf.rb +3 -0
  75. data/ext/lib/CompLearnLib/CLConfig.rb +241 -0
  76. data/ext/lib/CompLearnLib/CompressionObject.rb +59 -0
  77. data/ext/lib/CompLearnLib/CompressionTask.rb +99 -0
  78. data/ext/lib/CompLearnLib/DistMatrix.rb +18 -0
  79. data/ext/lib/CompLearnLib/FoundComp.rb +10 -0
  80. data/ext/lib/CompLearnLib/FoundComp.rb.in +10 -0
  81. data/ext/lib/CompLearnLib/Ncd.rb +248 -0
  82. data/ext/lib/CompLearnLib/RunEnv.rb +150 -0
  83. data/ext/lib/CompLearnLib/Task.rb +39 -0
  84. data/ext/lib/CompLearnLib/TaskMaster.rb +13 -0
  85. data/ext/lib/CompLearnLib/TaskMasterMPI.rb +112 -0
  86. data/ext/lib/CompLearnLib/TaskMasterSingle.rb +39 -0
  87. data/ext/lib/CompLearnLib/Tree.rb +300 -0
  88. data/install-sh +294 -0
  89. data/missing +336 -0
  90. data/mkinstalldirs +111 -0
  91. data/o +24 -0
  92. data/scripts/CompLearn.iss +89 -0
  93. data/scripts/CompLearn.iss.in +89 -0
  94. data/scripts/debian/changelog +6 -0
  95. data/scripts/debian/control +14 -0
  96. data/scripts/makeSetup.sh +23 -0
  97. data/scripts/makeSetup.sh.in +23 -0
  98. data/scripts/makedeb.zsh +46 -0
  99. data/scripts/makedeb.zsh.in +46 -0
  100. data/tests/alltests.rb +2 -0
  101. data/tests/bz2test.rb +516 -0
  102. data/tests/sshagent-test.rb +48 -0
  103. data/tests/tests.rb +275 -0
  104. metadata +164 -0
data/bin/ncd ADDED
@@ -0,0 +1,43 @@
1
+ #!/usr/bin/ruby1.8
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+
7
+ setup = Hash.new('')
8
+
9
+ helptext = nil
10
+
11
+ ARGV.options { |opt|
12
+
13
+ opt.banner = "Usage: ncd [options] file1 file2"
14
+ opt.on("Options:\n")
15
+ opt.on("--configfile filename", "-f", String,
16
+ "Read alternate configuration file") { |setup['cfgfile']| }
17
+ opt.on("--writeconfig filename", "-w", String, "Write a default configuration file") { |fn|
18
+ CLConfig.writeDefaultConfigFile(fn); exit 0 }
19
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
20
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
21
+
22
+ helptext = opt.to_s
23
+
24
+ opt.parse!
25
+
26
+ }
27
+
28
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
29
+ cfg = CLConfig.getDefaultConfig
30
+
31
+ if ARGV.size != 2
32
+ STDERR.puts(helptext)
33
+ exit(1)
34
+ end
35
+
36
+ file1, file2 = ARGV
37
+
38
+ file1 = cfg.findInputFile(file1)
39
+ file2 = cfg.findInputFile(file2)
40
+
41
+ puts Ncd.new().ncdFile(file1, file2)
42
+
43
+ exit(0)
@@ -0,0 +1,43 @@
1
+ #!@RUBYBIN@
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+
7
+ setup = Hash.new('')
8
+
9
+ helptext = nil
10
+
11
+ ARGV.options { |opt|
12
+
13
+ opt.banner = "Usage: ncd [options] file1 file2"
14
+ opt.on("Options:\n")
15
+ opt.on("--configfile filename", "-f", String,
16
+ "Read alternate configuration file") { |setup['cfgfile']| }
17
+ opt.on("--writeconfig filename", "-w", String, "Write a default configuration file") { |fn|
18
+ CLConfig.writeDefaultConfigFile(fn); exit 0 }
19
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
20
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
21
+
22
+ helptext = opt.to_s
23
+
24
+ opt.parse!
25
+
26
+ }
27
+
28
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
29
+ cfg = CLConfig.getDefaultConfig
30
+
31
+ if ARGV.size != 2
32
+ STDERR.puts(helptext)
33
+ exit(1)
34
+ end
35
+
36
+ file1, file2 = ARGV
37
+
38
+ file1 = cfg.findInputFile(file1)
39
+ file2 = cfg.findInputFile(file2)
40
+
41
+ puts Ncd.new().ncdFile(file1, file2)
42
+
43
+ exit(0)
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/ruby1.8
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+ require 'CompLearnLib/CLConfig.rb'
7
+ require 'CompLearnLib/DistMatrix'
8
+ require 'CompLearnLib/TaskMaster'
9
+
10
+ setup = Hash.new('')
11
+
12
+ TaskMaster.init()
13
+
14
+ ARGV.options { |opt|
15
+
16
+ opt.banner = "Usage: ncdmatrix [options] {dirname|filelist.txt}"
17
+ opt.on("")
18
+ opt.on("Computes a square distance matrix for a set of files")
19
+ opt.on("If a directory is specified, all files in that directory are used")
20
+ opt.on("If a file is specified, it must contain filenames one per line")
21
+ opt.on("If relative filenames are used, inputDir and cwd will be searched\n")
22
+ opt.on("Options:\n")
23
+ opt.on("--configfile filename", "-f", String,
24
+ "Read alternate configuration file") { |setup['cfgfile']| }
25
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
26
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
27
+
28
+ opt.parse!
29
+
30
+ if ARGV.size < 1
31
+ puts opt
32
+ exit(1)
33
+ end
34
+ }
35
+
36
+ begin
37
+
38
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
39
+ cfg = CLConfig.getDefaultConfig
40
+
41
+ objname = ARGV[0]
42
+
43
+ files = cfg.getFilelistFromDirOrFile(objname)
44
+
45
+ distmatrix = Ncd.new().ncdMatrixFile(files)
46
+
47
+ puts DistMatrix.convertToString(distmatrix)
48
+
49
+ rescue
50
+ puts "Exception: #{$!}"
51
+ end
52
+
53
+ exit(0)
54
+
@@ -0,0 +1,54 @@
1
+ #!@RUBYBIN@
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+ require 'CompLearnLib/CLConfig.rb'
7
+ require 'CompLearnLib/DistMatrix'
8
+ require 'CompLearnLib/TaskMaster'
9
+
10
+ setup = Hash.new('')
11
+
12
+ TaskMaster.init()
13
+
14
+ ARGV.options { |opt|
15
+
16
+ opt.banner = "Usage: ncdmatrix [options] {dirname|filelist.txt}"
17
+ opt.on("")
18
+ opt.on("Computes a square distance matrix for a set of files")
19
+ opt.on("If a directory is specified, all files in that directory are used")
20
+ opt.on("If a file is specified, it must contain filenames one per line")
21
+ opt.on("If relative filenames are used, inputDir and cwd will be searched\n")
22
+ opt.on("Options:\n")
23
+ opt.on("--configfile filename", "-f", String,
24
+ "Read alternate configuration file") { |setup['cfgfile']| }
25
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
26
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
27
+
28
+ opt.parse!
29
+
30
+ if ARGV.size < 1
31
+ puts opt
32
+ exit(1)
33
+ end
34
+ }
35
+
36
+ begin
37
+
38
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
39
+ cfg = CLConfig.getDefaultConfig
40
+
41
+ objname = ARGV[0]
42
+
43
+ files = cfg.getFilelistFromDirOrFile(objname)
44
+
45
+ distmatrix = Ncd.new().ncdMatrixFile(files)
46
+
47
+ puts DistMatrix.convertToString(distmatrix)
48
+
49
+ rescue
50
+ puts "Exception: #{$!}"
51
+ end
52
+
53
+ exit(0)
54
+
@@ -0,0 +1,50 @@
1
+ #!/usr/bin/ruby1.8
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+
7
+ setup = Hash.new('')
8
+
9
+ TaskMaster.init()
10
+
11
+ ARGV.options { |opt|
12
+
13
+ opt.banner = "Usage: ncdvector [options] file { filelist.txt | dirname }"
14
+ opt.on("")
15
+ opt.on("Computes a feature vector from a file and a feature listing or directory")
16
+ opt.on("filelist.txt must be a list of filenames, one per line")
17
+ opt.on("If relative filenames are used, inputDir and cwd will be searched\n")
18
+ opt.on("Alternatively, a directory dirname may be specified and then all\n")
19
+ opt.on("files in that directory will be used.")
20
+ opt.on("Options:\n")
21
+ opt.on("--configfile filename", "-f", String,
22
+ "Read alternate configuration file") { |setup['cfgfile']| }
23
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
24
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
25
+
26
+ opt.parse!
27
+
28
+ if ARGV.size < 2
29
+ puts opt
30
+ exit(1)
31
+ end
32
+ }
33
+
34
+ begin
35
+
36
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
37
+ cfg = CLConfig.getDefaultConfig
38
+
39
+ file1, filelist = ARGV
40
+ file1 = cfg.findInputFile(file1)
41
+
42
+ abslist = cfg.getFilelistFromDirOrFile(filelist)
43
+
44
+ puts Ncd.new().ncdVectorFile(file1, abslist).join(' ')
45
+ rescue
46
+ puts "Exception: #{$!}"
47
+ end
48
+
49
+ exit(0)
50
+
@@ -0,0 +1,50 @@
1
+ #!@RUBYBIN@
2
+
3
+ require 'optparse'
4
+
5
+ require 'CompLearnLib/Ncd.rb'
6
+
7
+ setup = Hash.new('')
8
+
9
+ TaskMaster.init()
10
+
11
+ ARGV.options { |opt|
12
+
13
+ opt.banner = "Usage: ncdvector [options] file { filelist.txt | dirname }"
14
+ opt.on("")
15
+ opt.on("Computes a feature vector from a file and a feature listing or directory")
16
+ opt.on("filelist.txt must be a list of filenames, one per line")
17
+ opt.on("If relative filenames are used, inputDir and cwd will be searched\n")
18
+ opt.on("Alternatively, a directory dirname may be specified and then all\n")
19
+ opt.on("files in that directory will be used.")
20
+ opt.on("Options:\n")
21
+ opt.on("--configfile filename", "-f", String,
22
+ "Read alternate configuration file") { |setup['cfgfile']| }
23
+ opt.on("--help", "-h", "Print this help text and exit") { puts opt; exit 0 }
24
+ opt.on("--version", "-v", "Print version and exit") { CLConfig.printVersionAndExit() }
25
+
26
+ opt.parse!
27
+
28
+ if ARGV.size < 2
29
+ puts opt
30
+ exit(1)
31
+ end
32
+ }
33
+
34
+ begin
35
+
36
+ CLConfig.setDefaultConfig(CLConfig.new(setup['cfgfile'])) if setup.has_key?('cfgfile')
37
+ cfg = CLConfig.getDefaultConfig
38
+
39
+ file1, filelist = ARGV
40
+ file1 = cfg.findInputFile(file1)
41
+
42
+ abslist = cfg.getFilelistFromDirOrFile(filelist)
43
+
44
+ puts Ncd.new().ncdVectorFile(file1, abslist).join(' ')
45
+ rescue
46
+ puts "Exception: #{$!}"
47
+ end
48
+
49
+ exit(0)
50
+
Binary file
@@ -0,0 +1,57 @@
1
+ require 'rubygems'
2
+
3
+ spec = Gem::Specification.new do |s|
4
+
5
+ #### Basic information.
6
+
7
+ s.name = 'complearn'
8
+ s.version = "0.6.2"
9
+ s.summary = <<-EOF
10
+ The CompLearn Toolkit enables you to do data mining using data compression.
11
+ It also allows you to do Quartet Tree Reconstruction as well as
12
+ Support Vector Machine experiments with these techniques.
13
+ EOF
14
+ s.description = <<-EOF
15
+ Using this package, you can do powerful pattern recognition easily from your
16
+ shell command line using a simple suite of tools. Applications include
17
+ music cateogrization, text classification, handwritten digit recognition,
18
+ and evolutionary tree reconstruction. The technique is based on a
19
+ very general theoretical notion of Kolmogorov Complexity, and so is
20
+ undoubtedly applicable to many as yet unknown disciplines. See
21
+ the webpage for research papers explaining the math behind these techniques.
22
+ EOF
23
+
24
+ #### Dependencies and requirements.
25
+
26
+ s.requirements << "Data compressors such as bzip, gzip, or ppmz"
27
+
28
+ #### Which files are to be included in this gem? Everything! (Except CVS directories.)
29
+
30
+ s.files = Dir.glob("**/*").delete_if { |item| item.include?("CVS") }
31
+
32
+ #### C code extensions.
33
+
34
+ s.extensions << "ext/extconf.rb"
35
+
36
+ #### Load-time details: library and application (you will need one or both).
37
+
38
+ # s.require_path = 'lib' # Use these for libraries.
39
+ # s.autorequire = 'rmagic'
40
+
41
+ s.bindir = "bin" # Use these for applications.
42
+ s.executables = ["ncd", "ncdvector", "ncdmatrix", "maketree", "makesvm", "labeltree"]
43
+ s.default_executable = "ncd"
44
+
45
+ #### Documentation and testing.
46
+
47
+ s.has_rdoc = true
48
+ # s.test_suite_file = "test/rmagic-tests.rb"
49
+
50
+ #### Author and project details.
51
+
52
+ s.author = "Rudi Cilibrasi"
53
+ s.email = "cilibrar@ofb.net"
54
+ s.homepage = "http://complearn.sourceforge.net/"
55
+ s.rubyforge_project = "complearn"
56
+ end
57
+
@@ -0,0 +1,597 @@
1
+ This file contains any messages produced by compilers while
2
+ running configure, to aid debugging if configure makes a mistake.
3
+
4
+ It was created by configure, which was
5
+ generated by GNU Autoconf 2.59. Invocation command line was
6
+
7
+ $ ./configure
8
+
9
+ ## --------- ##
10
+ ## Platform. ##
11
+ ## --------- ##
12
+
13
+ hostname = wax.rhouse.local
14
+ uname -m = i686
15
+ uname -r = 2.6.0-test7-1-386
16
+ uname -s = Linux
17
+ uname -v = #1 Sun Oct 12 10:29:56 EST 2003
18
+
19
+ /usr/bin/uname -p = unknown
20
+ /bin/uname -X = unknown
21
+
22
+ /bin/arch = i686
23
+ /usr/bin/arch -k = unknown
24
+ /usr/convex/getsysinfo = unknown
25
+ hostinfo = unknown
26
+ /bin/machine = unknown
27
+ /usr/bin/oslevel = unknown
28
+ /bin/universe = unknown
29
+
30
+ PATH: /home/cilibrar/bin
31
+ PATH: /bin
32
+ PATH: /usr/bin
33
+ PATH: /usr/sbin
34
+ PATH: /sbin
35
+ PATH: /usr/local/bin
36
+ PATH: /usr/games
37
+ PATH: /usr/X11R6/bin
38
+
39
+
40
+ ## ----------- ##
41
+ ## Core tests. ##
42
+ ## ----------- ##
43
+
44
+ configure:1340: checking for a BSD-compatible install
45
+ configure:1395: result: /usr/bin/install -c
46
+ configure:1406: checking whether build environment is sane
47
+ configure:1449: result: yes
48
+ configure:1464: checking whether make sets $(MAKE)
49
+ configure:1484: result: yes
50
+ configure:1516: checking for working aclocal
51
+ configure:1523: result: found
52
+ configure:1531: checking for working autoconf
53
+ configure:1538: result: found
54
+ configure:1546: checking for working automake
55
+ configure:1553: result: found
56
+ configure:1561: checking for working autoheader
57
+ configure:1568: result: found
58
+ configure:1576: checking for working makeinfo
59
+ configure:1583: result: found
60
+ configure:1649: checking for ranlib
61
+ configure:1665: found /usr/bin/ranlib
62
+ configure:1676: result: ranlib
63
+ configure:1739: checking for gcc
64
+ configure:1755: found /usr/bin/gcc
65
+ configure:1765: result: gcc
66
+ configure:2009: checking for C compiler version
67
+ configure:2012: gcc --version </dev/null >&5
68
+ 2.95.4
69
+ configure:2015: $? = 0
70
+ configure:2017: gcc -v </dev/null >&5
71
+ Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
72
+ gcc version 2.95.4 20011002 (Debian prerelease)
73
+ configure:2020: $? = 0
74
+ configure:2022: gcc -V </dev/null >&5
75
+ gcc: argument to `-V' is missing
76
+ configure:2025: $? = 1
77
+ configure:2048: checking for C compiler default output file name
78
+ configure:2051: gcc conftest.c >&5
79
+ configure:2054: $? = 0
80
+ configure:2100: result: a.out
81
+ configure:2105: checking whether the C compiler works
82
+ configure:2111: ./a.out
83
+ configure:2114: $? = 0
84
+ configure:2131: result: yes
85
+ configure:2138: checking whether we are cross compiling
86
+ configure:2140: result: no
87
+ configure:2143: checking for suffix of executables
88
+ configure:2145: gcc -o conftest conftest.c >&5
89
+ configure:2148: $? = 0
90
+ configure:2173: result:
91
+ configure:2179: checking for suffix of object files
92
+ configure:2200: gcc -c conftest.c >&5
93
+ configure:2203: $? = 0
94
+ configure:2225: result: o
95
+ configure:2229: checking whether we are using the GNU C compiler
96
+ configure:2253: gcc -c conftest.c >&5
97
+ configure:2259: $? = 0
98
+ configure:2262: test -z || test ! -s conftest.err
99
+ configure:2265: $? = 0
100
+ configure:2268: test -s conftest.o
101
+ configure:2271: $? = 0
102
+ configure:2284: result: yes
103
+ configure:2290: checking whether gcc accepts -g
104
+ configure:2311: gcc -c -g conftest.c >&5
105
+ configure:2317: $? = 0
106
+ configure:2320: test -z || test ! -s conftest.err
107
+ configure:2323: $? = 0
108
+ configure:2326: test -s conftest.o
109
+ configure:2329: $? = 0
110
+ configure:2340: result: yes
111
+ configure:2357: checking for gcc option to accept ANSI C
112
+ configure:2427: gcc -c -g -O2 conftest.c >&5
113
+ configure:2433: $? = 0
114
+ configure:2436: test -z || test ! -s conftest.err
115
+ configure:2439: $? = 0
116
+ configure:2442: test -s conftest.o
117
+ configure:2445: $? = 0
118
+ configure:2463: result: none needed
119
+ configure:2481: gcc -c -g -O2 conftest.c >&5
120
+ conftest.c:2: parse error before `me'
121
+ configure:2487: $? = 1
122
+ configure: failed program was:
123
+ | #ifndef __cplusplus
124
+ | choke me
125
+ | #endif
126
+ configure:2624: checking for ruby1.8
127
+ configure:2642: found /usr/bin/ruby1.8
128
+ configure:2654: result: /usr/bin/ruby1.8
129
+ configure:2666: checking for Ruby bz2 (bzip2) library
130
+ configure:2677: checking for Ruby zlib (gzip) library
131
+ configure:2701: checking how to run the C preprocessor
132
+ configure:2736: gcc -E conftest.c
133
+ configure:2742: $? = 0
134
+ configure:2774: gcc -E conftest.c
135
+ conftest.c:11: ac_nonexistent.h: No such file or directory
136
+ configure:2780: $? = 1
137
+ configure: failed program was:
138
+ | /* confdefs.h. */
139
+ |
140
+ | #define PACKAGE_NAME ""
141
+ | #define PACKAGE_TARNAME ""
142
+ | #define PACKAGE_VERSION ""
143
+ | #define PACKAGE_STRING ""
144
+ | #define PACKAGE_BUGREPORT ""
145
+ | #define PACKAGE "complearn"
146
+ | #define VERSION "0.6.2"
147
+ | /* end confdefs.h. */
148
+ | #include <ac_nonexistent.h>
149
+ configure:2819: result: gcc -E
150
+ configure:2843: gcc -E conftest.c
151
+ configure:2849: $? = 0
152
+ configure:2881: gcc -E conftest.c
153
+ conftest.c:11: ac_nonexistent.h: No such file or directory
154
+ configure:2887: $? = 1
155
+ configure: failed program was:
156
+ | /* confdefs.h. */
157
+ |
158
+ | #define PACKAGE_NAME ""
159
+ | #define PACKAGE_TARNAME ""
160
+ | #define PACKAGE_VERSION ""
161
+ | #define PACKAGE_STRING ""
162
+ | #define PACKAGE_BUGREPORT ""
163
+ | #define PACKAGE "complearn"
164
+ | #define VERSION "0.6.2"
165
+ | /* end confdefs.h. */
166
+ | #include <ac_nonexistent.h>
167
+ configure:2931: checking for egrep
168
+ configure:2941: result: grep -E
169
+ configure:2946: checking for ANSI C header files
170
+ configure:2971: gcc -c -g -O2 conftest.c >&5
171
+ configure:2977: $? = 0
172
+ configure:2980: test -z || test ! -s conftest.err
173
+ configure:2983: $? = 0
174
+ configure:2986: test -s conftest.o
175
+ configure:2989: $? = 0
176
+ configure:3075: gcc -o conftest -g -O2 conftest.c >&5
177
+ configure:3078: $? = 0
178
+ configure:3080: ./conftest
179
+ configure:3083: $? = 0
180
+ configure:3098: result: yes
181
+ configure:3122: checking for sys/types.h
182
+ configure:3138: gcc -c -g -O2 conftest.c >&5
183
+ configure:3144: $? = 0
184
+ configure:3147: test -z || test ! -s conftest.err
185
+ configure:3150: $? = 0
186
+ configure:3153: test -s conftest.o
187
+ configure:3156: $? = 0
188
+ configure:3167: result: yes
189
+ configure:3122: checking for sys/stat.h
190
+ configure:3138: gcc -c -g -O2 conftest.c >&5
191
+ configure:3144: $? = 0
192
+ configure:3147: test -z || test ! -s conftest.err
193
+ configure:3150: $? = 0
194
+ configure:3153: test -s conftest.o
195
+ configure:3156: $? = 0
196
+ configure:3167: result: yes
197
+ configure:3122: checking for stdlib.h
198
+ configure:3138: gcc -c -g -O2 conftest.c >&5
199
+ configure:3144: $? = 0
200
+ configure:3147: test -z || test ! -s conftest.err
201
+ configure:3150: $? = 0
202
+ configure:3153: test -s conftest.o
203
+ configure:3156: $? = 0
204
+ configure:3167: result: yes
205
+ configure:3122: checking for string.h
206
+ configure:3138: gcc -c -g -O2 conftest.c >&5
207
+ configure:3144: $? = 0
208
+ configure:3147: test -z || test ! -s conftest.err
209
+ configure:3150: $? = 0
210
+ configure:3153: test -s conftest.o
211
+ configure:3156: $? = 0
212
+ configure:3167: result: yes
213
+ configure:3122: checking for memory.h
214
+ configure:3138: gcc -c -g -O2 conftest.c >&5
215
+ configure:3144: $? = 0
216
+ configure:3147: test -z || test ! -s conftest.err
217
+ configure:3150: $? = 0
218
+ configure:3153: test -s conftest.o
219
+ configure:3156: $? = 0
220
+ configure:3167: result: yes
221
+ configure:3122: checking for strings.h
222
+ configure:3138: gcc -c -g -O2 conftest.c >&5
223
+ configure:3144: $? = 0
224
+ configure:3147: test -z || test ! -s conftest.err
225
+ configure:3150: $? = 0
226
+ configure:3153: test -s conftest.o
227
+ configure:3156: $? = 0
228
+ configure:3167: result: yes
229
+ configure:3122: checking for inttypes.h
230
+ configure:3138: gcc -c -g -O2 conftest.c >&5
231
+ configure:3144: $? = 0
232
+ configure:3147: test -z || test ! -s conftest.err
233
+ configure:3150: $? = 0
234
+ configure:3153: test -s conftest.o
235
+ configure:3156: $? = 0
236
+ configure:3167: result: yes
237
+ configure:3122: checking for stdint.h
238
+ configure:3138: gcc -c -g -O2 conftest.c >&5
239
+ configure:3144: $? = 0
240
+ configure:3147: test -z || test ! -s conftest.err
241
+ configure:3150: $? = 0
242
+ configure:3153: test -s conftest.o
243
+ configure:3156: $? = 0
244
+ configure:3167: result: yes
245
+ configure:3122: checking for unistd.h
246
+ configure:3138: gcc -c -g -O2 conftest.c >&5
247
+ configure:3144: $? = 0
248
+ configure:3147: test -z || test ! -s conftest.err
249
+ configure:3150: $? = 0
250
+ configure:3153: test -s conftest.o
251
+ configure:3156: $? = 0
252
+ configure:3167: result: yes
253
+ configure:3186: checking for stdlib.h
254
+ configure:3191: result: yes
255
+ configure:3195: checking sys/time.h usability
256
+ configure:3207: gcc -c -g -O2 conftest.c >&5
257
+ configure:3213: $? = 0
258
+ configure:3216: test -z || test ! -s conftest.err
259
+ configure:3219: $? = 0
260
+ configure:3222: test -s conftest.o
261
+ configure:3225: $? = 0
262
+ configure:3235: result: yes
263
+ configure:3239: checking sys/time.h presence
264
+ configure:3249: gcc -E conftest.c
265
+ configure:3255: $? = 0
266
+ configure:3275: result: yes
267
+ configure:3310: checking for sys/time.h
268
+ configure:3317: result: yes
269
+ configure:3186: checking for unistd.h
270
+ configure:3191: result: yes
271
+ configure:3332: checking for stdbool.h that conforms to C99
272
+ configure:3385: gcc -c -g -O2 conftest.c >&5
273
+ conftest.c:27: #error bool is not defined
274
+ conftest.c:39: #error true is not 1
275
+ configure:3391: $? = 1
276
+ configure: failed program was:
277
+ | /* confdefs.h. */
278
+ |
279
+ | #define PACKAGE_NAME ""
280
+ | #define PACKAGE_TARNAME ""
281
+ | #define PACKAGE_VERSION ""
282
+ | #define PACKAGE_STRING ""
283
+ | #define PACKAGE_BUGREPORT ""
284
+ | #define PACKAGE "complearn"
285
+ | #define VERSION "0.6.2"
286
+ | #define STDC_HEADERS 1
287
+ | #define HAVE_SYS_TYPES_H 1
288
+ | #define HAVE_SYS_STAT_H 1
289
+ | #define HAVE_STDLIB_H 1
290
+ | #define HAVE_STRING_H 1
291
+ | #define HAVE_MEMORY_H 1
292
+ | #define HAVE_STRINGS_H 1
293
+ | #define HAVE_INTTYPES_H 1
294
+ | #define HAVE_STDINT_H 1
295
+ | #define HAVE_UNISTD_H 1
296
+ | #define HAVE_STDLIB_H 1
297
+ | #define HAVE_SYS_TIME_H 1
298
+ | #define HAVE_UNISTD_H 1
299
+ | /* end confdefs.h. */
300
+ |
301
+ | #include <stdbool.h>
302
+ | #ifndef bool
303
+ | # error bool is not defined
304
+ | #endif
305
+ | #ifndef false
306
+ | # error false is not defined
307
+ | #endif
308
+ | #if false
309
+ | # error false is not 0
310
+ | #endif
311
+ | #ifndef true
312
+ | # error true is not defined
313
+ | #endif
314
+ | #if true != 1
315
+ | # error true is not 1
316
+ | #endif
317
+ | #ifndef __bool_true_false_are_defined
318
+ | # error __bool_true_false_are_defined is not defined
319
+ | #endif
320
+ |
321
+ | struct s { _Bool s: 1; _Bool t; } s;
322
+ |
323
+ | char a[true == 1 ? 1 : -1];
324
+ | char b[false == 0 ? 1 : -1];
325
+ | char c[__bool_true_false_are_defined == 1 ? 1 : -1];
326
+ | char d[(bool) -0.5 == true ? 1 : -1];
327
+ | bool e = &s;
328
+ | char f[(_Bool) -0.0 == false ? 1 : -1];
329
+ | char g[true];
330
+ | char h[sizeof (_Bool)];
331
+ | char i[sizeof s.t];
332
+ |
333
+ | int
334
+ | main ()
335
+ | {
336
+ | return !a + !b + !c + !d + !e + !f + !g + !h + !i;
337
+ | ;
338
+ | return 0;
339
+ | }
340
+ configure:3414: result: no
341
+ configure:3416: checking for _Bool
342
+ configure:3440: gcc -c -g -O2 conftest.c >&5
343
+ conftest.c: In function `main':
344
+ conftest.c:61: `_Bool' undeclared (first use in this function)
345
+ conftest.c:61: (Each undeclared identifier is reported only once
346
+ conftest.c:61: for each function it appears in.)
347
+ conftest.c:61: parse error before `)'
348
+ configure:3446: $? = 1
349
+ configure: failed program was:
350
+ | /* confdefs.h. */
351
+ |
352
+ | #define PACKAGE_NAME ""
353
+ | #define PACKAGE_TARNAME ""
354
+ | #define PACKAGE_VERSION ""
355
+ | #define PACKAGE_STRING ""
356
+ | #define PACKAGE_BUGREPORT ""
357
+ | #define PACKAGE "complearn"
358
+ | #define VERSION "0.6.2"
359
+ | #define STDC_HEADERS 1
360
+ | #define HAVE_SYS_TYPES_H 1
361
+ | #define HAVE_SYS_STAT_H 1
362
+ | #define HAVE_STDLIB_H 1
363
+ | #define HAVE_STRING_H 1
364
+ | #define HAVE_MEMORY_H 1
365
+ | #define HAVE_STRINGS_H 1
366
+ | #define HAVE_INTTYPES_H 1
367
+ | #define HAVE_STDINT_H 1
368
+ | #define HAVE_UNISTD_H 1
369
+ | #define HAVE_STDLIB_H 1
370
+ | #define HAVE_SYS_TIME_H 1
371
+ | #define HAVE_UNISTD_H 1
372
+ | /* end confdefs.h. */
373
+ | #include <stdio.h>
374
+ | #if HAVE_SYS_TYPES_H
375
+ | # include <sys/types.h>
376
+ | #endif
377
+ | #if HAVE_SYS_STAT_H
378
+ | # include <sys/stat.h>
379
+ | #endif
380
+ | #if STDC_HEADERS
381
+ | # include <stdlib.h>
382
+ | # include <stddef.h>
383
+ | #else
384
+ | # if HAVE_STDLIB_H
385
+ | # include <stdlib.h>
386
+ | # endif
387
+ | #endif
388
+ | #if HAVE_STRING_H
389
+ | # if !STDC_HEADERS && HAVE_MEMORY_H
390
+ | # include <memory.h>
391
+ | # endif
392
+ | # include <string.h>
393
+ | #endif
394
+ | #if HAVE_STRINGS_H
395
+ | # include <strings.h>
396
+ | #endif
397
+ | #if HAVE_INTTYPES_H
398
+ | # include <inttypes.h>
399
+ | #else
400
+ | # if HAVE_STDINT_H
401
+ | # include <stdint.h>
402
+ | # endif
403
+ | #endif
404
+ | #if HAVE_UNISTD_H
405
+ | # include <unistd.h>
406
+ | #endif
407
+ | int
408
+ | main ()
409
+ | {
410
+ | if ((_Bool *) 0)
411
+ | return 0;
412
+ | if (sizeof (_Bool))
413
+ | return 0;
414
+ | ;
415
+ | return 0;
416
+ | }
417
+ configure:3469: result: no
418
+ configure:3488: checking for an ANSI C-conforming const
419
+ configure:3555: gcc -c -g -O2 conftest.c >&5
420
+ configure:3561: $? = 0
421
+ configure:3564: test -z || test ! -s conftest.err
422
+ configure:3567: $? = 0
423
+ configure:3570: test -s conftest.o
424
+ configure:3573: $? = 0
425
+ configure:3584: result: yes
426
+ configure:3729: creating ./config.status
427
+
428
+ ## ---------------------- ##
429
+ ## Running config.status. ##
430
+ ## ---------------------- ##
431
+
432
+ This file was extended by config.status, which was
433
+ generated by GNU Autoconf 2.59. Invocation command line was
434
+
435
+ CONFIG_FILES =
436
+ CONFIG_HEADERS =
437
+ CONFIG_LINKS =
438
+ CONFIG_COMMANDS =
439
+ $ ./config.status
440
+
441
+ on wax.rhouse.local
442
+
443
+ config.status:728: creating Makefile
444
+ config.status:728: creating doc/Makefile
445
+ config.status:728: creating doc/man/Makefile
446
+ config.status:728: creating bin/Makefile
447
+ config.status:728: creating ext/lib/CompLearnLib/FoundComp.rb
448
+ config.status:728: creating bin/ncd
449
+ config.status:728: creating bin/ncdvector
450
+ config.status:728: creating bin/ncdmatrix
451
+ config.status:728: creating bin/labeltree
452
+ config.status:728: creating bin/maketree
453
+ config.status:728: creating bin/makesvm
454
+ config.status:728: creating scripts/CompLearn.iss
455
+ config.status:728: creating scripts/makeSetup.sh
456
+ config.status:728: creating scripts/makedeb.zsh
457
+ config.status:805: creating ext/config.h
458
+ config.status:917: ext/config.h is unchanged
459
+ config.status:1075: executing ext/Makefile commands
460
+
461
+ ## ---------------- ##
462
+ ## Cache variables. ##
463
+ ## ---------------- ##
464
+
465
+ ac_cv_c_compiler_gnu=yes
466
+ ac_cv_c_const=yes
467
+ ac_cv_env_CC_set=
468
+ ac_cv_env_CC_value=
469
+ ac_cv_env_CFLAGS_set=
470
+ ac_cv_env_CFLAGS_value=
471
+ ac_cv_env_CPPFLAGS_set=
472
+ ac_cv_env_CPPFLAGS_value=
473
+ ac_cv_env_CPP_set=
474
+ ac_cv_env_CPP_value=
475
+ ac_cv_env_LDFLAGS_set=
476
+ ac_cv_env_LDFLAGS_value=
477
+ ac_cv_env_build_alias_set=
478
+ ac_cv_env_build_alias_value=
479
+ ac_cv_env_host_alias_set=
480
+ ac_cv_env_host_alias_value=
481
+ ac_cv_env_target_alias_set=
482
+ ac_cv_env_target_alias_value=
483
+ ac_cv_exeext=
484
+ ac_cv_header_inttypes_h=yes
485
+ ac_cv_header_memory_h=yes
486
+ ac_cv_header_stdbool_h=no
487
+ ac_cv_header_stdc=yes
488
+ ac_cv_header_stdint_h=yes
489
+ ac_cv_header_stdlib_h=yes
490
+ ac_cv_header_string_h=yes
491
+ ac_cv_header_strings_h=yes
492
+ ac_cv_header_sys_stat_h=yes
493
+ ac_cv_header_sys_time_h=yes
494
+ ac_cv_header_sys_types_h=yes
495
+ ac_cv_header_unistd_h=yes
496
+ ac_cv_objext=o
497
+ ac_cv_path_RUBYBIN=/usr/bin/ruby1.8
498
+ ac_cv_path_install='/usr/bin/install -c'
499
+ ac_cv_prog_CPP='gcc -E'
500
+ ac_cv_prog_ac_ct_CC=gcc
501
+ ac_cv_prog_ac_ct_RANLIB=ranlib
502
+ ac_cv_prog_cc_g=yes
503
+ ac_cv_prog_cc_stdc=
504
+ ac_cv_prog_egrep='grep -E'
505
+ ac_cv_prog_make_make_set=yes
506
+ ac_cv_type__Bool=no
507
+
508
+ ## ----------------- ##
509
+ ## Output variables. ##
510
+ ## ----------------- ##
511
+
512
+ ACLOCAL='aclocal'
513
+ AUTOCONF='autoconf'
514
+ AUTOHEADER='autoheader'
515
+ AUTOMAKE='automake'
516
+ CC='gcc'
517
+ CFLAGS='-g -O2'
518
+ CPP='gcc -E'
519
+ CPPFLAGS=''
520
+ DEFS='-DHAVE_CONFIG_H'
521
+ ECHO_C=''
522
+ ECHO_N='-n'
523
+ ECHO_T=''
524
+ EGREP='grep -E'
525
+ EXEEXT=''
526
+ FOUNDBZIP2='true'
527
+ FOUNDGZIP='true'
528
+ INSTALL_DATA='${INSTALL} -m 644'
529
+ INSTALL_PROGRAM='${INSTALL}'
530
+ INSTALL_SCRIPT='${INSTALL}'
531
+ LDFLAGS=''
532
+ LIBOBJS=''
533
+ LIBS=''
534
+ LTLIBOBJS=''
535
+ MAKEINFO='makeinfo'
536
+ OBJEXT='o'
537
+ PACKAGE='complearn'
538
+ PACKAGE_BUGREPORT=''
539
+ PACKAGE_NAME=''
540
+ PACKAGE_STRING=''
541
+ PACKAGE_TARNAME=''
542
+ PACKAGE_VERSION=''
543
+ PATH_SEPARATOR=':'
544
+ RANLIB='ranlib'
545
+ RUBYBIN='/usr/bin/ruby1.8'
546
+ SET_MAKE=''
547
+ SHELL='/bin/sh'
548
+ TOPDIR='/home/cilibrar/src/complearngem/complearn-0.6.2'
549
+ VERSION='0.6.2'
550
+ WINBUILDDIR='c:\build'
551
+ ac_ct_CC='gcc'
552
+ ac_ct_RANLIB='ranlib'
553
+ bindir='${exec_prefix}/bin'
554
+ build_alias=''
555
+ datadir='${prefix}/share'
556
+ exec_prefix='${prefix}'
557
+ host_alias=''
558
+ includedir='${prefix}/include'
559
+ infodir='${prefix}/info'
560
+ libdir='${exec_prefix}/lib'
561
+ libexecdir='${exec_prefix}/libexec'
562
+ localstatedir='${prefix}/var'
563
+ mandir='${prefix}/man'
564
+ oldincludedir='/usr/include'
565
+ prefix='/usr/local'
566
+ program_transform_name='s,x,x,'
567
+ sbindir='${exec_prefix}/sbin'
568
+ sharedstatedir='${prefix}/com'
569
+ sysconfdir='${prefix}/etc'
570
+ target_alias=''
571
+
572
+ ## ----------- ##
573
+ ## confdefs.h. ##
574
+ ## ----------- ##
575
+
576
+ #define HAVE_INTTYPES_H 1
577
+ #define HAVE_MEMORY_H 1
578
+ #define HAVE_STDINT_H 1
579
+ #define HAVE_STDLIB_H 1
580
+ #define HAVE_STDLIB_H 1
581
+ #define HAVE_STRINGS_H 1
582
+ #define HAVE_STRING_H 1
583
+ #define HAVE_SYS_STAT_H 1
584
+ #define HAVE_SYS_TIME_H 1
585
+ #define HAVE_SYS_TYPES_H 1
586
+ #define HAVE_UNISTD_H 1
587
+ #define HAVE_UNISTD_H 1
588
+ #define PACKAGE "complearn"
589
+ #define PACKAGE_BUGREPORT ""
590
+ #define PACKAGE_NAME ""
591
+ #define PACKAGE_STRING ""
592
+ #define PACKAGE_TARNAME ""
593
+ #define PACKAGE_VERSION ""
594
+ #define STDC_HEADERS 1
595
+ #define VERSION "0.6.2"
596
+
597
+ configure: exit 0