Michael,

we are not aware of any successful port of Sablotron to BSD, although
several people have tried. At
http://www.gingerall.com/archives/sablot/msg00062.html
you can find some of our correspondence with Andrew McNaughton who had
the promising idea of using autoconf for Sablotron. I attach 
another message quoting what some others wrote about FreeBSD.

We did modify a few declarations in the expat headers and sort of forgot
about it, but it's clearly desirable to use the standard distribution of
expat, probably with a makefile of our own. We'll make the change when
time permits. 

However I think the modifications are quite innocent, so Sablotron ought
to work with your copy of expat as well if you are willing to hack the
makefile. 

Thanks for your interest,

Tom Kaiser
(Ginger Alliance)


Michael Dewberry wrote:
> 
> Has anyone successfully compiled Sablotron (I'm using 0.36) on any BSD
> OS?  On OpenBSD 2.6 (x86) I get compile errors in the expat sources, which
> I've attached below.
> 
> This is probably a makefile-related issue, since the distribution of expat
> from jclark.com compiles just fine using BSD make (I have to use GNU make
> to use the Linux makefiles for Sablotron.)
> 
> Are the Sablotron expat sources substantially different from the original
> distribution, i.e., could I just plug in the expat that I can compile to
> get around this problem?  Is anyone working on a BSD port for Sablotron?
> 
> Thanks,
> Mike Dewberry
> 
> gmake[1]: Entering directory `/home/dewb/Sablot-0.36/Expat/Linux'
> cc -O2 -I../xmltok -I../xmlparse -I../xmlwf -DXML_NS -fPIC -c -o
> ../xmltok/xmltok.o ../xmltok/xmltok.c
> In file included from ../xmltok/xmltok.c:32:
> ../xmltok/xmltok.h:267: syntax error before `XmlParseXmlDecl'
> ../xmltok/xmltok.h:277: syntax error before `XmlInitEncoding'
> ../xmltok/xmltok.h:278: syntax error before `*'
> ../xmltok/xmltok.h:279: syntax error before `*'
> ../xmltok/xmltok.h:280: syntax error before `XmlUtf8Encode'
> ../xmltok/xmltok.h:281: syntax error before `XmlUtf16Encode'
> ../xmltok/xmltok.h:283: syntax error before `XmlSizeOfUnknownEncoding'
> ../xmltok/xmltok.h:284: syntax error before `*'
> ../xmltok/xmltok.h:290: syntax error before `XmlParseXmlDeclNS'
> ../xmltok/xmltok.h:299: syntax error before `XmlInitEncodingNS'
> ../xmltok/xmltok.h:300: syntax error before `*'
> ../xmltok/xmltok.h:301: syntax error before `*'
> ../xmltok/xmltok.h:302: syntax error before `*'
Subject: Re: FreeBSD Makefile?
Date: Tue, 06 Jun 2000 08:48:14 퍭
From: Kaiserovi <[EMAIL PROTECTED]>
To: Anthony Collen <[EMAIL PROTECTED]>

Tony,

> > We can forward their messages to you if you like.
> Sure, that'd be great!
Here they are:

-------- May 19, 2000

"Sergey G. Kurov" [[EMAIL PROTECTED]] wrote:
>
> Hello.
>
> My name Sergey, I'm from Russia. I am really interested in running
> sablotron on free BSD platform. May be I can tune it's source to BSD.
> If you know something that can accelerate the tuning process, please
> inform me.
>
> Best regards,
>  Sergey                          mailto:[EMAIL PROTECTED]

-------- May 23, 2000

"Mark A. Hershberger" [[EMAIL PROTECTED]] wrote:
>
> I'm working on a FreeBSD port of Sablotron.  I have it all packaged up
> (<http://mah.everybody.org/hacks/ports/sablotron-0.35.tgz> for the
> package and <http://mah.everybody.org/hacks/ports/sablotron.tar.gz>
> for the port), but I linked against libexpat.a instead of libxml*,
> thinking it would be the same.
>
> Also, I replaced ftime with gettimeofday because the man pages on
> FreeBSD said to (and it wouldn't compile with ftime).
>
> However, it doesn't work yet.  One of the above changes causes it to
> crash if I do anything more than a simple `sabcmd'.
>
> I'm not much of a C++ or C programmer, so it'll be some effort, but I
> plan on putting a debugger on it when I get a sec.  I'm simply posting
> this in case there is someone who really wants to see Sablotron on
> FreeBSD.  That person would have some hope.
>
> Mark.

Reply via email to