[redland-dev] Does latest version of redland compile with win32 ?

jrosello at pikko-software.com jrosello at pikko-software.com
Thu Aug 14 08:14:19 BST 2008


Hi all,
i spent hours trying to compile redland on windows xp,
i modified the configure like explained in the documentation, downloaded 
and compiled libxml, tryed to place it directly in raptor directory, but 
raptor does not want to compile.
I ran configure before, it worked well
Here is the message i got (compiling with mingw32 and msys, using make)

$ make
Making all in src
make[1]: Entering directory `/c/Julien/redland-1.0.8/raptor/src'
make  all-am
make[2]: Entering directory `/c/Julien/redland-1.0.8/raptor/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   
-DRAPTOR_INTERNAL=1 -I./libxml   -DLIBRDFA_IN_RAPTOR -I../librdfa -g -O2 
-MT raptor_parse.lo -MD -MP -MF .deps/raptor_parse.Tpo -c -o 
raptor_parse.lo raptor_parse.c
 gcc -DHAVE_CONFIG_H -I. -DRAPTOR_INTERNAL=1 -I./libxml 
-DLIBRDFA_IN_RAPTOR -I../librdfa -g -O2 -MT raptor_parse.lo -MD -MP -MF 
.deps/raptor_parse.Tpo -c raptor_parse.c  -DDLL_EXPORT -DPIC -o 
.libs/raptor_parse.o
In file included from raptor_parse.c:31:
./win32_raptor_config.h:48:1: warning: "RAPTOR_XML_LIBXML" redefined
In file included from raptor_parse.c:27:
./raptor_config.h:263:1: warning: this is the location of the previous 
definition
In file included from raptor_parse.c:51:
raptor_internal.h:193:27: libxml/parser.h: No such file or directory
In file included from raptor_parse.c:51:
raptor_internal.h:201: error: syntax error before '*' token
raptor_internal.h:206: error: syntax error before "xc"
raptor_internal.h:207: error: syntax error before "xmlErrorPtr"
raptor_internal.h:788:23: curl/curl.h: No such file or directory
raptor_internal.h:789:24: curl/types.h: No such file or directory
raptor_internal.h:790:23: curl/easy.h: No such file or directory
raptor_internal.h:809: error: syntax error before "CURL"
raptor_internal.h:809: warning: no semicolon at end of struct or union
raptor_internal.h:810: error: `CURL_ERROR_SIZE' undeclared here (not in 
a function)
raptor_internal.h:857: error: syntax error before '}' token
raptor_internal.h:929: error: syntax error before "xmlSAXHandler"
raptor_internal.h:929: warning: no semicolon at end of struct or union
raptor_internal.h:931: warning: data definition has no type or storage class
raptor_internal.h:933: error: syntax error before "loc"
raptor_internal.h:933: warning: data definition has no type or storage class
raptor_internal.h:964: error: conflicting types for 'locator'
raptor_internal.h:840: error: previous declaration of 'locator' was here
raptor_internal.h:966: error: conflicting types for 'error_handlers'
raptor_internal.h:846: error: previous declaration of 'error_handlers' 
was here
raptor_internal.h:986: error: syntax error before '}' token
raptor_parse.c: In function `raptor_parse_uri_write_bytes':
raptor_parse.c:784: error: dereferencing pointer to incomplete type
raptor_parse.c: At top level:
raptor_internal.h:810: error: storage size of `error_buffer' isn't known
make[2]: *** [raptor_parse.lo] Error 1
make[2]: Leaving directory `/c/Julien/redland-1.0.8/raptor/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/Julien/redland-1.0.8/raptor/src'
make: *** [all-recursive] Error 1

Event if i specify the right path to libxml, whenever i place the 
library i can't compile.

Anyone tryed to compile redland/rascal/raptor for windows recently ? The 
last win32 binaries have been release in 2006 so i don't want to use them.

Thanks for any help :)



More information about the redland-dev mailing list