Re: sbuild vs relative paths
On Sat, Jul 30, 2005 at 05:40:37PM +0200, Stefano Zacchiroli wrote:
> Dear mentors,
> the last version of ocaml I uploaded FTBFS on all autobuilders but
> build properly on my unstable and in a pbuilder chroot.
> According to the build logs (e.g. ) the FTFBS happened at this point:
> if [ -x ./ocamlopt ]; then \
> /usr/bin/make -C ocaml-md5sums/ opt; \
> else \
> /usr/bin/make -C ocaml-md5sums/ all; \
> make: Entering directory `/build/buildd/ocaml-3.08.3/ocaml-md5sums'
> ../ocamlopt -I ../otherlibs/unix -I ../otherlibs/str unix.cmxa str.cmxa -o ocaml-md5sums.opt ocaml-md5sums.ml
> make: ../ocamlopt: Command not found
> make: *** [ocaml-md5sums.opt] Error 127
The problem is the first line of that file:
And /usr/bin/ocamlrun does not exist. I guess you want to run
something like ../boot/ocamlrun ../ocamlopt or something.