Comments (7)
Proposed solution - build another cma without UChar and UTF8 modules and provide it
via subpackage so that interested parties can link against it..
Reported by ygrekheretix
on 2013-11-12 17:15:57
- Status changed:
Accepted
- Labels added: Type-Enhancement, Milestone-Release1.6, Priority-High
from ocaml-extlib.
It won't work because uChar.cmi will be present in both directories and program that
compiled with the top package (not the subpackage) will not be able to choose between
extlib/uChar.cmi and camomile/uChar.cmi.
If I follow your idea, the only solution is to put uChar.cmi in a sub-directory of
extlib/ (e.g. extlib/foo/) or in a totally different package (e.g. extlib-unicode/uChar.cmi).
Reported by gildor478
on 2013-11-12 17:23:42
from ocaml-extlib.
Thanks for the feedback! Indeed, you are correct. I guess it is not possible to have
subdirectories with ocamlfind, so the only solution left is to provide two packages.
Not _that_ bad..
Reported by ygrekheretix
on 2013-11-12 17:37:43
from ocaml-extlib.
With the next release extlib is going to provide and install by default two ocamlfind
packages : extlib (full, same as current) and extlib_min (without UChar UTF8 Unzip
Base64 modules) in order to mitigate this issue.
Reported by ygrekheretix
on 2013-11-23 12:51:34
- Status changed:
Started
from ocaml-extlib.
This issue was closed by revision r428.
Reported by ygrekheretix
on 2013-11-23 18:28:48
- Status changed:
Fixed
from ocaml-extlib.
Now I think of an alternative way to solve this. Clearly we want everybody to upgrade
extlib without UChar and UTF8, but without breaking any code. Current solution requires
everybody to change used package name from extlib to extlib_min and it will causes
chaos wrt dependencies. The proposed solution is to build by default full cma with
all modules, but have a configure-time option to build cma without UTF8. This will
allow to to gradually introduce reduced set of modules on codebases that don't need
it (e.g. opam, debian, etc).
Reported by ygrekheretix
on 2013-11-25 03:11:05
- Status changed:
Started
from ocaml-extlib.
Reported by ygrekheretix
on 2013-11-26 03:55:18
- Status changed:
Fixed
from ocaml-extlib.
Related Issues (20)
- Expose Enum.from2 HOT 2
- String.starts_with and ends_with use String.sub HOT 1
- Array.exists is slower than List.exists HOT 1
- Add IO.output_strings HOT 3
- forget to install extLib.cmi file HOT 1
- google code deprecates downloads HOT 1
- Hashtbl.map HOT 1
- Request for installation and use instructions HOT 1
- 1.7.0 fails to build on Debian Sid HOT 2
- Specify version number in META file HOT 2
- src/Makefile race conditions HOT 1
- Documentation
- MD5 for http://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz has changed HOT 2
- read_i32 is wrong
- failed to be built on 32-bit enviroment HOT 6
- opam release compatible with 4.07.0 HOT 7
- IO.read_bits fails when reading exactly 31 bits HOT 5
- Standalone optparse or base64 packages? HOT 1
- Unable to build with OCaml 5 trunk compiler HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml-extlib.