[Xapian-discuss] java bindings
Joachim Martin
jmartin at path-works.com
Mon Nov 13 19:37:25 GMT 2006
Ok, I installed "xapian-core-devel" and now I'm having problems with gcc:
./configure CXXCPP=/usr/bin/cpp CXX=/usr/bin/gcc --with-java
[lines deleted]
checking whether we are using the GNU C++ compiler... no
checking whether /usr/bin/gcc accepts -g... no
checking dependency style of /usr/bin/gcc... gcc3
checking how to run the C++ preprocessor... /usr/bin/cpp
configure: error: C++ preprocessor "/usr/bin/cpp" fails sanity check
See `config.log' for more details.
config.log has errors like this:
configure:4750: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4756: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "xapian-bindings"
| #define PACKAGE_TARNAME "xapian-bindings"
| #define PACKAGE_VERSION "0.9.9"
| #define PACKAGE_STRING "xapian-bindings 0.9.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xapian-bindings"
| #define VERSION "0.9.9"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
gcc --version reports:
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
I don't have a lot of experience compiling C++ projects on Linux. Is
there something wrong I'm doing here?
Thanks --Joachim
Olly Betts wrote:
>On Mon, Nov 13, 2006 at 12:58:11PM -0500, Joachim Martin wrote:
>
>
>>I've installed xapian using yum. It created a /usr/share/xapian0.9.9/
>>directory with xapian.so and a tcl file.
>>
>>[...]
>>
>>checking for xapian-config... no
>>configure: error: Can't find Xapian library
>>
>>
>
>You probably need to install the "xapian-devel" package, which is needed
>if you want to build software that uses Xapian. The "xapian" package
>only includes the runtime support (not the headers or xapian-config
>script).
>
>Cheers,
> Olly
>
>
More information about the Xapian-discuss
mailing list