Re: LIttle problem when installing xapian-bindings-1.4.22
Olly Betts <[email protected]> Tue, 6 Jun 2023 21:13:39 +0100
| Newsgroups | gmane.comp.search.xapian.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 25, 2023 at 05:18:28PM +0000, nebulaaksum wrote:
> Here is what I tried:
> 1.
> gebreselema@system76-pc:~/myinstalls/myxapian/xapian-omega-1.4.22/xapianomegabuild$ ./configure XAPIAN_CONFIG=/usr/local/xapian-core-1.4.22/bin/xapian-config \--prefix=/usr/local/xapian-omega-1.4.22
> bash: ./configure: No such file or directory
Looks like you've created a subdirectory to build in, so you need the
path to configure to reflect that, i.e.:
../configure ...
> I am just following the installation instruction and when that does
> not work, I tried to do it from root.
Quoting from the installation instructions in INSTALL:
Building in a separate directory
================================
If you wish to perform your build in a separate directory from the
source, create and change to the build directory, and run the
configure script (in the source directory) from the build directory,
like so:
mkdir BUILD
cd BUILD
../configure
Running the build as root won't change needing to use the correct path
to configure. If building as root worked, you probably just ran the
same command as root but from the source directory itself - that would
have worked as non-root.
Cheers,
Olly