Hi Chris

The output all looks correct to me - and yet you're still getting the  
same issues when running the rake tasks?

-- 
Pat

On 13/06/2009, at 12:33 PM, internetchris wrote:

>
> Hi Pat,
>
> I posted all of my output logs on the sphinx forum. Rather than jumble
> up this post I thought I would have someone over there look at the
> logs as well. Here's the link so you can see the compile process...
>
> http://www.sphinxsearch.com/forum/view.html?id=3744
>
> I really appreciate your willingness to help.
>
> Chris
>
>
>
> On Jun 12, 5:06 pm, internetchris <[email protected]>
> wrote:
>> Hi Pat,
>>
>> So I followed your advice with the same result. I actually had tried
>> numerous times to re-install using new directories and such. This  
>> time
>> I tried to install the beta version, but I'm still getting the same
>> error. I am following the install example provided 
>> athttp://mediumexposure.com/2009/05/01/installing-sphinx-postgres-leopard 
>> .
>> In my latest attempt I did everything the same, but I changed the  
>> file
>> name for  sphinx to use the latest beta. I'm soo stinking stumped on
>> this problem. I am wondering if maybe it's a pathing issue? Is there
>> anything I should provide in my pathe other than the "pg_config" file
>> location?
>>
>> Your help has been outstanding I just wish I could give you good  
>> news.
>>
>> Thanks!
>>
>> Chris
>>
>> On Jun 10, 6:15 pm, Pat Allan <[email protected]> wrote:
>>
>>
>>
>>> Hi Chris
>>
>>> Just so we make sure that this isn't the cause, could you download a
>>> fresh version of the Sphinx source, run ./configure with the  
>>> command-
>>> line args we've established work, and then 'make' and 'sudo make
>>> install'? I don't always trust recompiling within the same folder.
>>
>>> Mind you, if that doesn't help matters, then we'll have to find a
>>> different approach to the problem.
>>
>>> Cheers
>>
>>> --
>>> Pat
>>
>>> On 10/06/2009, at 2:25 AM, Chris Sund wrote:
>>
>>>> Hi Pat,
>>
>>>> I gave that a try just as you instructed but no luck. I've seen  
>>>> some
>>>> articles on 64bit installations, but to be honest I'm not sure  
>>>> how to
>>>> tell if I have a 64bit machine. I'm new to my Mac, and I have  
>>>> actually
>>>> tried the 64 bit instructions just to give it a try, but without  
>>>> luck.
>>>> I know that I know when I get it figured out It will be something
>>>> easy.  Here's the last little bit of my ./configure output...
>>
>>>> configuring Sphinx
>>>> ------------------
>>
>>>> checking whether to compile with MySQL support... no
>>>> checking whether to compile with PostgreSQL support... yes
>>>> checking for pg_config... /opt/local/lib/postgresql83/bin// 
>>>> pg_config
>>>> checking PostgreSQL C flags... -I/opt/local/include/postgresql83
>>>> checking PostgreSQL linker flags... -L/opt/local/lib/postgresql83  
>>>> -lpq
>>>> checking whether to use 64-bit document/word IDs... no
>>>> checking whether to compile with libstemmer support... no
>>>> checking for libexpat... found
>>>> checking for libiconv... found
>>>> checking for iconv() arg types... char **
>>>> checking for unaligned RAM access... yes
>>
>>>> generating configuration files
>>>> ------------------------------
>>
>>>> configure: creating ./config.status
>>>> config.status: creating Makefile
>>>> config.status: creating src/Makefile
>>>> config.status: creating libstemmer_c/Makefile
>>>> config.status: creating sphinx.conf.dist
>>>> config.status: creating sphinx-min.conf.dist
>>>> config.status: creating config/config.h
>>>> config.status: config/config.h is unchanged
>>>> config.status: executing depfiles commands
>>
>>>> configuration done
>>>> ------------------
>>
>>>> You can now run 'make' to build Sphinx binaries,
>>>> and then run 'make install' to install them.
>>
>>>> As I said before, I really appreciate the help and any suggestions.
>>>> I've done a ton of googling, and just can't find the right answer  
>>>> for
>>>> my machine. I'm running Leopard 10.5.7.
>>
>>>> Chris
>>
>>>> On Jun 9, 10:35 pm, Pat Allan <[email protected]> wrote:
>>>>> Hi Chris
>>
>>>>> I think the issue is that your initial compile is still there,  
>>>>> and so
>>>>> make won't recompile and replace them (I get caught on this  
>>>>> sometimes
>>>>> as well). I think 'make clean' should remove the compiled-but-not-
>>>>> yet-
>>>>> installed binaries... I don't know how to list the inputs make  
>>>>> can be
>>>>> given.
>>
>>>>> Try 'make clean', then the configure/make/sudo-make-install  
>>>>> process
>>>>> again. If there are no errors with ./configure, that suggests  
>>>>> you're
>>>>> on the right track.
>>
>>>>> Cheers
>>
>>>>> --
>>>>> Pat
>>
>>>>> On 10/06/2009, at 12:24 AM, Chris Sund wrote:
>>
>>>>>> Hi Pat,
>>
>>>>>> I apologize for the delayed replies. I've been working a few  
>>>>>> other
>>>>>> items at the same time. I added the pg_config path to my path
>>>>>> statement and also tried your suggestion. Everything seems to
>>>>>> compile
>>>>>> ok with the exception of this one line. I'm not sure if this is  
>>>>>> the
>>>>>> problem, but when I run "make" I get the following at the  
>>>>>> bottom...
>>
>>>>>> Making all in test
>>>>>> make[1]: Nothing to be done for `all'.
>>>>>> make[1]: Nothing to be done for `all-am'.
>>
>>>>>> I simplified my index statement but I still get the following...
>>
>>>>>> using config file '/Users/Chris/obilling/config/
>>>>>> development.sphinx.conf'...
>>>>>> indexing index 'account_core'...
>>>>>> ERROR: source 'account_core_0': unknown type 'pgsql'; skipping.
>>>>>> ERROR: index 'account_core': no valid sources configured;  
>>>>>> skipping.
>>>>>> distributed index 'account' can not be directly indexed;  
>>>>>> skipping.
>>
>>>>>> I'm sure it's something really simple, but I can't seem to  
>>>>>> figure it
>>>>>> out. I have used this as a guide for the installation (http://
>>>>>> mediumexposure.com/2009/05/01/installing-sphinx-postgres- 
>>>>>> leopard).
>>>>>> I'm
>>>>>> not sure if there is an inherent problem with the steps, but  
>>>>>> like I
>>>>>> said everything seems to install just fine. If you want to see my
>>>>>> output just let me know. I didn't want to jumble this post with a
>>>>>> bunch of compilation output when I'm not sure what you might  
>>>>>> need.
>>
>>>>>> I really appreciate the help and can't beleive I haven't put my
>>>>>> finger
>>>>>> on this yet. Is there a command I can run to check the install of
>>>>>> sphinx? I'm new to the mac terminal, but I can't see anything
>>>>>> glaring
>>>>>> me in the face when it compiles. It seems to process just fine  
>>>>>> with
>>>>>> the exception of that message above.
>>
>>>>>> Chris
>>
>>>>>> On Jun 7, 9:14 pm, Pat Allan <[email protected]> wrote:
>>>>>>> Hi Chris
>>
>>>>>>> What's the output of pg_config -—pkgincludedir ?
>>
>>>>>>> You should be able to use the path it gives you and then run ./
>>>>>>> configure as follows:
>>>>>>>    ./configure --with-pgsql=[path-from-above] --without-mysql
>>
>>>>>>> Cheers
>>
>>>>>>> --
>>>>>>> Pat
>>
>>>>>>> On 07/06/2009, at 11:03 PM, Chris Sund wrote:
>>
>>>>>>>> Ok I have been looking a little closer at my output. When I run
>>>>>>>> "make"
>>>>>>>> the bottom of the output looks like this...
>>
>>>>>>>> make  install-am
>>>>>>>> g++  -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG  -arch  
>>>>>>>> x86_64 -o
>>>>>>>> indexer  indexer.o libsphinx.a   -L/opt/local/lib/ 
>>>>>>>> postgresql83/ -
>>>>>>>> lpq -
>>>>>>>> L/usr/local/lib
>>>>>>>> ld warning: in indexer.o, file is not of required architecture
>>>>>>>> ld warning: in libsphinx.a, file is not of required  
>>>>>>>> architecture
>>>>>>>> ld warning: in /opt/local/lib/postgresql83//libpq.dylib, file  
>>>>>>>> is
>>>>>>>> not
>>>>>>>> of required architecture
>>>>>>>> Undefined symbols:
>>>>>>>>  "_main", referenced from:
>>>>>>>>      start in crt1.10.5.o
>>>>>>>> ld: symbol(s) not found
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>> make[2]: *** [indexer] Error 1
>>>>>>>> make[1]: *** [install] Error 2
>>>>>>>> make: *** [install-recursive] Error 1
>>
>>>>>>>> It seems that I'm having a problem within the "make". I will do
>>>>>>>> some
>>>>>>>> more research to see if I can find the solution. If anyone else
>>>>>>>> has
>>>>>>>> come across this - their input is welcome.
>>
>>>>>>>> Chris
>>
>>>>>>>> On Jun 7, 6:50 pm, Chris Sund <[email protected]>
>>>>>>>> wrote:
>>>>>>>>> So I still need some help if I may. I have followed the
>>>>>>>>> suggestions
>>>>>>>>> with some minor modifications and everything seems to install
>>>>>>>>> just
>>>>>>>>> fine. For some reason however I still get the same error.  
>>>>>>>>> Here's
>>>>>>>>> what
>>>>>>>>> I did from the terminal...
>>
>>>>>>>>> ./configure --with-pgsql --with-pgsql-includes=/opt/local/
>>>>>>>>> include/
>>>>>>>>> postgresql83/  --with-pgsql-libs=/opt/local/lib/ 
>>>>>>>>> postgresql83/ --
>>>>>>>>> without-mysql
>>>>>>>>> make
>>>>>>>>> sudo make install
>>
>>>>>>>>> using config file '/Users/Chris/obilling/config/
>>>>>>>>> development.sphinx.conf'...
>>>>>>>>> indexing index 'account_core'...
>>>>>>>>> ERROR: source 'account_core_0': unknown type 'pgsql';  
>>>>>>>>> skipping.
>>>>>>>>> ERROR: index 'account_core': no valid sources configured;
>>>>>>>>> skipping.
>>>>>>>>> distributed index 'account' can not be directly indexed;
>>>>>>>>> skipping.
>>>>>>>>> indexing index 'name_core'...
>>>>>>>>> ERROR: source 'name_core_0': unknown type 'pgsql'; skipping.
>>>>>>>>> ERROR: index 'name_core': no valid sources configured;  
>>>>>>>>> skipping.
>>>>>>>>> distributed index 'name' can not be directly indexed;  
>>>>>>>>> skipping.
>>
>>>>>>>>> I installed postgresql8.3 from the installer rather than  
>>>>>>>>> macports
>>>>>>>>> because I wanted to use the pgadmin ability. Maybe this is my
>>>>>>>>> problem.
>>>>>>>>> Any suggestions would be helpful.
>>
>>>>>>>>> Thanks!
>>
>>>>>>>>> Chris
>>
>>>>>>>>> If I run all of this it seems to install just fine, but when I
>>>>>>>>> run
>>>>>>>>> rake ts:index I get the following error still...
>>
>>>>>>>>> On Jun 4, 8:50 am, Chris Sund <[email protected]>
>>>>>>>>> wrote:
>>
>>>>>>>>>> Thanks I'll give those suggestions a try. I appreciate the  
>>>>>>>>>> help.
>>
>>>>>>>>>> On Jun 4, 8:13 am, Pat Allan <[email protected]>  
>>>>>>>>>> wrote:
>>
>>>>>>>>>>> Hi Chris
>>
>>>>>>>>>>> It looks like you haven't installed Sphinx with PosgreSQL
>>>>>>>>>>> support. You
>>>>>>>>>>> can find instructions on how to do this in the  
>>>>>>>>>>> (relatively) new
>>>>>>>>>>> documentation site, in the UNIX 
>>>>>>>>>>> section:http://freelancing-god.github.com/ts/en/installing_sphinx.html
>>
>>>>>>>>>>> Cheers
>>
>>>>>>>>>>> --
>>>>>>>>>>> Pat
>>
>>>>>>>>>>> On 04/06/2009, at 1:38 AM, internetchris wrote:
>>
>>>>>>>>>>>> Hey everyone,
>>
>>>>>>>>>>>> I just went to a mac for my dev machine and I'm trying to
>>
>> ...
>>
>> read more »
> >


--~--~---------~--~----~------------~-------~--~----~
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