Questions tagged [oasis]

A tool to integrate a configure, build and install system in OCaml projects.

OASIS is a tool to integrate a configure, build and install system in projects.

For more information, see the OASIS homepage.

45 questions
12
votes
2 answers

No implementations provided for the following modules: Str

I have an OCaml project that uses the Str module, but when compiling, I get this error: $ make ocaml setup.ml -build Finished, 0 targets (0 cached) in 00:00:00. +…
jado
  • 922
  • 9
  • 21
7
votes
1 answer

How to make a multi-level module hierarchy with (or without) Oasis

Suppose I have a set of modules each of which being rather "bushy" with submodules. M1.X M2.X M3.X M1.Y M2.Y M3.Y M1.Z M2.Z M3.Z M1.W M2.W M3.W M1.Q M2.Q M3.Q M1.P M2.P …
J. Abrahamson
  • 72,246
  • 9
  • 135
  • 180
6
votes
1 answer

Basic Oasis or Opam file for a simple OCaml project

I am a new OCaml user. I have asked a question to learn how to set up a basic OCaml project, but I still have issues. Jump to the end for a TL;DR For instance, I am trying to learn Irmin. On the home page of Irmin I see I have to do opam install…
Andrea
  • 20,253
  • 23
  • 114
  • 183
4
votes
3 answers

oasis picks up wrong ocamlbuild

I try to compile an Ocaml project with an Ocaml version provided by Opam. My ocamlbuild, ocamlfind, and oasis seem OK : /Users/fred/.opam/4.02.1/bin/ocamlbuild dhcp-182-73:compil fred$ which…
Godev
  • 316
  • 1
  • 4
  • 12
4
votes
3 answers

How to configure _oasis for OCaml to set 'Profile' flag

I have an existing project in OCaml and one _oasis file. I don't know where to enable the profiling flag for ocamlbuild. I looked up Oasis manual and the code, and found there was a variable profile available in setup.data. I assume this was what…
Txin
  • 43
  • 4
3
votes
1 answer

How do I add extra warnings in Oasis?

I have this oasis file with several libraries – how can I enable -w .. and -warn-error +a for each of them? For reference purposes, the given oasis file starts like this: OASISFormat: 0.4 Name: re Version: 1.5.0 Synopsis: Pure OCaml…
bfops
  • 5,348
  • 5
  • 36
  • 48
2
votes
1 answer

Compiling with external library (OASIS, OCamlfind)

I have a new project I'm trying to compile with OASIS. All my packages but one are installed with opam. My _oasis file looks like this : (* usual package fields *) Executable myexe Path: src BuildTools: ocamlbuild MainIs: myexe.ml …
Lhooq
  • 4,281
  • 1
  • 18
  • 37
2
votes
1 answer

How to add OCAMLOPTFLAGS to Oasis?

I would like to add few flags (S, inline 20, nodynlink) to my _oasis file but I get a compilation error: AlphaFeatures: ocamlbuild_more_args XOCamlbuildExtraArgs: "-cflags '-S -inline 20'" I am wondering how can you add these. The rather long…
Istvan
  • 7,500
  • 9
  • 59
  • 109
2
votes
0 answers

How to configure nuclide-ocaml so it will not complain about Unbound module?

I have a very basic project which I set up by means of OASIS. I build it with command ocaml setup.ml -build In my project I have 2 files: dir.ml -> where I traverse all files in folder main.ml -> where I open it to call the method from…
Bogdan Nechyporenko
  • 1,226
  • 2
  • 14
  • 21
2
votes
0 answers

How to use OASIS UBL 2.1 for product modelling

We are developing a system that stores product information. We want to use a standard as the schema for our data and OASIS Universal Business Language standard 2.1 seems to be reasonable. The problem is that it is not really clear how to model your…
maxdev
  • 2,491
  • 1
  • 25
  • 50
2
votes
0 answers

Need help - Soap service with WS-Security Oasis in .NET

I'm trying to create a Service to be consumed from a client. It must conform the WS-Security Oasis standard and the response must be like:
2
votes
1 answer

Output assembly files with OASIS

Is there a way to keep the assembly files when building with OASIS? I'm looking for something simpler than directly using ocamlopt -S.
Antoine
  • 1,782
  • 1
  • 14
  • 32
1
vote
1 answer

Writing CDATA section with Okapi XLIFF 2.0 lib

I am using okapi-lib-xliff2:1.44.0 to create an .xlf file. I want to add CDATA sections to some of the elements. According to XLIFF 2.0 documentation it is…
mahsa
  • 31
  • 3
1
vote
0 answers

ArangoDB Oasis ETIMEDOUT

We're currently evaluating ArangoDB Oasis with two deployments. Both have a database with a collection of mock sensor data that has been filled with over 75,000,000 documents. When we attempt to query the collection with an aggregation window, we…
Steven King
  • 562
  • 1
  • 8
  • 13
1
vote
0 answers

Getting linking error when running make file

I am completely new to OCaml, however, I have been given a finished project, which includes the use of the z3 SAT solver, to test and gather data from. I installed everything through Opam however I am getting the below error. I am working on…
John
  • 71
  • 1
  • 1
  • 10
1
2 3