Comments (4)
The --libdir configuration option is not taken into account when doing a make install (I also tried --with-libdir). For instance:
./configure --bindir=/usr/bin --with-libdir=/usr/lib/ocaml --libdir=/usr/lib/ocaml
[...]
make world
[...]
% DESTDIR=/home/treinen make install
make -C src install
make[1]: Entering directory '/home/treinen/projects/lablgtk/src'
mkdir -p "/home/treinen/usr/bin"
mkdir -p "/home/treinen/usr/local/lib/ocaml/4.05.0"
touch: cannot touch '/home/treinen/usr/lib/ocaml/ld.conf': No such file or directory
make[1]: *** [Makefile:382: findlib-install] Error 1
make[1]: Leaving directory '/home/treinen/projects/lablgtk/src'
make: *** [Makefile:5: install] Error 2
Note that the --bindir option has been taken into account, but not --libdir
from lablgtk.
The default install procedure uses ocamlfind, so the libdir parameter doesn't make sense.
Do not use it.
from lablgtk.
To be more precise, there is an old-install target, which takes the --libdir parameter into account, and create the require directories. This may be more appropriate for what you are trying to do, but this doesn't use ocamlfind.
Or is there a standard procedure to package libraries using ocamlfind?
from lablgtk.
well, I was only following the instructions. README says:
You may use "./configure --help" to check for the different configuration options.
And configure --help lists the --libdir and --with-libdir options.
So I guess one should, when installing with findlib, instead use the environment variables explained in findlib.conf(5)?
from lablgtk.
Related Issues (20)
- lablgtk fails on multicore due to use of naked pointers HOT 10
- Running bytecode executable with ocamlrun crashes: "Fatal error: unknown C primitive `ml_gtk_stack_add_named'" HOT 1
- Lablgtk3 on macOS with quartz gtk3: all grey toplevel HOT 9
- How do I install? HOT 5
- On MacOS, lablgtk2 runs OCaml code inside a blocking section, causing a crash in caml_memprof_handle_postponed_exn HOT 1
- Gdk.Cursor.create returns NULL on lablgtk3 + WSLg + Wayland
- lablgtk3-sourceview3 opam package is stucked on previous version 3.1.1 HOT 1
- question on pixbufloader HOT 3
- README does not document ocaml-cairo dependency HOT 3
- lablgtk slow on Ubuntu
- Feature request: add entry_completion to cell_renderer_text HOT 1
- Outdated `src/.depend` file in 2.18.12 release tarball HOT 1
- varcc.ml fails to build with OCaml 5 HOT 1
- Segmentation fault on macOS (Frama-C GUI)
- 3.1.3 fails to build - new/broken dependency on camlp-streams? HOT 9
- Issue with Makefile since upgrading to GNU make 4.4 HOT 13
- Fail to install Lablgtk3 on Windows (Diskuv) HOT 2
- Library "lablgtk2.gl" is hidden (unsatisfied 'exist_if') HOT 2
- lablgtk 2.18.12 build failure against ocaml 5.0.0 HOT 1
- lablgtk3 fails to build on Mac: `glib` header is "missing" but installed and in the `dune-config` output
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 lablgtk.