[redland-dev] Using Cygwin on XP

Dave Beckett dave at dajobe.org
Tue Feb 7 17:00:06 GMT 2006


Scott L. Holmes wrote:
> My first email to the list.
> 
> I recently started to work with Redland. Here's
> what I've done so far:
> 
> I downloaded and installed Cygwin on my XP box. I
> installed what I think are the necessary
> packages. When I run ./configure for
> Rapter-1.4.8, rapper gets built OK and seems to
> work. I'm getting a status of No for the libxml's
> nanohttp (could be a clue). The tests always bomb
> out on turtle however. I was hoping that it's
> because I don't have a package installed (make
> tells me I have an undefined symbol!).

It does?  What symbol?

> Here's an excerpt from the make check.
> 
> <snip>
> PASS: raptor_set_test
> PASS: raptor_xml_test
> ===================
> All 13 tests passed
> ===================
> make[2]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/src'
> make[1]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/src'
> Making check in utils
> make[1]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/utils'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/utils'
> Making check in docs
> make[1]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/docs'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/docs'
> Making check in data
> make[1]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/data'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/data'
> Making check in tests
> make[1]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/tests'
> Making check in turtle
> make[2]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/tests/turtle'
> make  check-local
> make[3]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/tests/turtle'
> make[4]: Entering directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/utils'
> make[4]: `rapper' is up to date.
> make[4]: Leaving directory
> `/cygdrive/c/platform/redland/raptor-1.4.8/utils'
> Testing legal Turtle
> Checking test-00.ttl FAILED
> 1c1
> < _:genid1
> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x>
> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y>
> .---
> 
>>_:genid1
> 
> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x>
> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y>
> ..

They look pretty similar to me. Maybe this is line-ending problem that
diff is reporting?

> Checking test-01.ttl FAILED
> 1,3c1,3
> < <http://example.org/base1#a>
> <http://example.org/base1#b>
> <http://example.org/base1#c> .<
> <http://example.org/base2#a>
> <http://example.org/base2#b>
> <http://example.org/base2#c> .<
> <http://example.org/base1#a>
> <http://example.org/base2#a>
> <http://example.org/base3#a> .---
> <snip>
> 
> If anyone has tried Cygwin or knows what might be
> up, I'd be indebited for sure. Ultimately, my
> goal is get Redland working with Ruby (and
> hopefully Rails). I'm exceedingly excited about
> this prospect, so I'm really hoping I can get
> everything going.

I don't think I ever tried that but I've heard that it can be made to
work.  I don't develop on windows so have no more suggestions.

Aside: I think there might be a new MS VC build of redland out
shortly as John mentioned it on IRC.  Since *that* one already ships
with python, php5 and C#, I don't see why cygwin would be that much harder!

> Let me know if I should send more output. I
> didn't want my first post to be 60K of basically
> nothing.

It sounds from the above that the apps actually are working, as rapper
is generating triples.  The missing symbol is a bit worrying.

Dave


More information about the redland-dev mailing list