David Spencer
2008-Sep-01 03:31 UTC
[Xapian-discuss] Makefile:379: .deps/xapian_wrap.Plo: No such file or directory
Briefly: when I try to build xapian-bindings the make command fails with: "Makefile:379: .deps/xapian_wrap.Plo: No such file or directory" When I run configure these are the last few lines: I tried running "./configure" and "./configure --without-java --without-tcl --without-tcl8 --without-csharp --without-perl --with-python " with no difference. Note the tcl msg. I'm not sure if it's spurious or not -- all I want are the python bindings. config.status: creating java/Makefile config.status: creating java/native/Makefile config.status: creating java/org/Makefile config.status: creating java/org/xapian/Makefile config.status: creating java/org/xapian/errors/Makefile config.status: creating java/org/xapian/examples/Makefile config.status: creating java-swig/Makefile config.status: error: cannot find input file: tcl8/Makefile.in bash-3.2$ make cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive Making all in python Makefile:379: .deps/xapian_wrap.Plo: No such file or directory make[2]: *** No rule to make target `.deps/xapian_wrap.Plo'. Stop. make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 bash-3.2$ pwd /Users/dave/Desktop/xapian-bindings-1.0.7 bash-3.2$ uname -a Darwin MegaMac.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386 I'm on OSX 10.5.4. I had some same result running on a Powerbook with the previous version of OSX, 10.4.11. xapian-core built file and has been installed. xapian-config is in my PATH ideas? thx, Dave
James Aylett
2008-Sep-01 11:18 UTC
[Xapian-discuss] Makefile:379: .deps/xapian_wrap.Plo: No such file or directory
On Sun, Aug 31, 2008 at 08:31:39PM -0700, David Spencer wrote:> Briefly: when I try to build xapian-bindings the make command fails with: > "Makefile:379: .deps/xapian_wrap.Plo: No such file or directory" > > When I run configure these are the last few lines: > I tried running "./configure" and "./configure --without-java --without-tcl > --without-tcl8 --without-csharp --without-perl --with-python > " with no difference. Note the tcl msg. I'm not sure if it's spurious or not > -- all I want are the python bindings.[...]> config.status: error: cannot find input file: tcl8/Makefile.inThe way the system works, these files get used even if you aren't building those bindings. I can't remember details, but I'm pretty sure that you'll need to fix this before proceeding. tcl8/Makefile.in should be in the archive you downloaded, or if you're using a SVN snapshot it should be created by bootstrapping. Can you double-check where you got the source from? J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james at tartarus.org uncertaintydivision.org
Olly Betts
2008-Sep-01 22:39 UTC
[Xapian-discuss] Makefile:379: .deps/xapian_wrap.Plo: No such file or directory
On Sun, Aug 31, 2008 at 08:31:39PM -0700, David Spencer wrote:> Briefly: when I try to build xapian-bindings the make command fails with: > "Makefile:379: .deps/xapian_wrap.Plo: No such file or directory" > > When I run configure these are the last few lines: > I tried running "./configure" and "./configure --without-java --without-tcl > --without-tcl8 --without-csharp --without-perl --with-pythonIf you just want Python, you only need "--with-python". If you explicitly ask for particular bindings, you will only get those you ask for. If you don't specify, configure will probe what languages support is available for and enable those. Requiring users to explicitly disable every language they didn't want would be clumsy - it's O(n) in the number of other languages supported, and it would mean packaging scripts for xapian-bindings would need fixing for every new language supported. Many people seem to misunderstand how this works, but it seems the sanest approach to me, and it is documented (in INSTALL). If the documentation could be clearer, please suggest how. There isn't even a "--without-perl" or "--without-tcl8" option (and you didn't pass "--without-ruby"...)> config.status: error: cannot find input file: tcl8/Makefile.inAs James says, your source tree is incomplete for some reason. You need to work out why. Cheers, Olly