[Bug 915005] Review Request: qt5-qttools - Qt5 - QtTool components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=915005

--- Comment #26 from Rex Dieter <rdieter@xxxxxxxxxxxx> ---
My naive attempt to use system clucene-core is a bust, applying this:

http://rdieter.fedorapeople.org/rpms/qt5/qttools-opensource-src-5.0.2-system_clucene.patch

build fails pretty quickly in src/assistant/clucene/

...
-o .obj/release-shared/qanalyzer.o qanalyzer.cpp
In file included from /usr/include/CLucene/index/IndexWriter.h:19:0,
                 from /usr/include/CLucene.h:13,
                 from qanalyzer.cpp:22:
/usr/include/CLucene/index/MergePolicy.h:238:35: error: ‘DEFAULT_MERGE_FACTOR’
has not been declared
   LUCENE_STATIC_CONSTANT(int32_t, DEFAULT_MERGE_FACTOR = 10);
                                   ^
In file included from /usr/include/CLucene/index/IndexWriter.h:19:0,
                 from /usr/include/CLucene.h:13,
                 from qanalyzer.cpp:22:
/usr/include/CLucene/index/MergePolicy.h:351:35: error:
‘DEFAULT_MIN_MERGE_DOCS’ has not been declared
   LUCENE_STATIC_CONSTANT(int32_t, DEFAULT_MIN_MERGE_DOCS = 1000);
                                   ^
In file included from /usr/include/CLucene.h:13:0,
                 from qanalyzer.cpp:22:
/usr/include/CLucene/index/IndexWriter.h:290:34: error:
‘DEFAULT_MAX_FIELD_LENGTH’ has not been declared
  LUCENE_STATIC_CONSTANT(int32_t, DEFAULT_MAX_FIELD_LENGTH = 10000);

not sure why exactly.  LUCENE_STATIC_CONSTANT should be defined from
CLucene/clucene-config.h

Any ideas?


Any ideas?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=vJ0KGcYv0l&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]