Mailing List Archive

Best devel revision to play with
Hello Marvin,

I take it devel revision 2581 is in flux at the moment (see below for
error) - if so, which revision do you recommend I checkout to play with in
the meantime?

...or did I miss something important in the mailing list which I need to
change? ...or is my perl landscape b0rken?

Regards
Henry

----
% perl -c schema.pm
Can't load
'/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/KinoSearch/KinoSearch.so'
for module KinoSearch:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/KinoSearch/KinoSearch.so:
undefined symbol: PL_stack_sp at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 70.
at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch.pm
line 15
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/Util/ToolSet.pm
line 24.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/Util/ToolSet.pm
line 24.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/FieldSpec/text.pm
line 5.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/FieldSpec/text.pm
line 5.
Compilation failed in require at (eval 2) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/KinoSearch/Schema/FieldSpec.pm
line 2.
Compilation failed in require at (eval 1) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at schema.pm line 27.

The relevant snippet is (similar failure with/out LongFieldSim):

package Test::Schema;
use strict;
use warnings;

#use KSx::Search::LongFieldSim;

package Test::Schema::title;
use base 'KinoSearch::Schema::FieldSpec';
sub boost { 10 }

package Test::Schema::body;
use base 'KinoSearch::Schema::FieldSpec';
sub vectorized { 1 }
sub compressed { 1 }
#sub similarity { KSx::Search::LongFieldSim->new }

...


_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
Re: Best devel revision to play with [ In reply to ]
On Oct 20, 2007, at 10:52 AM, Henry wrote:

> I take it devel revision 2581 is in flux at the moment (see below for
> error) - if so, which revision do you recommend I checkout to play
> with in
> the meantime?

2581 should be fine. I just tested fresh checkouts on a couple
systems for good measure.

> ...or did I miss something important in the mailing list which I
> need to
> change?

No, nothing has gone by.

> ...or is my perl landscape b0rken?

Something's messed up. Dunno what.

> % perl -c schema.pm
> Can't load
> '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/
> KinoSearch/KinoSearch.so'
> for module KinoSearch:
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/
> KinoSearch/KinoSearch.so:
> undefined symbol: PL_stack_sp at

PL_stack_sp is a standard Perl symbol which has been around since 5.4
and is still there in blead. It's not used by anything in KS in
particular.

slothbear:~/projects/ks marvin$ ack PL_stack_sp
perl/ppport.h
636:PL_stack_sp|5.004050||p
3622: PL_stack_sp = PL_stack_base + ax + ((off) - 1); \
3697:# define PL_stack_sp stack_sp

slothbear:~/projects/ks marvin$

> The relevant snippet is (similar failure with/out LongFieldSim):

Can you even just 'use KinoSearch;' ?

How about checking out a fresh copy and running the test suite, does
that work?

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
Re: Best devel revision to play with [ In reply to ]
Thanks for the feedback, Marvin (didn't get the list email you posted btw).

A fresh checkout did the trick (as opposed to an update) - my last
checkout must have been broken for some reason.

Silly of me not to think of the obvious - especially after a new distro
installation on the server.

Regards
Henry


_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
Re: Re: Best devel revision to play with [ In reply to ]
On Oct 22, 2007, at 1:53 AM, Henry wrote:

> (didn't get the list email you posted btw).

Hmm, that's curious. Hopefully rectangular.com or it's IP hasn't
ended up on some spam blacklist somewhere. I got tagged once by AOL
before (erroneously, of course). Have you gotten the last few commit
emails from over the weekend?

> A fresh checkout did the trick (as opposed to an update) - my last
> checkout must have been broken for some reason.

Maybe you performed an "svn up" from trunk/perl rather than trunk/ ?
If so, it wouldn't be the first time someone had done something like
that. ;)

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



_______________________________________________
KinoSearch mailing list
KinoSearch@rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch