Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] 2.4.6 for perl 5.10

From: Thomas den Braber <thomas(at)not-real.delos.nl>
Date: Mon Jan 26 2009 - 19:13:24 GMT
To make it complete:

I have setup a system on Ubuntu 7.10, I can compile 2.4.5 without any
problems but doing exact the same thing with the 2.4.6 source I also get
this error:

*** Warning: linker path does not have real file for library -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libz and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/home/jars/swish-build/swish-e/../zlib/lib/libz.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

and libswish-e.dll.a is not created

----
Thomas

-----Original Message-----
From: "Thomas den Braber" <thomas@delos.nl>
To: users@lists.swish-e.org
Date: Mon, 26 Jan 2009 17:44:37 +0100
Subject: [swish-e] 2.4.6 for perl 5.10

> Hallo,
> 
> I am trying to compile version 2.4.6 for Activestate Perl 5.10 (1002)
> wit
> instructions found on the wiki.
> 
> Every thing goes well until it wants to build the perl API.DLL.
> It is looking for a libswish-e.dll.a in the .libs directory but there
> is
> only a libswish-e.a 
> So I changed the Makefile to use libswish-e.a instead but that gives
> the
> following errors:
> 
> make -f Makefile.mingw 
> mkdir -p blib/arch/auto/SWISH/API
> i586-mingw32msvc-gcc -shared -o blib/arch/auto/SWISH/API/API.dll -I
> ../../perl/lib/CORE -I ../src API.c ../src/.libs/libswish-e.a
> ../../perl/bin/perl510.dll
> ../src/.libs/libswish-e.a(docprop.o): In function
> `ReadSingleDocPropertiesFromDisk':
> /home/jars/swish-build/swish-e/src/docprop.c:1297: undefined reference
> to
> `_uncompress'
> ../src/.libs/libswish-e.a(compress.o): In function `compress_worddata':
> /home/jars/swish-build/swish-e/src/compress.c:886: undefined reference
> to
> `_compress2'
> /home/jars/swish-build/swish-e/src/compress.c:767: undefined reference
> to
> `_deflateInit_'
> /home/jars/swish-build/swish-e/src/compress.c:796: undefined reference
> to
> `_deflate'
> /home/jars/swish-build/swish-e/src/compress.c:838: undefined reference
> to
> `_deflate'
> /home/jars/swish-build/swish-e/src/compress.c:872: undefined reference
> to
> `_deflateEnd'
> /home/jars/swish-build/swish-e/src/compress.c:852: undefined reference
> to
> `_deflateEnd'
> ../src/.libs/libswish-e.a(compress.o): In function
> `uncompress_worddata':
> /home/jars/swish-build/swish-e/src/compress.c:922: undefined reference
> to
> `_uncompress'
> collect2: ld returned 1 exit status
> make: *** [blib/arch/auto/SWISH/API/API.dll] Error 1
> 
> What am I doing wrong ?
> Please help me so I can finally test the 2.4.6 release under perl 5.10
> 
> Thanks,
> 
> Thomas den Braber
> 
> 
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Jan 26 14:05:06 2009