RGLab / cytolib

c++ library for representing and interacting the gated cytometry data structure
GNU Affero General Public License v3.0
12 stars 11 forks source link

write portable configure scripts for windows #18

Closed mikejiang closed 5 years ago

mikejiang commented 5 years ago

We are currently using the configure script auto-generated through autoconf for writing package version info into the c++ header file. However this script doesn't seem to be portable for windows

cytolib>R CMD INSTALL .
* installing to library 'C:/Users/wjiang2/Documents/R/win-library/3.6'
* installing *source* package 'cytolib' ...
** using staged installation
chmod: not found
configure.win: error: cannot create configure.win.lineno; rerun with a POSIX shell
ERROR: configuration failed for package 'cytolib'

Unless we can find the tool that can generate mingw version of configure.win file , we may consider to use R to perform such pre-installation configuring process https://github.com/kevinushey/configure

mikejiang commented 5 years ago

@kevinushey 's configure R package works beautifully !

kevinushey commented 5 years ago

Very happy to hear it :-)