Skip to main content.
home | support | download

Back to List Archive

Re: swish-e 2.4 | 2.5 under Windows

From: Roman Chyla <chyla(at)not-real.knihovnabbb.cz>
Date: Thu Jun 02 2005 - 14:04:29 GMT
I can use Swish::Api - with one index, though

when specifying two entries ['one.index', 'two.index']
it says:
"Could not open the index file 'ARRAY(0x15ef5dc)'"

I can probably find and repair this, however there is other very, very 
strange thing

when I do
debug_options => 'dump',

swish.cgi starts and runs forever
now, I have 5 perl interpreters in the background, each of them started 
from search form and in Apache error log, there is
[Thu Jun 02 15:52:43 2005] [warn] exec() may not be safe
[Thu Jun 02 15:52:58 2005] [warn] exec() may not be safe
[Thu Jun 02 15:52:58 2005] [warn] exec() may not be safe
[Thu Jun 02 15:52:58 2005] [warn] exec() may not be safe
[Thu Jun 02 15:53:15 2005] [warn] exec() may not be safe
[Thu Jun 02 15:53:15 2005] [warn] exec() may not be safe
[Thu Jun 02 15:53:15 2005] [warn] exec() may not be safe
[Thu Jun 02 15:53:15 2005] [warn] exec() may not be safe

this is normal message when apache starts on win98, but in this case, it 
is not normal - apache restarted itself everytime I tried to do 
searching, something urged him to restart

next step, I will download and try 2.5.4 binary you provided,
thanks for help

roman



David L Norris napsal(a):
> On Wed, 2005-06-01 at 08:40 -0700, Roman Chyla wrote:
> 
>>this time it's me who is havig great frustration. I can not make swish-e 
>>2.4.3 (and 2.5.3) work under Windows 98 with swish.cgi
>>
>>I traced the problem down to windows_fork() (swish.cgi around line 1500)
> 
> 
> That is not surprising.  Reliably emulating fork() on Windows has been
> difficult.  Running a program on Windows isn't too much trouble but
> piping the output back to the "parent" program seems to be unreliable.
> Maybe someone more familiar with Perl on Windows will have an answer.
> 
> Can you use SWISH::API?  That should eliminate all fork() problems.  It
> should be as simple as uncommenting use_library=>1 in swish.cgi.
> 
> Also, I uploaded a test build of Swish-e 2.5.4 for Windows which
> includes SWISH::API.  
>   http://webaugur.com/wares/files/swish-e/swish-e-2.5.4-2005-06-01.exe
> 
Received on Thu Jun 2 07:04:35 2005