Except this glitch, everything else went (quite) smoothly. Liquidsoap 1.0.1 is currently running and streaming over here. Happy user! Cheers!
On 25/07/2012 21:59, okay_awright wrote: > hi, > > I gave up a bit too early, I indeed forgot to add the rpath in the > environment variables before calling configure. I feel a bit ashamed. > However the resulting Makefile does not always automatically add it when > calling ocamlopt.opt > > Sorry for the tedious output below, look at the last few lines: > > [enb11@cthugha ocaml-lame-0.3.1]# gmake > gmake -C src all > gmake[1]: Entering directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake[2]: Entering directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > making ._bcdi/lame.di from lame.mli > making ._d/lame.d from lame.ml > gmake[2]: Leaving directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake[2]: Entering directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -I/usr/include -I/usr/pkg/include > -I/usr/pkg/lib/ocaml -Wall -DCAML_NAME_SPACE \ > -DPIC -I/usr/include -I/usr/pkg/include > -I/usr/pkg/lib/ocaml -fPIC \ > -o lame_stubs.o " lame_stubs.c > ar rcs liblame_stubs.a lame_stubs.o > ocamlc.opt -c lame.mli > ocamlc.opt -c lame.ml > ocamlmklib -L-R/usr/lib -L/usr/lib -L-R/usr/pkg/lib -L/usr/pkg/lib > -L-R/usr/pkg/lib/ocaml -L/usr/pkg/lib/ocaml \ > -o lame_stubs lame_stubs.o -lmp3lame -lm \ > -R/usr/pkg/lib/ocaml > -L/usr/pkg/lib/ocaml -R/usr/lib -L/usr/lib -R/usr/pkg/lib -L/usr/pkg/lib > ocamlc.opt -a -dllib dlllame_stubs.so -ccopt -R/usr/lib -ccopt > -L/usr/lib -ccopt -R/usr/pkg/lib -ccopt -L/usr/pkg/lib -ccopt > -R/usr/pkg/lib/ocaml -ccopt -L/usr/pkg/lib/ocaml -ccopt -L-R/usr/lib > -ccopt -L/usr/lib -ccopt -L-R/usr/pkg/lib -ccopt -L/usr/pkg/lib -ccopt > -L-R/usr/pkg/lib/ocaml -ccopt -L/usr/pkg/lib/ocaml \ > -cclib -llame_stubs -cclib -lmp3lame > -cclib -lm -o lame.cma lame.cmo > gmake[2]: Leaving directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake[2]: Entering directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > making ._ncdi/lame.di from lame.mli > gmake[2]: Leaving directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake[2]: Entering directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake[2]: `liblame_stubs.a' is up to date. > ocamlopt.opt -c lame.ml > ocamlopt.opt -a -ccopt -R/usr/lib -ccopt -L/usr/lib -ccopt > -R/usr/pkg/lib -ccopt -L/usr/pkg/lib -ccopt -R/usr/pkg/lib/ocaml -ccopt > -L/usr/pkg/lib/ocaml -ccopt -L-R/usr/lib -ccopt -L/usr/lib -ccopt > -L-R/usr/pkg/lib -ccopt -L/usr/pkg/lib -ccopt -L-R/usr/pkg/lib/ocaml > -ccopt -L/usr/pkg/lib/ocaml -cclib -llame_stubs -cclib -lmp3lame > -cclib -lm \ > -o lame.cmxa lame.cmx > gmake[2]: Leaving directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > ocamlc.opt -i -intf lame_dynlink.mli.in > lame_dynlink.mli 2>/dev/null > ocamlc.opt -a lame_dynlink.mli lame_loader.ml -o lame_loader.cma > [ ! -f lame.cmx ] || mv lame.cmx lame.cmx.old > ocamlopt.opt -cclib -lmp3lame -cclib -lm -shared lame.ml lame_stubs.o > -o lame.cmxs > ld: cannot find -lmp3lame > File "caml_startup", line 1, characters 0-1: > Error: Error during linking > gmake[1]: *** [lame.cmxs] Error 2 > gmake[1]: Leaving directory > `/home/dummy/liquidsoap-1.0.1-full/ocaml-lame-0.3.1/src' > gmake: *** [all] Error 2 > > > See the last call to ocamlopt.opt, the -ccopt switches are not > automatically added, manually including them on the command line fixes > it though: > > > [enb11@cthugha ocaml-lame-0.3.1]# cd src/ > [enb11@cthugha src]# ocamlopt.opt -cclib -lmp3lame -cclib -lm -shared > lame.ml lame_stubs.o -o lame.cmxs -ccopt -R/usr/pkg/lib -ccopt > -L/usr/pkg/lib > > No error, no warning > > Is this something I had overlooked? or does it need to be directly fixed > in the configure? > Maybe there's a magic OCaml environment variable for setting it once and > for all. > > I'm now a few steps closer to getting a test build of 1.0.1 :) > -- best regards, okay_awright <okay_awright AT ddcr DOT biz> [PGP key on request] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
