anonymous user

Forums   Register   Login   Forgot your login/password?   Search

sphinx engine 0.9.9 compilation problem with xtradb 5.1.42

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 514 | 515 | 516 | 517 | next »» | Create new thread

vitek

Name: Vitek
Posts: 4

2010-01-18 10:31:28 | reply!


Hi,

I'm using percona xtradb mysql source (5.1.42), sphinx sphinx-0.9.9 and the compilation
process didn't create ha_sphinx.so library. After following the manual steps with
appropriate version - the storage/sphinx directory contains just this files:

[root@lenovo mysql-5.1.42]# ll storage/sphinx/
total 476
-rw-r--r-- 1 root root 455 Jan 15 17:22 CMakeLists.txt
-rw-r--r-- 1 root root 722 Jan 15 17:22 gen_data.php
-rw-r--r-- 1 root root 79908 Jan 15 17:22 ha_sphinx.cc
-rw-r--r-- 1 root root 5147 Jan 15 17:22 ha_sphinx.h
-rw-r--r-- 1 root root 106634 Jan 15 17:30 libsphinx.a
-rw-r--r-- 1 root root 99808 Jan 15 17:30 libsphinx_a-ha_sphinx.o
-rw-r--r-- 1 root root 32538 Jan 15 17:23 Makefile
-rw-r--r-- 1 root root 2132 Jan 15 17:22 Makefile.am
-rw-r--r-- 1 root root 33871 Jan 15 17:23 Makefile.in
-rwxr-xr-x 1 root root 499 Jan 15 17:22 make-patch.sh
-rw-r--r-- 1 root root 250 Jan 15 17:22 plug.in
-rw-r--r-- 1 root root 18363 Jan 15 17:22 snippets_udf.cc
-rw-r--r-- 1 root root 10682 Jan 15 17:22 sphinx.5.0.22.diff
-rw-r--r-- 1 root root 10685 Jan 15 17:22 sphinx.5.0.27.diff
-rw-r--r-- 1 root root 12002 Jan 15 17:22 sphinx.5.0.37.diff
-rw-r--r-- 1 root root 852 Jan 15 17:30 sphinx.la
-rw-r--r-- 1 root root 357 Jan 15 17:30 sphinx_la-snippets_udf.lo
-rw-r--r-- 1 root root 13520 Jan 15 17:30 sphinx_la-snippets_udf.o

The followed instructions:

        620 cp -R ../sphinx-0.9.9/mysqlse storage/sphinx
        621 ll storage/sphinx/
        622 sh BUILD/autorun.sh
        623 ./configure --with-plugins=sphinx
        624 ll storage/sphinx/
        625 make
        626 ll storage/sphinx/
        627 history

I'm completely stuck - any help appreciated.

Thank you,
Vitek

muzazzi

Name: Andrew Garner
Posts: 1

to: vitek, 2010-01-19 09:21:54 | reply!


The ha_sphinx.so is probably in storage/sphinx/.libs/

[testbox mysql-5.1.42]$ ls storage/sphinx/.libs/
ha_sphinx.a ha_sphinx.la ha_sphinx_la-ha_sphinx.o ha_sphinx.lai ha_sphinx.so
ha_sphinx.so.0 ha_sphinx.so.0.0.0

FWIW, I've built and tested sphinx+sphinxse 0.9.8.1 and 0.9.9 against 5.1.42+xtradb
without problems using roughly the method you used (albeit usually performing these steps
automatically through an rpm spec file).

~Andrew

vitek

Name: Vitek
Posts: 4

to: muzazzi, 2010-01-19 14:25:42 | reply!


> The ha_sphinx.so is probably in storage/sphinx/.libs/
>
> [testbox mysql-5.1.42]$ ls storage/sphinx/.libs/
> ha_sphinx.a ha_sphinx.la ha_sphinx_la-ha_sphinx.o ha_sphinx.lai ha_sphinx.so
> ha_sphinx.so.0 ha_sphinx.so.0.0.0
>
> FWIW, I've built and tested sphinx+sphinxse 0.9.8.1 and 0.9.9 against 5.1.42+xtradb
> without problems using roughly the method you used (albeit usually performing these steps
> automatically through an rpm spec file).
>
> ~Andrew

Andrew, thank you for confirmation. I tried building from spec, it show me that I'm
missing readline-devel ncurses-devel zlib-devel ccache gperf packages. Building from spec
failed on unknown plugin sphinx, so i tried building manually over the once compiled
mysql version in source dir and voala - the ha_sphinx.so has been compiled. Too bad, that
I'm not sure what exactly helped.

Complete dependencies on Redhat/Centos 5:

yum install bison flex readline-devel ncurses-devel zlib-devel ccache gperf gcc gcc-c++
libtool libtermcap-devel termcap.noarch

Vitek

nsavic

Name: Nikola Savic
Posts: 3

to: muzazzi, 2011-10-02 20:15:51 | reply!


> The ha_sphinx.so is probably in storage/sphinx/.libs/
>
> [testbox mysql-5.1.42]$ ls storage/sphinx/.libs/
> ha_sphinx.a ha_sphinx.la ha_sphinx_la-ha_sphinx.o ha_sphinx.lai ha_sphinx.so
> ha_sphinx.so.0 ha_sphinx.so.0.0.0
>
> FWIW, I've built and tested sphinx+sphinxse 0.9.8.1 and 0.9.9 against 5.1.42+xtradb
> without problems using roughly the method you used (albeit usually performing these steps
> automatically through an rpm spec file).

I'm trying to install sphinxse on Percona-server 5.1.58. I follow instructions from
sphinx docs, but can't make configure to include sphinx plugin :( Compiling sphinx in
mysql 5.1.58 works without problem. I even tried to use sphinx.so plugin in Percona
server, but getting "Can't find symbol '_mysql_plugin_interface_version_' in library"
error.

Were you able to compile sphinxse in newer version of Percona Server? Did you use any
tricks to do that?

Thanks,
Nikola

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 514 | 515 | 516 | 517 | next »» | Create new thread