Date: Thu, 27 Jan 2005 11:42:00 -0800 (PST) From: Doug White <dwhite@gumbysoft.com> To: Richard MAHONEY <r.mahoney@comnet.net.nz> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: Need presompiled binaries of Sablotron 0.90 and 0.95 for Index Data's Keystone DLS Message-ID: <20050127111147.Y65402@carver.gumbysoft.com> In-Reply-To: <20050126184205.I57836@carver.gumbysoft.com> References: <1106644095.8792.14.camel@localhost> <20050126184205.I57836@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1816630043-1106854920=:65402 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 26 Jan 2005, Doug White wrote: > I have a RELENG_5 box I can attempt a re-port on. I was able to successfully compile Sablot 0.95 manually using the following script to set up the configure environment and one small patch to correct a C++ standards violation. You need to point it at the location of your expat installation, which is /usr/local if you used a port or package to install it. The INSTALL file actually mentions the need to set CPPFLAGS, but you also need to set LDFLAGS so the expat library check will pass. This is standard configure stuff and will pass on to the build environment. Extract Sablot, apply the patch to src/engine/parser.cpp, run the run-configure.sh script, then make && make install as usual. I haven't tested that the resulting binary can process input since I have no idea what this does, but the sablot command itself executes without ld errors or the like. Here is the run-configure.sh script: #!/bin/sh unset CFLAGS unset CPPFLAGS unset LDFLAGS CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" export CFLAGS CPPFLAGS LDFLAGS ./configure \ --prefix=/usr/local Here's the patch (also attached in case whitespace gets munched): --- parser.cpp Tue Jun 25 00:51:06 2002 +++ parser-new.cpp Thu Jan 27 11:35:16 2005 @@ -423,7 +423,7 @@ if (!(firstTime && rawBuffer[0] == (char) 0xEF && rawBuffer[1] == (char) 0xBB && rawBuffer[2] == (char) 0xBF)) S.setCurrLine(XML_GetCurrentLineNumber(parser)); - int code = XML_GetErrorCode(parser); + XML_Error code = XML_GetErrorCode(parser); Str eCodeStr, eNameStr; eCodeStr = code; eNameStr = (char*) XML_ErrorString(code); -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org --0-1816630043-1106854920=:65402 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="parser.cpp.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20050127114200.O65402@carver.gumbysoft.com> Content-Description: Content-Disposition: attachment; filename="parser.cpp.patch" LS0tIHBhcnNlci5jcHAJVHVlIEp1biAyNSAwMDo1MTowNiAyMDAyDQorKysg cGFyc2VyLW5ldy5jcHAJVGh1IEphbiAyNyAxMTozNToxNiAyMDA1DQpAQCAt NDIzLDcgKzQyMyw3IEBADQogICAgICAgICBpZiAoIShmaXJzdFRpbWUgJiYg cmF3QnVmZmVyWzBdID09IChjaGFyKSAweEVGICYmIA0KICAgICAgICAgICAg IHJhd0J1ZmZlclsxXSA9PSAoY2hhcikgMHhCQiAmJiByYXdCdWZmZXJbMl0g PT0gKGNoYXIpIDB4QkYpKQ0KICAgICAgICAgICAgIFMuc2V0Q3VyckxpbmUo WE1MX0dldEN1cnJlbnRMaW5lTnVtYmVyKHBhcnNlcikpOw0KLSAgICAgICAg aW50IGNvZGUgPSBYTUxfR2V0RXJyb3JDb2RlKHBhcnNlcik7IA0KKyAgICAg ICAgWE1MX0Vycm9yIGNvZGUgPSBYTUxfR2V0RXJyb3JDb2RlKHBhcnNlcik7 IA0KICAgICAgICAgU3RyIGVDb2RlU3RyLCBlTmFtZVN0cjsNCiAgICAgICAg IGVDb2RlU3RyID0gY29kZTsNCiAgICAgICAgIGVOYW1lU3RyID0gKGNoYXIq KSBYTUxfRXJyb3JTdHJpbmcoY29kZSk7DQo= --0-1816630043-1106854920=:65402--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050127111147.Y65402>