[Xapian-tickets] [Xapian] #695: Xapian 1.3.3 installs xapian-config-1.3, Xapian bindings requires xapian-config
Xapian
nobody at xapian.org
Thu Nov 12 19:05:31 GMT 2015
#695: Xapian 1.3.3 installs xapian-config-1.3, Xapian bindings requires xapian-
config
------------------------------------+-------------------
Reporter: jorgecarleitao | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version: 1.3.2
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: Linux |
------------------------------------+-------------------
I'm using the following script to install Xapian:
{{{
VERSION=$1
# prepare
mkdir $VIRTUAL_ENV/packages && cd $VIRTUAL_ENV/packages
CORE=xapian-core-$VERSION
BINDINGS=xapian-bindings-$VERSION
# download
echo "Downloading source..."
curl -O http://oligarchy.co.uk/xapian/$VERSION/${CORE}.tar.xz
curl -O http://oligarchy.co.uk/xapian/$VERSION/${BINDINGS}.tar.xz
# extract
echo "Extracting source..."
tar xf ${CORE}.tar.xz
tar xf ${BINDINGS}.tar.xz
# install
echo "Installing Xapian-core..."
cd $VIRTUAL_ENV/packages/${CORE}
./configure --prefix=$VIRTUAL_ENV && make && make install
PYV=`python -c "import
sys;t='{v[0]}'.format(v=list(sys.version_info[:1]));sys.stdout.write(t)";`
if [ $PYV = "2" ]; then
PYTHON_FLAG=--with-python
else
PYTHON_FLAG=--with-python3
fi
echo "Installing Xapian-bindings..."
cd $VIRTUAL_ENV/packages/${BINDINGS}
./configure --prefix=$VIRTUAL_ENV $PYTHON_FLAG && make && make install
}}}
The following happens:
- With 1.2.19, Xapian installs `$VIRTUAL_ENV/bin/xapian-config` and the
bindings find it;
- With 1.3.2, Xapian installs `$VIRTUAL_ENV/bin/xapian-config-1.3` but
bindings fail to find it.
1.2.19 installs correctly; 1.3.2 fails to install.
The error is:
checking for xapian-config... no
configure: error: Can't find xapian-config, although the xapian-core
runtime library seems to be installed. If you've installed xapian-core
from a package, you probably need to install an extra package called
something like libxapian-dev in order to be able to build code using the
Xapian library.
--
Ticket URL: <http://trac.xapian.org/ticket/695>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list