At 09:21 PM 04/11/02 -0700, Colin Kuskie wrote:
>I downloaded the latest snapshot and tried to compile it, the library
>and the perl module and found the problem. It's the perl module.
>When I try 'make test' in /perl then I get what's pasted below.
>I've tried installing libswish-e in /usr/local/lib and /usr/lib with
>the same results.
Of course you don't need to build the perl module to use swish.
Hum, I'm having ok results.
I just downloaded the current tarball and built swish-e and the perl module
on the following platforms without any problems:
Distribution gcc perl kernel (not that it matters)
SuSE 6.3 2.95.3 5.6.0 2.2.12
Debian Sid 2.95.4 5.6.1 2.4.14
Linux 2.7.2 5.6.1 2.2.20
FreeBSD 2.95.3 5.005_03 4.5-STABLE
SunOS 5.6 2.95.1 5.005_03 sparc SUNW,Ultra-Enterprise
This fails with `PL_sv_undef' undeclared, which is due to the
old version of perl.
Linux 2.7.2 5.004_1 2.2.20
Now, your session:
..
>Writing Makefile for SWISHE
>[root@joseph perl]# make
You don't need to be root to build, and it's probably better not to be root.
You are linking with an old libswish-e.a file.
>'-lswish-e' found at /usr/lib/libswish-e.a
Try deleting that. Then it should use the library in ../src, which you
just built.
Mine says this:
'-lswish-e' found at
/data/_g/lii/z/swish-e-2.1-dev-25/perl/../src/libswish-e.a
My Makefile.PL says:
LIBS => [q[-L../src -lswish-e -lm -lxml2], q[-lswish-e -lm -lxml2]]
so, I think, -L../src says to look in ../src first.
Your's says:
LIBS => [q[-L/usr/lib -lswish-e -lm -lxml2], q[-L/usr/lib -lswish-e -lm
-lxml2]]
Which doesn't make sense. How did that get changed? Take a look at
Makefile.PL and see what that line says.
--
Bill Moseley
mailto:moseley@hank.org
Received on Fri Apr 12 05:31:07 2002