<div dir="ltr">Hello,<div><br></div><div>I have messed up my OPAM system, here is the error:</div><div><br></div><div><pre class="" style="margin-top:0px;margin-bottom:1em;padding:5px;border:0px;font-size:13px;width:auto;max-height:600px;overflow:auto;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;color:rgb(57,51,24);word-wrap:normal;background-color:rgb(239,240,241)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">testweb </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">$</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> opam switch reinstall system
Your system compiler has been changed</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> Do you want </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(16,16,148)">to</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> upgrade your OPAM installation </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">?</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">[</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">Y</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">/</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">n</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">]</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> y
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">=-=-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> Upgrading system </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">🐫</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">[</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">WARNING</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">]</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> base</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">ocamlbuild</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">base is not available because it requires OCaml </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">>=</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">3.10</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">&</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"><</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">4.03</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> Skipping</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">[</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">WARNING</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">]</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> camlp4</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">.4.02</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">+</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">system is not available because your system doesn't comply </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(16,16,148)">with</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> preinstalled </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">&</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
ocaml</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">version </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">>=</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"4.02"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">&</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> ocaml</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">version </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"><</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"4.03"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> Skipping</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">[</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">WARNING</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">]</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> ppx_tools</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">.4.02.3</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> is not available because your system doesn't comply </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(16,16,148)">with</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> ocaml</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">version </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">>=</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"4.02.0"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">&</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> ocaml</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">version </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"><</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"4.03.0"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> Skipping</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
The following dependencies couldn't be met</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> deriving </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-></span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> camlp4
Your request can't be satisfied</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">:</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> camlp4 is not available because your system doesn't comply </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(16,16,148)">with</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> ocaml</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">-</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">version </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">>=</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"4.04"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">.</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">
No solution found</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">,</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> exiting
The former package state can be restored </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(16,16,148)">with</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> opam switch import </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(125,39,39)">"/Users/softtimur/.opam/backup/state-20160418124642.export"</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"> </span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">--</span><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">switch system</span></code></pre></div><div><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">The entire question is on the <a href="http://stackoverflow.com/questions/37256100/make-compatible-ocaml-camlp4-ppx-node-js-of-ocaml-ocamlbuild">stackoverflow</a>. Could anyone help?</span></code></div><div><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"><br></span></code></div><div><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">Cheers</span></code></div><div><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)"><br></span></code></div><div><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit"><span class="" style="margin:0px;padding:0px;border:0px;color:rgb(48,51,54)">Timur</span></code></div></div>