Hi ! First, thanks for your patience trying to compile liq, we know its not an easy process!
The problem you have comes from the fact that the ld flags are passed to the compiler by the various modules you are using. We do not require any X11 library, so one of the binding you are using requires X11. (on a side note, this seems to indicate a problem in the binding's packaging, if the bindings needs to link against X11, it should pull X11's depencencies..) I think that graphics is a possible culprit for this problem. Also, ocaml can be compiled with some x11 dependencies, as you noticed. Now, instead of pulling out the modules that adds linking depency to X11, you may as well find a package that provides this dependency. It should be a package that contains a file of the form: /usr/lib/libx11.so which is usually a symlink to the actual libx11.so.x.y where x and y are the version numbers.. Now, for Davit: Le lundi 11 octobre 2010 09:06:41, vous avez écrit : > I wasn't able to compile on CentOS. I do not remember encountering > your error, but there were lot's of others. One of which on the very > last stage has knocked me out (something related to the impossibility > to get ocaml http libs). So I'm running it on Fedora now. I guess you mean here ocamlnet.. This depency was required for ocaml-lastfm. The latest version of ocaml-lastfm can be compiled without ocamlnet. So, if you try to compile the latest SVN -- the new version of ocaml-lastfm needs to be released so far -- you may be more lucky... (I see you have switched to fedora, but maybe others are in the same situation as you..) Romain Le lundi 11 octobre 2010 09:49:32, Maxwell Rathbone a écrit : > I did an: rpm -qa | grep -i x11 and found: > xorg-x11-filesystem (I was able to remove this by itself easily..no > dependencies) > libX11 > pulseaudio-module-X11 (also removed...no dependencies) > > libX11 I was not able to remove as ocaml itself is dependent on it. I'm > guessing that is a result of whomever packaged the version up that I'm > using? > > I did just run through the configure.. I do see Graphics says yes, but > SDL says no. > > I definitely don't have XWindows installed.. so it appears that the > configure command is improperly assuming I have XWindows based on libX11 > being installed?? Or do you think perhaps it is because ocaml was > packaged with a dependency to libX11? > > Is there any way to force disable X11 support through the ./configure > command for liquidsoap? ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
