Hi, On Tue, Feb 24, 2009 at 10:52 AM, Mark V <[email protected]> wrote: > I'm pretty sure I have managed to install a working build liquidsoap - > I've made a basic radio station run... :)) > I built from the 'full' source tgz.
Congratulations :) > The reason I'm not fully sure is: > When I run ocamlfind <package> it reports some packages, that are part > of the full-bundle, are not found. > In fact it only seems to report packages for which I think I myself > ran './configure;make;make install;' When you run make from the -full bundle, it builds the lib, and builds liq by telling it to use the libs locally. When you run make install it only installs liquidsoap, not the libs. So it's not abnormal to not ocamlfind the -full libs. > I banged my head for ages trying to get xml-light to be 'found' by > ocamlfind - turned out that package was installing using some `cp > ....` command and not `ocamlfind install ...`. OCaml doesn't come with a standard notion of package and installation, unlike perl, C, etc. Ocamlfind is almost becoming a standard, but it's not enforced everywhere. Many libs still don't use it, and just install stuff by copying. In Debian, the OCaml packagers usually add ocamlfind support to their packages. This might not be the case for the xml-light package of suse -- or maybe you just installed from the xml-light tarball and it doesn't have ocamlfind support. You can manually inform ocamlfind about xml-light by creating a META file. Here's the META file that I have on my debian, notice that the path used by your ocamlfind may vary a bit: $ cat /usr/lib/ocaml/3.10.2/METAS/META.xml-light version="2.2" directory="+xml-light" archive(byte)="xml-light.cma" archive(native)="xml-light.cmxa" Cheers, -- David ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
