Romain / David
I tried Romain's suggestion first as it was easier ;) but I did not
have the module installed and the make threw the same error.
Below is the verbose log where lastfm is mentioned:
...
make[1]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0'
make -C src all
make[2]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[3]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
making ._bcdi/lastfm.di from lastfm.mli
making ._d/lastfm.d from lastfm.ml
making ._d/lastfm_constants.d from lastfm_constants.ml
make[3]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[3]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
/usr/bin/ocamlc.opt -c -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
lastfm_constants.ml
/usr/bin/ocamlc.opt -c -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
lastfm.mli
/usr/bin/ocamlc.opt -c -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
lastfm.ml
/usr/bin/ocamlc.opt -a -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
\
-o lastfm.cma lastfm_constants.cmo lastfm.cmo
make[3]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[3]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
making ._ncdi/lastfm.di from lastfm.mli
make[3]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[3]: Entering directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
/usr/bin/ocamlopt.opt -c -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
lastfm_constants.ml
/usr/bin/ocamlopt.opt -c -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
lastfm.ml
/usr/bin/ocamlopt.opt -a -I /usr/lib/ocaml/3.10.2/pcre -I
/usr/lib/ocaml/3.10.2/netstring -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/../ocaml-xmlplaylist-0.1.2/src
\
-o lastfm.cmxa lastfm_constants.cmx lastfm.cmx
make[3]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[2]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0/src'
make[1]: Leaving directory
`/root/downloads/liquidsoap-full-1.0.0-beta1/ocaml-lastfm-0.2.0'
...
...
echo OCAMLC -c tools/liqfm.mli
OCAMLC -c tools/liqfm.mli
/usr/bin/ocamlfind ocamlopt -ffast-math -ccopt "-I.. -fPIC" -package
graphics -package pcre -I /usr/lib/ocaml/3.10.2/ -I
/usr/lib/ocaml/3.10.2/ -I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-dtools-0.2.0/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-duppy-0.3.2/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-cry-0.1.5/src
-I /usr/lib/ocaml/3.10.2/xmlm -I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-xmlplaylist-0.1.2/src
-I /usr/lib/ocaml/3.10.2/pcre -I /usr/lib/ocaml/3.10.2/ -I
/usr/lib/ocaml/3.10.2/netsys -I /usr/lib/ocaml/3.10.2/netstring -I
/usr/lib/ocaml/3.10.2/equeue -I /usr/lib/ocaml/3.10.2/netclient -I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-lastfm-0.2.0/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-ogg-0.4.1/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-vorbis-0.5.1/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-mad-0.4.0/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-lame-0.2.4/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-samplerate-0.1.1/src
-I
/root/downloads/liquidsoap-full-1.0.0-beta1/liquidsoap-1.0.0-beta1/../ocaml-taglib-0.1.3/src
-package camomile -thread -I tools -I decoder -I playlists -I encoder
-I protocols -I plugins -I stream -I lang -I ogg_formats -I
video_converters -I audio_converters -I operators -I sources -I
conversions -I outputs -I io -I visualization -I analyze -I synth -c
tools/liqfm.mli
File "tools/liqfm.mli", line 23, characters 24-55:
Unbound module type Lastfm_generic.Audioscrobbler_t
make[3]: *** [tools/liqfm.cmi] Error 2
...
Thank you,
John
On Wed, Mar 23, 2011 at 11:57 AM, Romain Beauxis <[email protected]> wrote:
> Hey all,
>
> I just though about a possible cause for the problem:
>
> make sure that you do not have another version of ocaml-lasftm
> installed as it could be detected by liquidsoap's configure instead of
> the local one.
>
> If you are using Debian, just do:
> apt-get remove liblastfm-ocaml-dev
>
> and then:
> make clean
> ./configure
> make
> again.
>
> Romain
>
> 2011/3/23 David Baelde <[email protected]>:
>> Hi,
>>
>> Since the previous suggestion doesn't seem to help, here's another
>> one: run make V="" in the liquidsoap directory. Setting V="" will
>> enable verbosity, and you'll be able to check that -I
>> ../ocaml-lastfm/src is passed on the command line and that -package
>> ocaml-lastfm is not passed. You can also find that information in
>> liquidsoap/Makefile.defs or at the end of the configure output.
>>
>> The idea is to check that you're really compiling against lastfm as
>> provided in the tarball and not against an installed version. This
>> would be surprising, but your problem is surprising already ;) I
>> should really try to compile the tarball with lastfm enabled myself,
>> make sure we didn't do something stupid in it... I don't have much
>> time and am not on my dev machine right now, unfortunately.
>>
>> HTH
>>
>> David
>>
>
--
John Bates
Senior Designer
Fist Design Corp.
173 Parrott Ave
Portsmouth, NH
http://fistdesign.com
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users