I configured successfully. But, when I tried to run
make
it gives the following error...
"----------
In file included from ../src/HarvestSortMerge.cpp:13:
In file included from ../include/lemur/HarvestSortMerge.hpp:19:
In file included from ../include/lemur/SortMergeTextFiles.hpp:27:
In file included from ../../../include/indri/Buffer.hpp:23:
../include/lemur/lemur-compat.hpp:109:13: error: no type named '_Ios_Openmode' in namespace 'std'
inline std::_Ios_Openmode ios_mode_cast( int mode ) {
~~~~~^
../include/lemur/lemur-compat.hpp:110:15: error: no member named '_Ios_Openmode' in namespace 'std'
return std::_Ios_Openmode(mode);
~~~~~^
2 errors generated.
make[2]: *** [HarvestSortMerge.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
---------"
ip123:indri-5.6 iarcubd$
Would you please help me to figure out the problem?
Thank you in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a problem with the commande indrBuilderIndex,when I had tested the cmd, this error message is shown "Parameters.cpp<469> : coudn't open the parameter file test.txt"
and this is the content of the file:
"""""""""""<parameters>
<index>C:\Users\Zeyd\Desktop\pcd\index</index>
<corpus>
<path>C:\Users\Zeyd\Desktop\00</path>
</corpus>
<stemmer>
<name>Porter</name>
</stemmer>
</parameters>""""""""
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to installed indri-5.6 on Mac OS X.
I configured successfully. But, when I tried to run
make
it gives the following error...
"----------
In file included from ../src/HarvestSortMerge.cpp:13:
In file included from ../include/lemur/HarvestSortMerge.hpp:19:
In file included from ../include/lemur/SortMergeTextFiles.hpp:27:
In file included from ../../../include/indri/Buffer.hpp:23:
../include/lemur/lemur-compat.hpp:109:13: error: no type named '_Ios_Openmode' in namespace 'std'
inline std::_Ios_Openmode ios_mode_cast( int mode ) {
~~~~~^
../include/lemur/lemur-compat.hpp:110:15: error: no member named '_Ios_Openmode' in namespace 'std'
return std::_Ios_Openmode(mode);
~~~~~^
2 errors generated.
make[2]: *** [HarvestSortMerge.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
---------"
ip123:indri-5.6 iarcubd$
Would you please help me to figure out the problem?
Thank you in advance
That is a bug introduced by Apple's change to LLVM in the most recent XCode. See https://sourceforge.net/p/lemur/bugs/226/
You need to update from the svn repository, https://sourceforge.net/p/lemur/code/HEAD/tree/indri/trunk/, to get the configuration fixes. Run configure, make clean to remove any previously compiled object files.
Hello,
I have a problem with the commande indrBuilderIndex,when I had tested the cmd, this error message is shown "Parameters.cpp<469> : coudn't open the parameter file test.txt"
and this is the content of the file:
"""""""""""<parameters>
<index>C:\Users\Zeyd\Desktop\pcd\index</index>
<corpus>
<path>C:\Users\Zeyd\Desktop\00</path>
</corpus>
<stemmer>
<name>Porter</name>
</stemmer>
</parameters>""""""""
Review this page and you will find an example parameter file.
http://sourceforge.net/p/lemur/wiki/IndriBuildIndex%20Parameters/
Make sure that the value of <class> will match your corpus type.