I cut and pasted this file back where it was originally in the src
dir:

https://github.com/freelancing-god/sphinx/blob/5e22785feff42e46a51b57855738e1c9451b10f7/src/svnxrev.sh

Seems to work now, although 'make install' doesn't install it to /usr/
bin even though I did my './configure --prefix=/usr/bin'.


On Jun 17, 4:32 pm, Code Daemon <[email protected]> wrote:
> Where did you get the source for 2.0.2-dev. I'm using 
> thishttps://github.com/freelancing-god/sphinx
>
> But am getting the following compile errors:
>
> $ make
> Making all in src
> /bin/sh svnxrev.sh ..
> /bin/sh: svnxrev.sh: No such file or directory
> make[1]: *** [extract-version] Error 127
> make: *** [all-recursive] Error 1
>
> $ gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot
> 3)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> On May 18, 5:48 pm, Pat Allan <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi
>
> > I hit this same problem - the issue is Sphinx 2.0.1 doesn't work on OS X. 
> > What I've done (as suggested by Curtis in the other thread) is grabbed the 
> > latest source for Sphinx (2.0.2-dev) from SVN, compiled that, and it works 
> > fine.
>
> > Also: make sure you're using edge Riddle (via git in your Gemfile).
>
> > Cheers
>
> > --
> > Pat
>
> > On 19/05/2011, at 8:25 AM, Byo Fuel wrote:
>
> > > Hi -- I've been stuck trying to run searchd via the rake task, although 
> > > it appears to (sort of) run by itself.  I'm on OS/X.
>
> > > If I run
> > > searchd --config config/development.sphinx.conf
> > > from within the project, I get:
>
> > > Sphinx 2.0.1-beta (r2792)
> > > Copyright (c) 2001-2011, Andrew Aksyonoff
> > > Copyright (c) 2008-2011, Sphinx Technologies Inc (http://sphinxsearch.com)
>
> > > using config file 'config/development.sphinx.conf'...
> > > WARNING: compat_sphinxql_magics=1 is deprecated; please update your 
> > > application and config
> > > listening on 127.0.0.1:9312
> > > precaching index 'post_core'
> > > precached 1 indexes in 0.001 sec  
>
> > > However, if I ps aux | grep searchd, I only get the grep task.
>
> > > If I run rake ts:start (or rake ts:start RAILS_ENV=development) from 
> > > within the project, I get:
>
> > > Failed to start searchd daemon. Check 
> > > /Users/kurtsnyder/code/project.com/log/searchd.log.
> > > Failed to start searchd daemon. Check 
> > > /Users/kurtsnyder/code/project.com/log/searchd.log
>
> > > The searchd.log contains:
>
> > > --- crashed SphinxAPI request dump ---
>
> > > --- request dump end ---
> > > -------------- backtrace begins here ---------------
> > > Sphinx 2.0.1-beta (r2792)
> > > Program compiled with gcc 4.2.1
> > > Host OS is Darwin kurtmacb.local 10.7.0 Darwin Kernel Version 10.7.0: Sat 
> > > Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
> > > Stack bottom = 0x7fff5fbfee8f, thread stack size = 0x12000
> > > begin of manual backtrace:
> > > Something wrong with thread stack, backtrace may be incorrect 
> > > (fp=7fff5fbfc710)
> > > Stack looks OK, attempting backtrace.
> > > 100003d6f
> > > 5fbfe0b000000000
> > > 7fff5fbfc8d0
> > > 10005474f
> > > 100001ab8
> > > 4
> > > Something wrong in frame pointers, backtrace failed (fp=0)
> > > begin of system backtrace:
> > > begin of system symbols:
> > > 0   searchd                             0x000000010015d5f7 
> > > _Z12sphBacktraceib + 679
> > > 1   searchd                             0x0000000100003d6f 
> > > _ZN16SphCrashLogger_c11HandleCrashEi + 415
> > > 2   libSystem.B.dylib                   0x00007fff84a0966a _sigtramp + 26
> > > 3   ???                                 0x00007fff5fbfc8d0 0x0 + 
> > > 140734799792336
> > > 4   searchd                             0x000000010005474f main + 95
> > > 5   searchd                             0x0000000100001ab8 start + 52
> > > -------------- backtrace ends here ---------------
> > > ------- CRASH DUMP END -------
>
> > > My sphinx.yml is:
>
> > > development:
> > >   bin_path: /usr/local/bin
>
> > > test:
> > >   bin_path: /usr/local/bin
>
> > > The development.sphinx.conf file contains this block, as generated by 
> > > rake ts:config
> > > searchd
> > > {
> > >   listen = 127.0.0.1:9312
> > >   log = /Users/kurtsnyder/code/project/log/searchd.log
> > >   query_log = /Users/kurtsnyder/code/project/log/searchd.query.log
> > >   pid_file = /Users/kurtsnyder/code/project/log/searchd.development.pid
> > > }
>
> > > Any help greatly appreciated....
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Thinking Sphinx" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to