[Boostheaders-devel] iostream in BH package ?
Steffen Neumann
sneumann at ipb-halle.de
Wed May 1 23:06:03 CEST 2013
Hi Dirk,
On Wed, 2013-05-01 at 13:46 -0500, Dirk Eddelbuettel wrote:
[...]
> Of course, but there are a few notable exceptions. Boost regex is one, and
> the system / error code library you have here is another.
And I need both...
I just created an
rforge/boostheaders/BoostHeadersROOT/src/Makevars
with
OBJECTS=\
../inst/include/libs/system/src/error_code.o \
[...]
../inst/include/libs/regex/src/regex.o \
../inst/include/libs/regex/src/wide_posix_api.o \
[...]
PKG_CPPFLAGS=-I ../inst/include
and upon R CMD INSTALL BH I got an
/usr/local/lib/R/site-library/BH/libs/BH.so
> We can't help with that as this would get us towards the need for linking,
> configure, ... and all that.
So far I got away without any need for configure.
The mzR package then uses PKG_LDFLAGS to link th BH.so into mzR.so
My main problem at the moment is to get all boost headers
required for mzR into BH without copying *all* of boost,
which I do with a very ugly
system (paste('find /vol/R/BioC/devel-29/mzR/src/pwiz -type f ',
'-exec bcp --scan --boost=', boostroot,
' {} ',
pkgdir, '/inst/include \\; >> bcp.log ', sep=''))
That'd need a bit of streamlining. My work-in-progress can be found at
https://github.com/sneumann/mzR/tree/BH
and https://github.com/sneumann/boostheaders
Caveat, the boostheaders will create a BH with 1.43.0,
because the current mzR / pwiz code won't work with 1.51.0 ...
What do you think ?
Yours,
Steffen
--
IPB Halle AG Massenspektrometrie & Bioinformatik
Dr. Steffen Neumann http://www.IPB-Halle.DE
Weinberg 3 http://msbi.bic-gh.de
06120 Halle Tel. +49 (0) 345 5582 - 1470
+49 (0) 345 5582 - 0
sneumann(at)IPB-Halle.DE Fax. +49 (0) 345 5582 - 1409
More information about the Boostheaders-devel
mailing list