ropensci / redland-bindings

Redland librdf language bindings
http://librdf.org/bindings/
Other
17 stars 3 forks source link

Update build procedure #77

Open gothub opened 6 years ago

gothub commented 6 years ago

Ensure that the build procedure works from a 'clean' build, including a regeneration of the src/redland.c file that involves running swig.sh. The make 'clean' target does not remove this, but maybe it should. Other issues to resolve:

Error in roclet_process.roclet_mergeNamespace(X[[i]], ...) : 
  unused arguments (blocks = blocks, env = env)

The build will first be updated on macOS, then the Docker based build/tests will be updated, which is described here

mbjones commented 6 years ago

I'm pretty sure that swig.sh is no longer in use -- rather, the swig bindings are generated by running autoconf and make. I had to remove the redland.c file (and .o and .so), but then the build system rebuilt them for me.

gothub commented 6 years ago

Yep, that is correct, swig is called directly from the generated Makefile. I'm removing swig.sh.