Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Error: Could not find the .cmi file for interface tools/rqueue.mli. #23

Open
wlcx opened this issue Jul 6, 2015 · 2 comments
Open

Error: Could not find the .cmi file for interface tools/rqueue.mli. #23

wlcx opened this issue Jul 6, 2015 · 2 comments

Comments

@wlcx
Copy link

wlcx commented Jul 6, 2015

brew install liquidsoap on OSX 10.10 results in:

sam@sodium:~ => brew install liquidsoap
==> Reinstalling drfill/liquidsoap/liquidsoap
==> Downloading http://sourceforge.net/projects/savonet/files/liquidsoap/1.1.1/liquidsoap-1.1
Already downloaded: /Library/Caches/Homebrew/liquidsoap-1.1.1.tar.bz2
==> Patching
patching file src/decoder/aac_decoder.ml
patching file src/decoder/decoder.ml
patching file src/decoder/external_decoder.ml
patching file src/decoder/image/ppm_decoder.ml
patching file src/encoder/external_encoder.ml
patching file src/encoder/gstreamer_encoder.ml
patching file src/encoder/wav_encoder.ml
patching file src/io/alsa_io.ml
patching file src/io/gstreamer_io.ml
patching file src/io/oss_io.ml
patching file src/io/udp_io.ml
patching file src/outputs/alsa_out.ml
patching file src/protocols/mpd.ml
patching file src/sources/alsa_in.ml
patching file src/sources/external_input.ml
patching file src/sources/http_source.ml
patching file src/stream/aFrame.ml
patching file src/synth/keyboard.ml
patching file src/tools/http.ml
patching file src/tools/tutils.ml
patching file src/tools/utils.ml
patching file src/tools/wav.ml
==> ./configure --prefix=/usr/local/Cellar/liquidsoap/1.1.1 --with-user=sam --with-group=st
==> make
File "tools/rqueue.ml", line 1:
Error: Could not find the .cmi file for interface tools/rqueue.mli.
make[2]: *** [tools/rqueue.cmx] Error 2
make[1]: *** [all-auto-ocaml-prog] Error 2
make: *** [all-subdirs] Error 2
@seifsallam
Copy link

Same command on OSX 10.10 results in

==> Installing liquidsoap from drfill/homebrew-liquidsoap
==> Downloading http://sourceforge.net/projects/savonet/files/liquidsoap/1.1.1/liquidsoap-1.1.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/liquidsoap-1.1.1.tar.bz2
==> Patching
patching file src/decoder/aac_decoder.ml
patching file src/decoder/decoder.ml
patching file src/decoder/external_decoder.ml
patching file src/decoder/image/ppm_decoder.ml
patching file src/encoder/external_encoder.ml
patching file src/encoder/gstreamer_encoder.ml
patching file src/encoder/wav_encoder.ml
patching file src/io/alsa_io.ml
patching file src/io/gstreamer_io.ml
patching file src/io/oss_io.ml
patching file src/io/udp_io.ml
patching file src/outputs/alsa_out.ml
patching file src/protocols/mpd.ml
patching file src/sources/alsa_in.ml
patching file src/sources/external_input.ml
patching file src/sources/http_source.ml
patching file src/stream/aFrame.ml
patching file src/synth/keyboard.ml
patching file src/tools/http.ml
patching file src/tools/tutils.ml
patching file src/tools/utils.ml
patching file src/tools/wav.ml
==> ./configure --prefix=/usr/local/Cellar/liquidsoap/1.1.1 --with-user=seif --with-group=staff --with-default-font=/Library/Fonts/Verdana.ttf --disable-ldconf --disable-graphics
==> make
       and /usr/local/lib/ocaml/site-lib/biniou/biniou.cmxa
       make inconsistent assumptions over interface Bi_io
make[2]: *** [liquidsoap] Error 2
make[1]: *** [all-auto-ocaml-prog] Error 2
make: *** [all-subdirs] Error 2

@ghost
Copy link

ghost commented Aug 19, 2015

I had the same issue in 10.10.5, but have got round it.

first edit your

~/.bash_profile or ~/.bashrc, 

to contain all the possible pkgconfig paths:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11/lib/pkgconfig/
for i in `ls /usr/local/opt/`;
do
    if [ -d "/usr/local/opt/$i/lib/pkgconfig" ];
    then export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"/usr/local/opt/$i/lib/pkgconfig";
    fi;
done

start a new session and run

echo $PKG_CONFIG_PATH

make sure the output is what you expect, a very long list of paths.

Now pass those paths into brew install using a tip I got from toots here :)

brew install --env=std liquidsoap

That got me past this. It happened to me when I tried to install ffmpeg using brew --with-* various libraries) if only I had found toot's tip before it would have saved me a few hours. thnx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants