Greg Hellings schreef op zo 12-05-2013 om 10:21 [-0500]:
In file included from /builddir/build/BUILD/clucene-core-2.3.3.4/src/core/CLucene/debug/lucenebase.h:10:0, from /builddir/build/BUILD/clucene-core-2.3.3.4/src/shared/CLucene/SharedHeader.h:201, from /builddir/build/BUILD/clucene-core-2.3.3.4/src/shared/CLucene/_SharedHeader.h:13, from /builddir/build/BUILD/clucene-core-2.3.3.4/src/shared/CLucene/SharedHeader.cpp:8: /builddir/build/BUILD/clucene-core-2.3.3.4/src/shared/CLucene/LuceneThreads.h:43:41: error: 'pthread_t' does not name a type #define _LUCENE_THREADID_TYPE pthread_t ^
CLucene has had lots of troubles with cross-compiling and threads. I have some patches and workarounds in the build process to get it compiling on 64-bit. I'll look into this.
Does the header in question also #include <pthread.h> ?
What's the easiest way for me to replicate a build environment with the specified versions of the dep packages? Is it mainly rawhide with a hand-rolled version of the mingw-w64 RPM?
Normally you can use a tool called 'mock' for this (yum install mock). However, mingw-winpthreads is currently not in the Fedora repositories yet. Therefore some additional tricks are needed for now. I suggest we continue about this subject on #fedora-mingw