I'm trying to make a recipe for ocaml. The build script is the following (which is sufficient outside of conda):
#!/bin/bash
[ `uname` == Linux ]; then
./configure --prefix $PREFIX
make world.opt
umask 022
make install
fi
The build works fine, and ocaml as well as ocamlrun are both put in ~/anaconda/bin during install, however, ocaml still wants to look for ocamlrun in ~/anaconda/envs/_build/bin. I think there's a similar problem when using conda to build and install qt, whereby calling `qmake query` suggests the libs and plugins, etc. are somewhere other than ~/anaconda/lib and ~/anaconda/plugins, respectively. In the case of qt, a hacked-looking solution appears to be used where /opt/anaconda1anaconda2anaconda3 is a fictitious location for the qt libs. Is there no better way to get around this problem for qt, and what would be a similar (or better) solution for ocaml
Look forward to uploading ocaml on binstar if someone can help me get this solved!