On Mar 19, 2010, at 12:02 AM, Troy Wical wrote:
> Ok, just now getting back to this. I just installed SWISH::Prog via
> cpan. Then downloaded swish3 from http://cpansearch.perl.org/src/KARMAN/SWISH-Prog-0.42/examples/
> . Version 0.33 was gone by the time I got to this. I made the file
> executable, but when I run it, it fails at line 9. Line 9 tries to
> reference the SWISH::3 module, which I am not able to build via cpan
> because I don't have libswish3 and libxml2.
>
> This is all running from a BSD box. Debian is more my thing, but I am
> getting the hang of ports too now. But of course, neither of these
> two programs are available in the ports directory. I've been googling
> for a bit now and am having a hard time figuring out how to get these
> two installed. Can I just git SWISH-3 from http://github.com/gitpan/SWISH-3
> and then do a 'make' from within the downloaded directory?
Getting a little bit further now. I downloaded the latest daily
release of libswish3 (specifically libswish3-0.1.2920-20100318) and am
trying to compile it. The build is running into a hiccup though, with
the following...
###########################################
[~/swish3/libswish3-0.1.2920-20100318]# make check
Making check in src
Making check in libswish3
if /usr/local/bin/bash ../../libtool --tag=CC --mode=compile gcc -
DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -Wall `/usr/local/
bin/xml2-config --cflags` -g -O2 -MT string.lo -MD -MP -MF ".deps/
string.Tpo" -c -o string.lo string.c; then mv -f ".deps/string.Tpo"
".deps/string.Plo"; else rm -f ".deps/string.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -Wall -I/usr/
local/include/libxml2 -I/usr/local/include -g -O2 -MT string.lo -MD -
MP -MF .deps/string.Tpo -c string.c -fPIC -DPIC -o .libs/string.o
string.c:44:18: error: utf8.c: No such file or directory
string.c: In function 'swish_utf8_next_chr':
string.c:196: warning: implicit declaration of function 'u8_inc'
string.c: In function 'swish_utf8_prev_chr':
string.c:205: warning: implicit declaration of function 'u8_dec'
string.c: In function 'swish_verify_utf8_locale':
string.c:335: warning: implicit declaration of function
'u8_is_locale_utf8'
string.c: In function 'swish_str_escape_utf8':
string.c:381: warning: implicit declaration of function 'u8_escape'
string.c: In function 'swish_str_unescape_utf8':
string.c:396: warning: implicit declaration of function 'u8_unescape'
*** Error code 1
Stop in /usr/home/swish3/libswish3-0.1.2920-20100318/src/libswish3.
*** Error code 1
Stop in /usr/home/swish3/libswish3-0.1.2920-20100318/src.
*** Error code 1
Stop in /usr/home/swish3/libswish3-0.1.2920-20100318.
###########################################
Can these be downloaded from somewhere?
Thanks, Troy
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Mar 19 02:19:16 2010