Mark,
thanks for your message and the porting effort. I include an
off-the-list message from Sergey Kurov who also said he planned to port
Sablotron to FreeBSD. Maybe he's got a clue as to what's causing the
problem you describe?
Anyway, does sabcmd crash when you run it even on the simplest sources?
Or on non-existent files? Also, the distribution includes xmlparse.h,
which is a header file for expat; does this match your libexpat.a?
Finally, how about trying to link sabcmd statically with Sablotron and
expat, to see if the problem persists?
I'd certainly check xmlparse.h in case you are using it. Keep in touch,
Tom Kaiser,
Ginger Alliance
---------------
Here's what Sergey Kurov 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]
----------------
"Mark A. Hershberger" 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.