Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: split hcoord package to remove dependency on regex-pcre. #1

Open
philderbeast opened this issue Feb 20, 2018 · 2 comments

Comments

@philderbeast
Copy link

Please consider splitting this package. The dependency on regex-pcre is a problem for building on Windows.

Configuring regex-pcre-0.94.4...
Cabal-simple_Z6RU0evB_2.0.1.0_ghc-8.2.2.exe: Missing dependency on a foreign
library:
* Missing C library: pcre

Module MGRSRef and no other imports Text.Regex.PCRE.

I could see it being split coarsely into hcoord and hcoord-mgrs or more finely with a package for each reference, hcoord, hcoord-utm, hcoord-osgb, hcoord-irish and hcoord-mgrs.

@danfran
Copy link
Owner

danfran commented Mar 31, 2018

I am not able to verify the build under Windows and unfortunately looks like Travis-CI cannot run against Windows. I am generally agree to split the project in multiple exec like you did (thank you) but I am not sure how that it meant to solve the problem with "PCRE" on Windows.

I think it is a missing foreign library (pcre in this case) that needs to be compiled and installed on the windows instance first.

@philderbeast
Copy link
Author

Of the split packages, I only require hcoord and hcoord-utm and these don't depend on regex-pcre. This fixes the problem I had building on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants