marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00579
[Bug 1085461] Re: build system should support setting a prefix
** Branch linked: lp:marionnet
--
You received this bug notification because you are a member of
marionnet-dev, which is subscribed to ocamlbricks.
https://bugs.launchpad.net/bugs/1085461
Title:
build system should support setting a prefix
Status in ocamlbricks - a library of ocaml components:
New
Bug description:
Hi,
The way Debian packages builds work is that "make install" is run with
a custom prefix or DESTDIR variable, so that files are installed in
the debian/tmp subdirectory. That is usually implemented by specifying
a prefix during the configure phase, or by setting a variable.
The custom build system in ocamlbricks does not allow to do that. If
you override libraryprefix in CONFIGME and set it to
debian/tmp/usr/lib/ocaml, 'make' then fails to find lablgtk2, because
it looks for it in debian/tmp/usr/lib/ocaml/lablgtk2/
It would be better to move away from the custom build system, and use
something more standard. Since I'm not usually involved in ocaml
packaging, I cannot make a recommandation, but if needed, I could ask
the right people.
Alternatively, this could be worked-around using dirty hacks in the package building process, but:
(1) these will be very dirty hacks
(2) it would only fix the problem for Debian
Generally, it is much easier to improve the build system, since it benefits everybody.
Thanks,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocamlbricks/+bug/1085461/+subscriptions
References