I am having troubles getting started with Sphinx.  I am running a
somewhat recent svn version of docutils.  I am getting this message
after "make html":

Exception occurred:
  File "/usr/lib/pymodules/python2.6/sphinx/writers/latex.py", line
106, in ExtBabel
    _ISO639_TO_BABEL = Babel._ISO639_TO_BABEL.copy()
AttributeError: type object 'Babel' has no attribute
'_ISO639_TO_BABEL'

I found an email thread on this issue dated Jan. 2011.  So, I assumed
that a more recent version of Sphinx would solve my problem.  I am
running Ubuntu 10.04LTS and the version of sphinx-build is 0.6.4.

I downloaded 2.0.1-beta from here:
http://sphinxsearch.com/downloads/beta

and attempted to configure/make/sudo make install

I initially got an error message about mysql-dev, but I think I
installed the correct packages and configured on the second try.

Make doesn't show any obvious problems, but "sudo make install"
doesn't seem to copy executables any where.

Here is the output of make:

ryan@ryan-hpdv4|10:09 AM|sphinx-2.0.1-beta$ make
Making all in src
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
/bin/sh svnxrev.sh ..
make  all-am
make[2]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinx.o -MD -MP -MF .deps/sphinx.Tpo -c -o sphinx.o sphinx.cpp
sphinx.cpp: In constructor
‘WordformContainer_t::WordformContainer_t()’:
sphinx.cpp:15614: warning: ‘WordformContainer_t::m_pMultiWordforms’
will be initialized after
sphinx.cpp:15611: warning:   ‘uint64_t
WordformContainer_t::m_uTokenizerFNV’
sphinx.cpp:15904: warning:   when initialized here
mv -f .deps/sphinx.Tpo .deps/sphinx.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxexcerpt.o -MD -MP -MF .deps/sphinxexcerpt.Tpo -c -o
sphinxexcerpt.o sphinxexcerpt.cpp
mv -f .deps/sphinxexcerpt.Tpo .deps/sphinxexcerpt.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxquery.o -MD -MP -MF .deps/sphinxquery.Tpo -c -o sphinxquery.o
sphinxquery.cpp
mv -f .deps/sphinxquery.Tpo .deps/sphinxquery.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxsoundex.o -MD -MP -MF .deps/sphinxsoundex.Tpo -c -o
sphinxsoundex.o sphinxsoundex.cpp
mv -f .deps/sphinxsoundex.Tpo .deps/sphinxsoundex.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxmetaphone.o -MD -MP -MF .deps/sphinxmetaphone.Tpo -c -o
sphinxmetaphone.o sphinxmetaphone.cpp
mv -f .deps/sphinxmetaphone.Tpo .deps/sphinxmetaphone.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxstemen.o -MD -MP -MF .deps/sphinxstemen.Tpo -c -o sphinxstemen.o
sphinxstemen.cpp
mv -f .deps/sphinxstemen.Tpo .deps/sphinxstemen.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxstemru.o -MD -MP -MF .deps/sphinxstemru.Tpo -c -o sphinxstemru.o
sphinxstemru.cpp
mv -f .deps/sphinxstemru.Tpo .deps/sphinxstemru.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxstemcz.o -MD -MP -MF .deps/sphinxstemcz.Tpo -c -o sphinxstemcz.o
sphinxstemcz.cpp
mv -f .deps/sphinxstemcz.Tpo .deps/sphinxstemcz.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxutils.o -MD -MP -MF .deps/sphinxutils.Tpo -c -o sphinxutils.o
sphinxutils.cpp
mv -f .deps/sphinxutils.Tpo .deps/sphinxutils.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT md5.o -
MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cpp
mv -f .deps/md5.Tpo .deps/md5.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxstd.o -MD -MP -MF .deps/sphinxstd.Tpo -c -o sphinxstd.o
sphinxstd.cpp
mv -f .deps/sphinxstd.Tpo .deps/sphinxstd.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxsort.o -MD -MP -MF .deps/sphinxsort.Tpo -c -o sphinxsort.o
sphinxsort.cpp
mv -f .deps/sphinxsort.Tpo .deps/sphinxsort.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxexpr.o -MD -MP -MF .deps/sphinxexpr.Tpo -c -o sphinxexpr.o
sphinxexpr.cpp
mv -f .deps/sphinxexpr.Tpo .deps/sphinxexpr.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxfilter.o -MD -MP -MF .deps/sphinxfilter.Tpo -c -o sphinxfilter.o
sphinxfilter.cpp
mv -f .deps/sphinxfilter.Tpo .deps/sphinxfilter.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxsearch.o -MD -MP -MF .deps/sphinxsearch.Tpo -c -o sphinxsearch.o
sphinxsearch.cpp
mv -f .deps/sphinxsearch.Tpo .deps/sphinxsearch.Po
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
sphinxrt.o -MD -MP -MF .deps/sphinxrt.Tpo -c -o sphinxrt.o
sphinxrt.cpp
mv -f .deps/sphinxrt.Tpo .deps/sphinxrt.Po
rm -f libsphinx.a
ar cru libsphinx.a sphinx.o sphinxexcerpt.o sphinxquery.o
sphinxsoundex.o sphinxmetaphone.o sphinxstemen.o sphinxstemru.o
sphinxstemcz.o sphinxutils.o md5.o sphinxstd.o sphinxsort.o
sphinxexpr.o sphinxfilter.o sphinxsearch.o sphinxrt.o
ranlib libsphinx.a
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
indexer.o -MD -MP -MF .deps/indexer.Tpo -c -o indexer.o indexer.cpp
mv -f .deps/indexer.Tpo .deps/indexer.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o indexer
indexer.o libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/
mysql -lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -
lpthread
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
searchd.o -MD -MP -MF .deps/searchd.Tpo -c -o searchd.o searchd.cpp
In file included from sphinx.h:39,
                 from searchd.cpp:16:
sphinxstd.h: In function ‘void sphSort(T*, int, U, V) [with T =
SearchFailure_t, U = SphLess_T<SearchFailure_t>, V =
SphAccessor_T<SearchFailure_t>]’:
sphinxstd.h:429: warning: ‘<anonymous>’ may be used uninitialized in
this function
sphinxstd.h:429: note: ‘<anonymous>’ was declared here
sphinxstd.h:435: warning: ‘<anonymous>’ may be used uninitialized in
this function
sphinxstd.h:435: note: ‘<anonymous>’ was declared here
mv -f .deps/searchd.Tpo .deps/searchd.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o searchd
searchd.o libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/
mysql -lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -
lpthread
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.cpp
mv -f .deps/search.Tpo .deps/search.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o search search.o
libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -
lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -lpthread
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
spelldump.o -MD -MP -MF .deps/spelldump.Tpo -c -o spelldump.o
spelldump.cpp
mv -f .deps/spelldump.Tpo .deps/spelldump.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o spelldump
spelldump.o libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/
mysql -lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -
lpthread
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT
indextool.o -MD -MP -MF .deps/indextool.Tpo -c -o indextool.o
indextool.cpp
mv -f .deps/indextool.Tpo .deps/indextool.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o indextool
indextool.o libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/
mysql -lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -
lpthread
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\""
-DDATADIR="\"/usr/local/var/data\"" -I/usr/local/include -I/usr/
include/mysql  -DBIG_JOINS=1  -fno-strict-aliasing   -DUNIV_LINUX -
DUNIV_LINUX   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT tests.o
-MD -MP -MF .deps/tests.Tpo -c -o tests.o tests.cpp
mv -f .deps/tests.Tpo .deps/tests.Po
g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG   -o tests tests.o
libsphinx.a  -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -
lmysqlclient  -ldl -lm -lz -lexpat  -L/usr/local/lib -lrt  -lpthread
make[2]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
Making all in test
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/test'
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'

and here is the output of "sudo make install":
ryan@ryan-hpdv4|10:11 AM|sphinx-2.0.1-beta$ sudo make install
Making install in src
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
/bin/sh svnxrev.sh ..
make  install-am
make[2]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
make[3]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c indexer searchd search spelldump indextool '/usr/
local/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
make[2]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/src'
Making install in test
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta/test'
make[1]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
make[2]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
test -z "/usr/local/etc" || /bin/mkdir -p "/usr/local/etc"
 /usr/bin/install -c -m 644 sphinx.conf.dist sphinx-min.conf.dist
example.sql '/usr/local/etc'
make  install-data-hook
make[3]: Entering directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
mkdir -p /usr/local/var/data && mkdir -p /usr/local/var/log
make[3]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
make[2]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'
make[1]: Leaving directory `/home/ryan/software/sphinx/sphinx-2.0.1-
beta'


Where should the executables go after "sudo make install"?  Is there
something else I am doing wrong?

Thanks,

Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to