Redland/Windows refresh (1.0.2-2)
Redland 1.0.2-2 for Windows is out! The .sig files are detached GPG signatures (use gpg -v to verify).
Signed by:
John C Barstow (Redland Win32 port signing key) [1024D/548D7543] with fingerprint: 369C 9E25 4FDB 55AC 6D62 70F4 D33D B3F6 548D 7543
I’ve updated the Redland/Windows packages to incorporate a bug fix for file URI parsing. This should fix the problem a number of people have reported. Other than this bug fix, the packages are identical to the previous 1.0.2 packages.
In addition, I’ve added an EXPERIMENTAL build of the PHP bindings. It compiles cleanly but I have no idea how useful or usable it is.
September 11th, 2005 at 5:04 am
I think… I might love you, in a PHP developer stuck on windows completely non sexual way.
September 11th, 2005 at 5:37 am
:(
A few minutes later and there’s utter heartbreak.
php 5.0.4 / 5.0.5 produce crashes
php 5.1.0RC1 produces “_zval_copy_ctor could not be located in dll php5ts.dll”, I assume because of API differences between the .0 and .1 branches.
*winces as he sees*
AppName: php.exe AppVer: 5.0.5.5 ModName: librdf.dll
ModVer: 0.0.0.0 Offset: 0000cae5
December 29th, 2005 at 6:30 am
Thanks for making these windows builds. I built the library on linux, but didn’t know how to build it on windows.
I am, however, unable to compile the examples on windows:
I downloaded the 1.0.2 dev debug build.
I created a Dev-C++ project, and added the include and library paths to the directories section. I dropped the dlls in my system folder.
When I try to compile the example program, I get a bunch of errors:
C:\SCHOOL\TIME\src\lib\redland-dev2\include\raptor.h In function `_declspec’:
81 C:\SCHOOL\TIME\src\lib\redland-dev2\include\raptor.h storage class specified for parameter `raptor_short_copyright_string’
82 C:\SCHOOL\TIME\src\lib\redland-dev2\include\raptor.h syntax error before “_declspec”
102 C:\SCHOOL\TIME\src\lib\redland-dev2\include\raptor.h storage class specified for parameter `raptor_parser’
103 C:\SCHOOL\TIME\src\lib\redland-dev2\include\raptor.h storage class specified for parameter `raptor_serializer’
and so on.
Next I went into each of the header files (raptor, rasqal etc) and removed the #if blocks
/*
#ifdef WIN32
# ifdef RAPTOR_STATIC
# define RAPTOR_API
# else
# ifdef RAPTOR_INTERNAL
# define RAPTOR_API _declspec(dllexport) …
And replaced it with an explicit definition:
#define RAPTOR_API
This removed all of the errors and got the example program to compile, but when I try to parse an RDF document
I get a bunch of these:
raptor_parser_warning_varargs: Out of memory
As I said, I’m just starting and don’t know much about compiling on windows.
These ifdefs must be needed, but I don’t know about using dlls and all that jazz.
I assume my project is not properly set up.
Are there instructions for using the Redland windows build?
Thanks
Steve Perkins
p.s. I like your recordings