I'm sorry for reporting so late
I tried to move the first statically built binary from Debian to
Slackware and found that swish-e reports
"swish not built with zlib support" and "Unknown document type HTML2" ->
zlib and libxml2 missing
so I returned back to Debian and tried the binary - but, as I could see
- also was not compiled in, (libxml2 and also zlib still there in tmp
directory used to built swish-e)
I tried reading and playing then
this might be wrong but it seemed to me, that buildswishe.pl did not set
path for xml2-config and configure missed it during compilation,
I tried to set PATH variable beforehand (putting path-to xml2-config in
it) but result was the same
(before that, I tried to run make alone, and swish-e was compiled
successfully, with libxml2)
so I am completely lost on this - however Peter Karman definitelly
helped me, showed me the way, buildswishe.pl did the dirty work of
installing libxml2 and perhaps, you could find remedy for this "sickness".
if I can help, please tell me how - below is the flow of configure
commands from buildswishe.pl(my configuration: gcc 3.3.4, Debian, kernel
2.4..., without libxml2 and zlib installed by root)
#this is zlib
#this is libxml2
/configure --prefix=/var/home/knihovnik/tmp/pokus3 LDFLAGS='-Wl,-rpath
#this is swish-e
#this should be swish_api ?
/usr/bin/perl Makefile.PL PREFIX=/var/home/knihovnik/tmp/pokus3
LIBS='-L/var/home/knihovnik/tmp/pokus3/lib -lswish-e -lz'
Peter Karman wrote:
> Roman Chyla wrote on 11/1/04 9:08 AM:
>>I have just tried the buildswishe.pl program - there was old path to zlib
> yes, I can see the typo. I'll put a fix in today.
>>Many thanks to Peter Karman
> you're welcome. glad it worked. thanks for trying it out.
>>Later, I will try to build swish-e at home (Slackware 9, with zlib and
>>libxml, and without) and copy to webserver machine and see...
>>.. and possibly, I might try the worst possible variant, ISP without shell
> Bill's comments about --prefix and DESTDIR should be heeded, however. I
> know that buildswishe.pl uses --disable-shared to try and avoid the
> dynamic linking issues that sometimes occur when moving binaries around,
> but that might not be enough when moving from your local machine to your
> let us know, either way.
Received on Mon Nov 8 07:36:52 2004