I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University
Hi Richard, Can you try changing line 5 of ext/nix_io.c to #include <sys/dirent.h> I think that may be the equivalent on solaris. Please report back if it works. Cheers, Dave On 5/11/06, Richard Marisa <rjm2 at cornell.edu> wrote:> I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which > does not have a sys/dir.h > > nix_io.c:5:21: sys/dir.h: No such file or directory > make: *** [nix_io.o] Error 1 > > I couldn''t find an obvious way around this... any suggestions? > > Thanks, > Rich Marisa > Cornell Information Technologies > Cornell University > > > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
On second thoughts, just delete that line. Hopefully that''ll fix it. On 5/11/06, David Balmain <dbalmain.ml at gmail.com> wrote:> Hi Richard, > > Can you try changing line 5 of ext/nix_io.c to > > #include <sys/dirent.h> > > I think that may be the equivalent on solaris. Please report back if it works. > > Cheers, > Dave > > On 5/11/06, Richard Marisa <rjm2 at cornell.edu> wrote: > > I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which > > does not have a sys/dir.h > > > > nix_io.c:5:21: sys/dir.h: No such file or directory > > make: *** [nix_io.o] Error 1 > > > > I couldn''t find an obvious way around this... any suggestions? > > > > Thanks, > > Rich Marisa > > Cornell Information Technologies > > Cornell University > > > > > > _______________________________________________ > > Ferret-talk mailing list > > Ferret-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ferret-talk > > >
Dave, Deleting sys/dir.h allows the code to compile but results in an unhandled exception: 254: sudo ruby setup.rb test Running tests... Loaded suite test Started ........F...../test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in `refresh'': : Error occured at <nix_io.c>:122 (Exception) Error: exception 2 not handled: No such file or directory from ./test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in `teardown'' from /usr/local/lib/ruby/1.8/test/unit/testcase.rb:77:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' from /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:44:in `run_suite'' from /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:65:in `start_mediator'' from /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:39:in `start'' from /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:27:in `run'' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:200:in `run'' from setup.rb:1426:in `exec_test'' from setup.rb:1006:in `exec_test'' from setup.rb:829:in `invoke'' from setup.rb:776:in `invoke'' from setup.rb:1548 There are a bunch of compiler warnings in the Solaris build as well... here is a sample: In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, from lang.h:4, from global.h:20, from index.h:5, from search.h:8, from src/query_parser/q_parser.y:3: /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /usr/include/iso/string_iso.h:31, from /usr/include/string.h:18, from src/query_parser/q_parser.y:2: /usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -c q_const_score.c In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, from lang.h:4, from global.h:20, from index.h:5, from search.h:8, from q_const_score.c:1: /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /opt/common/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/syslimits.h:27, from /opt/common/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/limits.h:11, from index.h:4, from search.h:8, from q_const_score.c:1: /usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -c q_boolean.c In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, from lang.h:4, from global.h:20, from index.h:5, from search.h:8, from q_boolean.c:2: /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined I found there is a "compatability library" of include files in /usr/ucbinclude which has include files, including dir.h, but I haven''t been able to find a way to integrate it into the build without causing lots of other incompatabilities to pop up in the compilation... Thanks, -- Rich David Balmain wrote:>On second thoughts, just delete that line. Hopefully that''ll fix it. > > >On 5/11/06, David Balmain <dbalmain.ml at gmail.com> wrote: > > >>Hi Richard, >> >>Can you try changing line 5 of ext/nix_io.c to >> >>#include <sys/dirent.h> >> >>I think that may be the equivalent on solaris. Please report back if it works. >> >>Cheers, >>Dave >> >>On 5/11/06, Richard Marisa <rjm2 at cornell.edu> wrote: >> >> >>>I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which >>>does not have a sys/dir.h >>> >>>nix_io.c:5:21: sys/dir.h: No such file or directory >>>make: *** [nix_io.o] Error 1 >>> >>>I couldn''t find an obvious way around this... any suggestions? >>> >>>Thanks, >>> Rich Marisa >>> Cornell Information Technologies >>> Cornell University >>> >>> >>>_______________________________________________ >>>Ferret-talk mailing list >>>Ferret-talk at rubyforge.org >>>http://rubyforge.org/mailman/listinfo/ferret-talk >>> >>> >>> > >_______________________________________________ >Ferret-talk mailing list >Ferret-talk at rubyforge.org >http://rubyforge.org/mailman/listinfo/ferret-talk > >
Hi Rich, Can you try running rake instead of setup.rb to run tests. The problem is that the incorrect tests are being run. Sorry, my fault. I need to fix setup.rb. > sudo rake # assuming you need sudo for ferret to create the directories. Apart from that you should be able to ignore the warnings. I''ll make sure both of these problems are fixed in the next release. Cheers, Dave On 5/12/06, Rich Marisa <rjm2 at cornell.edu> wrote:> Dave, > > Deleting sys/dir.h allows the code to compile but results in an > unhandled exception: > > 254: sudo ruby setup.rb test > Running tests... > Loaded suite test > Started > ........F...../test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in > `refresh'': : Error occured at <nix_io.c>:122 (Exception) > Error: exception 2 not handled: No such file or directory > from > ./test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in > `teardown'' > from /usr/local/lib/ruby/1.8/test/unit/testcase.rb:77:in `run'' > from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' > from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' > from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' > from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' > from > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:44:in `run_suite'' > from > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:65:in > `start_mediator'' > from > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:39:in `start'' > from > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:27:in `run'' > from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:200:in `run'' > from setup.rb:1426:in `exec_test'' > from setup.rb:1006:in `exec_test'' > from setup.rb:829:in `invoke'' > from setup.rb:776:in `invoke'' > from setup.rb:1548 > > There are a bunch of compiler warnings in the Solaris build as well... > here is a sample: > > In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, > from lang.h:4, > from global.h:20, > from index.h:5, > from search.h:8, > from src/query_parser/q_parser.y:3: > /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: > "_FILE_OFFSET_BITS" redefined > In file included from /usr/include/iso/string_iso.h:31, > from /usr/include/string.h:18, > from src/query_parser/q_parser.y:2: > /usr/include/sys/feature_tests.h:96:1: warning: this is the location of > the previous definition > gcc -fPIC -g -O2 -fno-common -I. > -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 > -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -c q_const_score.c > In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, > from lang.h:4, > from global.h:20, > from index.h:5, > from search.h:8, > from q_const_score.c:1: > /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: > "_FILE_OFFSET_BITS" redefined > In file included from > /opt/common/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/syslimits.h:27, > from > /opt/common/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/limits.h:11, > from index.h:4, > from search.h:8, > from q_const_score.c:1: > /usr/include/sys/feature_tests.h:96:1: warning: this is the location of > the previous definition > gcc -fPIC -g -O2 -fno-common -I. > -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 > -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -c q_boolean.c > In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, > from lang.h:4, > from global.h:20, > from index.h:5, > from search.h:8, > from q_boolean.c:2: > /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: > "_FILE_OFFSET_BITS" redefined > > > I found there is a "compatability library" of include files in > /usr/ucbinclude which has include files, including dir.h, but I haven''t > been able to find a way to integrate it into the build without causing > lots of other incompatabilities to pop up in the compilation... > > Thanks, > -- Rich > > David Balmain wrote: > > >On second thoughts, just delete that line. Hopefully that''ll fix it. > > > > > >On 5/11/06, David Balmain <dbalmain.ml at gmail.com> wrote: > > > > > >>Hi Richard, > >> > >>Can you try changing line 5 of ext/nix_io.c to > >> > >>#include <sys/dirent.h> > >> > >>I think that may be the equivalent on solaris. Please report back if it works. > >> > >>Cheers, > >>Dave > >> > >>On 5/11/06, Richard Marisa <rjm2 at cornell.edu> wrote: > >> > >> > >>>I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which > >>>does not have a sys/dir.h > >>> > >>>nix_io.c:5:21: sys/dir.h: No such file or directory > >>>make: *** [nix_io.o] Error 1 > >>> > >>>I couldn''t find an obvious way around this... any suggestions? > >>> > >>>Thanks, > >>> Rich Marisa > >>> Cornell Information Technologies > >>> Cornell University > >>> > >>> > >>>_______________________________________________ > >>>Ferret-talk mailing list > >>>Ferret-talk at rubyforge.org > >>>http://rubyforge.org/mailman/listinfo/ferret-talk > >>> > >>> > >>> > > > >_______________________________________________ > >Ferret-talk mailing list > >Ferret-talk at rubyforge.org > >http://rubyforge.org/mailman/listinfo/ferret-talk > > > > > > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
On 5/12/06, Rich Marisa <rjm2 at cornell.edu> wrote:> There are a bunch of compiler warnings in the Solaris build as well... > here is a sample: > > In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, > from lang.h:4, > from global.h:20, > from index.h:5, > from search.h:8, > from src/query_parser/q_parser.y:3: > /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: > "_FILE_OFFSET_BITS" redefinedThis warning is due to the fact that _FILE_OFFSET_BITS is defined in ruby''s config.h file and also in the sparc-solaris2.8 config.h. Since it has nothing to do with Ferret I''m afraid I can''t do anything about it. I don''t think it''ll cause any problems though. If you got any other warnings that weren''t to do with _FILE_OFFSET_BITS, please do send them. Cheers, Dave
Hi Dave, I''m still seeing Error occured at <nix_io.c>:123 (Exception) Error: exception 2 not handled: No such file or directory when running rake. Here is the complete listing. -- Rich Marisa hawk{rjm2}298: sudo rake (in /users/rjm2/ferretstuff/ferret-0.9.2) setup.rb Rakefile TODO README MIT-LICENSE TUTORIAL CHANGELOG ext/ferret.c ext/lang.c ext/r_analysis.c ext/r_doc.c ext/r_index_io.c ext/r_qparser.c ext/r_search.c ext/r_store.c ext/r_term.c ext/extconf.rb ext/inc ext/analysis.c ext/stopwords.c ext/document.c ext/compound_io.c ext/index_rw.c ext/vector.c ext/field.c ext/term.c ext/q_parser.c ext/q_const_score.c ext/q_boolean.c ext/q_match_all.c ext/q_phrase.c ext/q_filtered_query.c ext/search.c ext/dummy.exe ext/q_fuzzy.c ext/q_wildcard.c ext/ind.c ext/q_range.c ext/q_multi_phrase.c ext/q_prefix.c ext/q_span.c ext/filter.c ext/similarity.c ext/q_term.c ext/sort.c ext/index_io.c ext/fs_store.c ext/ram_store.c ext/store.c ext/hashset.c ext/array.c ext/bitvector.c ext/helper.c ext/global.c ext/hash.c ext/except.c ext/priorityqueue.c ext/libstemmer.h ext/libstemmer.c ext/modules.h ext/utilities.c ext/api.h ext/api.c ext/header.h ext/stem_ISO_8859_1_italian.c ext/stem_UTF_8_portuguese.c ext/stem_UTF_8_portuguese.h ext/ferret.h ext/stem_UTF_8_french.c ext/stem_UTF_8_spanish.c ext/stem_UTF_8_dutch.c ext/stem_ISO_8859_1_italian.h ext/stem_UTF_8_german.c ext/stem_UTF_8_french.h ext/stem_UTF_8_spanish.h ext/tags ext/stem_ISO_8859_1_english.c ext/stem_ISO_8859_1_norwegian.c ext/stem_UTF_8_porter.c ext/stem_UTF_8_dutch.h ext/stem_UTF_8_german.h ext/stem_ISO_8859_1_english.h ext/stem_ISO_8859_1_norwegian.h ext/stem_UTF_8_porter.h ext/stem_ISO_8859_1_portuguese.c ext/stem_UTF_8_russian.c ext/stem_ISO_8859_1_spanish.c ext/stem_ISO_8859_1_french.c ext/stem_ISO_8859_1_portuguese.h ext/stem_ISO_8859_1_dutch.c ext/stem_UTF_8_russian.h ext/stem_KOI8_R_russian.c ext/stem_ISO_8859_1_german.c ext/stem_ISO_8859_1_spanish.h ext/stem_ISO_8859_1_french.h ext/stem_ISO_8859_1_porter.c ext/stem_ISO_8859_1_dutch.h ext/stem_UTF_8_finnish.c ext/stem_KOI8_R_russian.h ext/stem_ISO_8859_1_german.h ext/stem_ISO_8859_1_porter.h ext/stem_UTF_8_finnish.h ext/stem_UTF_8_danish.c ext/stem_UTF_8_swedish.c ext/stem_UTF_8_danish.h ext/stem_UTF_8_swedish.h ext/store.h ext/stem_ISO_8859_1_finnish.c ext/stem_UTF_8_italian.c ext/stem_ISO_8859_1_finnish.h ext/stem_UTF_8_italian.h ext/stem_ISO_8859_1_swedish.c ext/stem_ISO_8859_1_danish.c ext/stem_UTF_8_english.c ext/stem_UTF_8_norwegian.c ext/stem_ISO_8859_1_swedish.h ext/stem_ISO_8859_1_danish.h ext/stem_UTF_8_english.h ext/stem_UTF_8_norwegian.h ext/document.h ext/array.h ext/priorityqueue.h ext/hashset.h ext/helper.h ext/global.h ext/bitvector.h ext/analysis.h ext/hash.h ext/search.h ext/similarity.h ext/index.h ext/except.h ext/lang.h ext/frtio.h ext/w32_io.c ext/nix_io.c ext/inc/lang.h ext/inc/except.h lib/ferret.rb lib/rferret.rb lib/ferret/analysis.rb lib/ferret/document.rb lib/ferret/index.rb lib/ferret/search.rb lib/ferret/query_parser.rb lib/ferret/stemmers.rb lib/ferret/store.rb lib/ferret/utils.rb lib/ferret/analysis/standard_tokenizer.rb lib/ferret/analysis/word_list_loader.rb lib/ferret/analysis/tokenizers.rb lib/ferret/analysis/token.rb lib/ferret/analysis/analyzers.rb lib/ferret/analysis/token_filters.rb lib/ferret/analysis/token_stream.rb lib/ferret/document/document.rb lib/ferret/document/field.rb lib/ferret/index/fields_io.rb lib/ferret/index/index.rb lib/ferret/index/segment_merge_queue.rb lib/ferret/index/segment_term_enum.rb lib/ferret/index/term_info.rb lib/ferret/index/field_infos.rb lib/ferret/index/segment_reader.rb lib/ferret/index/index_file_names.rb lib/ferret/index/index_reader.rb lib/ferret/index/term_infos_io.rb lib/ferret/index/term_enum.rb lib/ferret/index/term.rb lib/ferret/index/segment_merge_info.rb lib/ferret/index/segment_merger.rb lib/ferret/index/segment_infos.rb lib/ferret/index/term_doc_enum.rb lib/ferret/index/term_buffer.rb lib/ferret/index/multi_reader.rb lib/ferret/index/term_vectors_io.rb lib/ferret/index/index_writer.rb lib/ferret/index/term_vector_offset_info.rb lib/ferret/index/segment_term_vector.rb lib/ferret/index/document_writer.rb lib/ferret/index/compound_file_io.rb lib/ferret/index/multiple_term_doc_pos_enum.rb lib/ferret/search/query.rb lib/ferret/search/non_matching_scorer.rb lib/ferret/search/top_field_docs.rb lib/ferret/search/weight.rb lib/ferret/search/field_doc.rb lib/ferret/search/hit_queue.rb lib/ferret/search/sort.rb lib/ferret/search/disjunction_sum_scorer.rb lib/ferret/search/boolean_scorer.rb lib/ferret/search/boolean_query.rb lib/ferret/search/field_sorted_hit_queue.rb lib/ferret/search/conjunction_scorer.rb lib/ferret/search/top_docs.rb lib/ferret/search/req_opt_sum_scorer.rb lib/ferret/search/boolean_clause.rb lib/ferret/search/score_doc_comparator.rb lib/ferret/search/req_excl_scorer.rb lib/ferret/search/explanation.rb lib/ferret/search/index_searcher.rb lib/ferret/search/term_scorer.rb lib/ferret/search/filter.rb lib/ferret/search/similarity.rb lib/ferret/search/fuzzy_term_enum.rb lib/ferret/search/sort_field.rb lib/ferret/search/hit_collector.rb lib/ferret/search/term_query.rb lib/ferret/search/scorer.rb lib/ferret/search/score_doc.rb lib/ferret/search/prefix_query.rb lib/ferret/search/fuzzy_query.rb lib/ferret/search/spans.rb lib/ferret/search/caching_wrapper_filter.rb lib/ferret/search/filtered_term_enum.rb lib/ferret/search/multi_term_query.rb lib/ferret/search/query_filter.rb lib/ferret/search/wildcard_query.rb lib/ferret/search/wildcard_term_enum.rb lib/ferret/search/phrase_query.rb lib/ferret/search/exact_phrase_scorer.rb lib/ferret/search/sloppy_phrase_scorer.rb lib/ferret/search/phrase_positions.rb lib/ferret/search/phrase_scorer.rb lib/ferret/search/range_query.rb lib/ferret/search/multi_phrase_query.rb lib/ferret/search/filtered_query.rb lib/ferret/search/sort_comparator.rb lib/ferret/search/range_filter.rb lib/ferret/search/field_cache.rb lib/ferret/search/match_all_query.rb lib/ferret/search/multi_searcher.rb lib/ferret/search/spans/near_spans_enum.rb lib/ferret/search/spans/span_first_query.rb lib/ferret/search/spans/spans_enum.rb lib/ferret/search/spans/span_not_query.rb lib/ferret/search/spans/span_near_query.rb lib/ferret/search/spans/span_or_query.rb lib/ferret/search/spans/span_term_query.rb lib/ferret/search/spans/span_query.rb lib/ferret/search/spans/span_scorer.rb lib/ferret/search/spans/span_weight.rb lib/ferret/query_parser/query_parser.tab.rb lib/ferret/stemmers/porter_stemmer.rb lib/ferret/store/index_io.rb lib/ferret/store/directory.rb lib/ferret/store/buffered_index_io.rb lib/ferret/store/fs_store.rb lib/ferret/store/ram_store.rb lib/ferret/utils/priority_queue.rb lib/ferret/utils/bit_vector.rb lib/ferret/utils/parameter.rb lib/ferret/utils/weak_key_hash.rb lib/ferret/utils/string_helper.rb lib/ferret/utils/number_tools.rb lib/ferret/utils/date_tools.rb lib/ferret/utils/thread_local.rb test/test_helper.rb test/test_all.rb test/unit/ts_document.rb test/unit/ts_index.rb test/unit/ts_store.rb test/unit/ts_analysis.rb test/unit/ts_utils.rb test/unit/ts_search.rb test/unit/ts_query_parser.rb test/unit/utils/rtc_thread.rb test/unit/utils/rtc_priority_queue.rb test/unit/utils/rtc_bit_vector.rb test/unit/utils/rtc_parameter.rb test/unit/utils/rtc_weak_key_hash.rb test/unit/utils/rtc_string_helper.rb test/unit/utils/rtc_date_tools.rb test/unit/utils/rtc_number_tools.rb test/unit/analysis/rtc_standard_tokenizer.rb test/unit/analysis/rtc_letter_tokenizer.rb test/unit/analysis/rtc_stop_filter.rb test/unit/analysis/rtc_stop_analyzer.rb test/unit/analysis/ctc_analyzer.rb test/unit/analysis/tc_analyzer.rb test/unit/analysis/rtc_standard_analyzer.rb test/unit/analysis/rtc_lower_case_filter.rb test/unit/analysis/rtc_porter_stem_filter.rb test/unit/analysis/rtc_lower_case_tokenizer.rb test/unit/analysis/rtc_white_space_tokenizer.rb test/unit/analysis/tc_token.rb test/unit/analysis/ctc_tokenstream.rb test/unit/analysis/rtc_white_space_analyzer.rb test/unit/analysis/rtc_word_list_loader.rb test/unit/analysis/rtc_per_field_analyzer_wrapper.rb test/unit/index/rtc_term_buffer.rb test/unit/index/rtc_fields_io.rb test/unit/index/rtc_term_vectors_io.rb test/unit/index/rtc_segment_infos.rb test/unit/index/tc_index.rb test/unit/index/rtc_compound_file_io.rb test/unit/index/rtc_field_infos.rb test/unit/index/tc_index_writer.rb test/unit/index/th_doc.rb test/unit/index/rtc_segment_term_enum.rb test/unit/index/rtc_term_info.rb test/unit/index/tc_term.rb test/unit/index/tc_term_voi.rb test/unit/index/tc_index_reader.rb test/unit/index/rtc_term_infos_io.rb test/unit/index/rtc_segment_term_docs.rb test/unit/index/rtc_segment_term_vector.rb test/unit/index/rtc_multiple_term_doc_pos_enum.rb test/unit/store/rtm_store_lock.rb test/unit/store/tm_store_lock.rb test/unit/store/tc_fs_store.rb test/unit/store/tc_ram_store.rb test/unit/store/rtm_store.rb test/unit/store/tm_store.rb test/unit/store/rtc_ram_store.rb test/unit/store/rtc_fs_store.rb test/unit/document/tc_field.rb test/unit/document/rtc_field.rb test/unit/document/tc_document.rb test/unit/query_parser/tc_query_parser.rb test/unit/search/tc_fuzzy_query.rb test/unit/search/tc_multi_searcher2.rb test/unit/search/tc_index_searcher.rb test/unit/search/tc_spans.rb test/unit/search/tc_filter.rb test/unit/search/tc_sort.rb test/unit/search/tc_sort_field.rb test/unit/search/tc_multi_searcher.rb test/unit/search/rtc_sort_field.rb test/unit/search/rtc_similarity.rb test/unit/search/tc_search_and_sort.rb test/longrunning/tc_numbertools.rb test/longrunning/tm_store.rb test/benchmark/tb_rw_vint.rb test/benchmark/tb_ram_store.rb test/functional/thread_safety_index_test.rb test/functional/thread_safety_test.rb test/utils/number_to_spoken.rb test/unit/analysis/data/wordfile rake_utils/code_statistics.rb Rakefile /usr/local/bin/ruby -Ilib:test/unit -r ''lib/rferret'' "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/unit/ts_document.rb" "test/unit/ts_index.rb" "test/unit/ts_store.rb" "test/unit/ts_analysis.rb" "test/unit/ts_utils.rb" "test/unit/ts_search.rb" "test/unit/ts_query_parser.rb" ./test/unit/../unit/index/../../../lib/rferret.rb:26: warning: already initialized constant VERSION Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader Started ....................................................................................................................................................................................................................... Finished in 274.465615 seconds. 215 tests, 5517 assertions, 0 failures, 0 errors cd ext cd .. cp ext/inc/lang.h ext/lang.h cp ext/inc/except.h ext/except.h cd ext make gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I/usr/local/lib/ruby/1.8/sparc-solaris2.8 -I. -c nix_io.c In file included from /usr/local/lib/ruby/1.8/sparc-solaris2.8/ruby.h:24, from lang.h:4, from global.h:20, from nix_io.c:3: /usr/local/lib/ruby/1.8/sparc-solaris2.8/config.h:17:1: warning: "_FILE_OFFSET_BITS" redefined In file included from /opt/common/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/iso/stdlib_iso.h:39, from /usr/include/stdlib.h:18, from global.h:4, from nix_io.c:3: /usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition gcc -Wl,-G -L''/usr/local/lib'' -Wl,-R''/usr/local/lib'' -o ferret_ext.so ferret.o lang.o r_analysis.o r_doc.o r_index_io.o r_qparser.o r_search.o r_store.o r_term.o analysis.o stopwords.o document.o compound_io.o index_rw.o vector.o field.o term.o q_parser.o q_const_score.o q_boolean.o q_match_all.o q_phrase.o q_filtered_query.o search.o q_fuzzy.o q_wildcard.o ind.o q_range.o q_multi_phrase.o q_prefix.o q_span.o filter.o similarity.o q_term.o sort.o index_io.o fs_store.o ram_store.o store.o hashset.o array.o bitvector.o helper.o global.o hash.o except.o priorityqueue.o libstemmer.o utilities.o api.o stem_ISO_8859_1_italian.o stem_UTF_8_portuguese.o stem_UTF_8_french.o stem_UTF_8_spanish.o stem_UTF_8_dutch.o stem_UTF_8_german.o stem_ISO_8859_1_english.o stem_ISO_8859_1_norwegian.o stem_UTF_8_porter.o stem_ISO_8859_1_portuguese.o stem_UTF_8_russian.o stem_ISO_8859_1_spanish.o stem_ISO_8859_1_french.o stem_ISO_8859_1_dutch.o stem_KOI8_R_russian.o stem_ISO_8859_1_german.o stem_ISO_8859_1_porter.o stem_UTF_8_finnish.o stem_UTF_8_danish.o stem_UTF_8_swedish.o stem_ISO_8859_1_finnish.o stem_UTF_8_italian.o stem_ISO_8859_1_swedish.o stem_ISO_8859_1_danish.o stem_UTF_8_english.o stem_UTF_8_norwegian.o w32_io.o nix_io.o -ldl -lcrypt -lm -lc cd .. /usr/local/bin/ruby -Ilib:test/unit "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/unit/ts_document.rb" "test/unit/ts_index.rb" "test/unit/ts_store.rb" "test/unit/ts_analysis.rb" "test/unit/ts_utils.rb" "test/unit/ts_search.rb" "test/unit/ts_query_parser.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader Started ........F...../test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in `refresh'': : Error occured at <nix_io.c>:123 (Exception) Error: exception 2 not handled: No such file or directory from ./test/unit/../unit/document/../../unit/index/../../unit/store/tc_fs_store.rb:18:in `teardown'' from /usr/local/lib/ruby/1.8/test/unit/testcase.rb:77:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'' from /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'' from /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:44:in `run_suite'' from /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:65:in `start_mediator'' from /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:39:in `start'' from /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:27:in `run'' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:200:in `run'' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run'' from /usr/local/lib/ruby/1.8/test/unit.rb:285 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5 rake aborted! Command failed with status (1): [/usr/local/bin/ruby -Ilib:test/unit "/usr/...] (See full trace by running task with --trace) hawk{rjm2}299: