Thread View: comp.infosystems.wais
3 messages
3 total messages
Started by Jean Guillou
Mon, 12 Aug 1996 00:00
Can't build Wais-2.114 (PERL5.003) (Long)
Author: Jean Guillou
Date: Mon, 12 Aug 1996 00:00
Date: Mon, 12 Aug 1996 00:00
94 lines
5359 bytes
5359 bytes
Hello
The configuration: Irix 5.3 , gcc 2.7.1 , perl5.003 compiled with
dl_dlopen.xs. (It doesn't compile with dl_dld.xs)
The perl tests are all OK.
FreeWAIS-sf.2.0.65 tests are OK ( but the last 2 PROXYMITY and GERMAN)
I'm trying to build Wais-2.114, it compiles ok (with method 2) but the tests
gives:
t/basic.............Can't load './blib/arch/auto/Wais/Wais.so' for module
Wais: 3198:/usr/local/bin/perl: rld: Fatal Error: unresolvable symbol
in ./blib/arch/auto/Wais/Wais.so: locally_answer_message at
/usr/local/lib/perl5/DynaLoader.pm line 140.
Question: how can I successfully build Wais?
--------
Other Infos:
1)
at line 140 of DynaLoader.pm
my $libref = dl_load_file($file) or
Carp::croak("Can't load '$file' for module $module: ".dl_error()."\n");
And just above in Dynaloader.pm are those comments
# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.
2 ) With static binding
gcc -L/usr/local/lib -o waisperl -O ./perlmain.o /usr/local/lib/perl5/IP22-irix/5.003/CORE/libperl.a /usr/local/lib/perl5/IP22-irix/5.003/auto/Socket/Socket.a /usr/local/lib/perl5/IP22-irix/5.003/auto/Safe/Safe.a /usr/local/lib/perl5/IP22-irix/5.003/auto/SDBM_File/SDBM_File.a /usr/local/lib/perl5/IP22-irix/5.003/auto/POSIX/POSIX.a /usr/local/lib/perl5/IP22-irix/5.003/auto/ODBM_File/ODBM_File.a /usr/local/lib/perl5/IP22-irix/5.003/auto/NDBM_File/NDBM_File.a /usr/local/lib/perl5/IP22-irix/5.003/auto/GDBM_File/GDBM_File.a /usr/local/lib/perl5/IP22-irix/5.003/auto/FileHandle/FileHandle.a /usr/local/lib/perl5/IP22-irix/5.003/auto/Fcntl/Fcntl.a /usr/local/lib/perl5/IP22-irix/5.003/auto/DynaLoader/DynaLoader.a ./blib/arch/auto/Wais/Wais.a `cat ./blib/arch/auto/Wais/extralibs.all` -lgdbm -lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
/usr/lib/ld:
Unresolved:
locally_answer_message
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Argh this ?!*##%~}{^ locally_answer_message
3 ) recompiling freeWAIS-sf.2.0.65 with -DLOCAL_SEARCH , no dynamic
loading (in Perl), then compiling Wais, gives
thalie 53# make test
make -f Makefile.aperl waisperl
`waisperl' is up to date.
PERL_DL_NONLAZY=1 ./waisperl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/IP22-irix/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/basic.............ok
t/dict..............ok
t/ndict.............FAILED test 4
Failed 1/15 tests, 93.33% okay
t/parallel..........ok
Failed 1 test script, 75.00% okay. 1/33 subtests failed, 96.97% okay.
*** Error code 2 (bu21)
thalie 54# make install
Installing /usr/local/lib/perl5/site_perl/IP22-irix/./auto/Wais/Wais.a
Installing /usr/local/lib/perl5/site_perl/IP22-irix/./auto/Wais/extralibs.ld
Installing /usr/local/lib/perl5/site_perl/IP22-irix/./auto/Wais/extralibs.all
Installing /usr/local/lib/perl5/site_perl/./Wais/Dict.pm
Installing /usr/local/lib/perl5/site_perl/./Wais.pod
Installing /usr/local/lib/perl5/site_perl/./Wais.pm
Installing /usr/local/lib/perl5/man/man3/./Wais.3
Installing /usr/local/bin/./inspect
Writing /usr/local/lib/perl5/site_perl/IP22-irix/auto/Wais/.packlist
Appending installation info to /usr/local/lib/perl5/IP22-irix/5.003/perllocal.pod
umask 0 && cp chat2.pl /usr/local/lib/perl5/site_perl/IP22-irix/chat2.pl
rm -f /usr/local/lib/perl5/site_perl/chat2.pl
Can't load module Wais, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the Wais module statically linked into it.) <=\\
at /usr/local/lib/perl5/site_perl/Wais.pm line 58 ||
BEGIN failed--compilation aborted at -e line 1. ||
*** Error code 2 (bu21) ||
thalie 55# ||
Yes may be, But how do I do that ? ==============//
Ps : Mes excuses pour fr.comp.infosystemes
--
Jean Guillou Universit� Pierre Mend�s France
T�l + 33 76 82 40 21 (40 13) Centre des Langues Vivantes. B�t. 1er cycle
Fax + 33 76 82 40 02 BP 47
E-Mail Jean.Guillou@grenet.fr 38040 GRENOBLE CEDEX 9
< Les propos ci-dessus n'engagent que leur auteur >
Re: Can't build Wais-2.114 (PERL5.003) (Long)
Author: Leopoldo Saggin
Date: Tue, 13 Aug 1996 00:00
Date: Tue, 13 Aug 1996 00:00
38 lines
2219 bytes
2219 bytes
In article <4unfdl$76e@naiad.grenet.fr>, jg@ccomm.grenet.fr (Jean Guillou) wrote: >Hello > >The configuration: Irix 5.3 , gcc 2.7.1 , perl5.003 compiled with > dl_dlopen.xs. (It doesn't compile with dl_dld.xs) > >The perl tests are all OK. >FreeWAIS-sf.2.0.65 tests are OK ( but the last 2 PROXYMITY and GERMAN) > I also had some problems (my configuration: Linux 1.2.13 + gcc 2.7.0) So I wrote to Ulrich who prepared a patched Makefile.PL. I compile with the old method (ie with references to 'unclered' fwsf sources, *not* with the new method). Itried to send you this + the patched version. but I had the post back. Error in delivering. So, please write me if you want/need this. However, please note that, in my hand, the third test (dict) starts to run and goes on indefinetely until an outr of memory message appears (two different computers, both with perl 5.002 and 5.003) I contacted Ulrich who wasn't able to reproduce the error. However he told me the test is not important for SFgate. Hoping this helps. Leopoldo saggin ---------------------------------------------------------------- Leopoldo Saggin M.D Ph.D - Vallisneri Computing Center University of Padova - Via Trieste, 75 e-mail: lsaggin@civ.bio.unipd.it - 35121 PADOVA - ITALY Voice: +39 (49) 827-6016 - Fax: +39 (49) 827-6009 http://www.bio.unipd.it/people/leopoldo.html ----------------------------------------------------------------
Re: Can't build Wais-2.114 (PERL5.003) (Long)
Author: Jean Guillou
Date: Tue, 13 Aug 1996 00:00
Date: Tue, 13 Aug 1996 00:00
39 lines
2039 bytes
2039 bytes
In article <yfmbuggabmn.fsf@ls6.informatik.uni-dortmund.de>, Ulrich Pfeifer <pfeifer@ls6.informatik.uni-dortmund.de> writes:
|> Jean> Question: how can I successfully build Wais?
|>
|> Did you comppile freeWAIs-sf with local search? If not: Be not
|> surprized about that result. It's not in the README -
|> :-(. On some systems the module will work until you want to used the
|> local_ functions.
|>
No. I didn't. And that's the answer.
So IRIX 5.3
gcc 2.7.1
Perl 5.003 compiled with dynamic loading (set in Configure script) using
the dl_dlopen.xs program.
freeWAIS-sf.2.0.65 compiled with -DLOCAL_SEARCH on
Wais-2.114 compiled with method 2 (see README of Wais-2.114 to know about
this method 2)
SFgate.5.020 (nothing special)
This set of values gives something which passes all tests and seems to
work well on my configuration.
Ouf!
|>
|> So the easiest way to solve the problem would be recompiling
|> freeWAIS-sf. I'll put it on my TODO for Wais.pm
|>
|> Ulrich Pfeifer
|> --
|> @J = split //,"J!k Phau^eHeens%rarrot&\ncl t ";
|> for(0..24){print $J[$_*7%($#J+1)]}
--
Jean Guillou Universit� Pierre Mend�s France
T�l + 33 76 82 40 21 (40 13) Centre des Langues Vivantes. B�t. 1er cycle
Fax + 33 76 82 40 02 BP 47
E-Mail Jean.Guillou@grenet.fr 38040 GRENOBLE CEDEX 9
< Les propos ci-dessus n'engagent que leur auteur >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads