Skip to main content.
home | support | download

Back to List Archive

Re: Quick question

From: Colin Kuskie <ckuskie(at)not-real.sterlink.net>
Date: Fri Apr 12 2002 - 04:22:33 GMT
On Thu, 11 Apr 2002 15:40:47 -0700 (PDT)
Bill Moseley <moseley@hank.org> wrote:

> The swish program is flexible, so should be its name. ;)
> 
> I don't really have an opinion.  I don't like SWISH-E because it hurts my
> finger holding down the shift key.

You're the man.

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.

Which brings me back to the original problem that prompted me to try a
new version, but I'll send that in a separate email.

Colin

MakeMaker (v5.4302)
        DIR => []
        LIBS => [q[-L/usr/lib -lswish-e -lm -lxml2], q[-L/usr/lib -lswish-e -lm -lxml2]]
        NAME => q[SWISHE]
        NORECURS => q[1]
        PREREQ_PM => {  }
        VERSION_FROM => q[SWISHE.pm]
Using PERL=/usr/bin/perl
Potential libraries are '-L/usr/lib -lswish-e -lm -lxml2':
'-lswish-e' found at /usr/lib/libswish-e.a
'-lm' found at /usr/lib/libm.so
xml2 not found in /usr/lib
xml2 not found in /usr/local/lib
xml2 not found in /lib
xml2 not found in /usr/lib
Note (probably harmless): No library found for -lxml2
Writing Makefile for SWISHE
[root@joseph perl]# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/SWISHE
mkdir blib/lib/auto
mkdir blib/lib/auto/SWISHE
mkdir blib/man3
cp SWISHE.pm blib/lib/SWISHE.pm
/usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 /usr/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.00503/ExtUtils/typemap SWISHE.xs >xstmp.c && mv xstmp.c SWISHE.c
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486 -fno-strength-reduce    -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE  SWISHE.c
Running Mkbootstrap for SWISHE ()
chmod 644 SWISHE.bs
LD_RUN_PATH="/usr/lib" cc -o blib/arch/auto/SWISHE/SWISHE.so  -shared -L/usr/local/lib SWISHE.o    -L/usr/lib -lswish-e -lm
chmod 755 blib/arch/auto/SWISHE/SWISHE.so
cp SWISHE.bs blib/arch/auto/SWISHE/SWISHE.bs
chmod 644 blib/arch/auto/SWISHE/SWISHE.bs
Manifying blib/man3/SWISHE.3
/usr/bin/pod2man: SWISHE.pm is missing required section: DESCRIPTION
[root@joseph perl]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 test.pl
Can't load 'blib/arch/auto/SWISHE/SWISHE.so' for module SWISHE: blib/arch/auto/SWISHE/SWISHE.so: undefined symbol: compress2 at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.

 at test.pl line 13
BEGIN failed--compilation aborted at test.pl line 13.
make: *** [test_dynamic] Error 255
Received on Fri Apr 12 04:24:26 2002