<p>I'm trying to install <a href="http://godi.camlcity.org/godi/index.html" rel="noreferrer">GODI</a> on linux (Ubuntu). It's a library management tool for the ocaml language. I've actually installed this before --twice, but awhile ago-- with no issues --that I can remember-- but this time I just can't figure out what I'm missing.</p>

<pre><code>$ ./bootstrap --prefix /home/nlucaroni/godi
$ ./bootstrap_stage2
.: 1: godi_confdir: not found
Error: Command fails with code 2: /bin/sh
Failure!
</code></pre>

<p>I had added the proper directories to the path, and they show up with a quick <code>echo $path</code>, and <code>godi_confdir</code> reported as being:</p>

<pre><code> /home/nlucaroni/godi/etc
</code></pre>

<p>(...and the directory exists, with the godi.conf file present). So, I can't figure out why <code>./bootstrap_stage2</code> isn't working.</p>

[{'answer_id': 47655, 'author': 'Chris Conway', 'author_id': 1412, 'author_profile': 'https://Stackoverflow.com/users/1412', 'pm_score': 2, 'selected': False, 'text': "<p>What is the output of <code>which godi_confdir</code>?</p>\n\n<p>P.S. I remember having this exact same problem, but I don't remember precisely how I fixed it.</p>\n"}, {'answer_id': 47678, 'author': 'nlucaroni', 'author_id': 157, 'author_profile': 'https://Stackoverflow.com/users/157', 'pm_score': 2, 'selected': True, 'text': '<p>Hey Chris, I just figured it out. Silly mistake.</p>\n\n<p>It was just a permission issue, running everything from <code>/tmp/</code> worked fine --well after enabling <code>GODI_BASEPKG_PCRE</code> in <code>godi.conf</code>. I had been running it from my home directory, you forget simple things like that at 3:00am.</p>\n\n<p>--</p>\n\n<p>Actually I\'m having another problem. Installing <code>conf-opengl-6</code>:</p>\n\n<p>GODI can\'t seen to find the <code>GL/gl.h</code> file, though I can --you can see that it is <code>Checking the suggestion</code>.</p>\n\n<pre><code>&gt; ===&gt; Configuring for conf-opengl-6\n&gt; Checking the suggestion\n&gt;   Include=/usr/include/GL/gl.h Library=/&lt;GLU+GL&gt;\n&gt; Checking /usr:\n&gt;   Include=/usr/include/GL/gl.h Library=/usr/lib/&lt;GLU+GL&gt;\n&gt; Checking /usr:\n&gt;   Include=/usr/local/include/GL/gl.h Library=/usr/local/lib/&lt;GLU+GL&gt;\n&gt; Checking /usr/local:\n&gt;   Include=/usr/local/include/GL/gl.h Library=/usr/local/lib/&lt;GLU+GL&gt;\n&gt; Exception: Failure "Cannot find library".\n&gt; Error: Exec error: File /home/nlucaroni/godi/build/conf/conf-opengl/./../../mk/bsd.pkg.mk, line 1022: Command returned with non-zero exit code\n&gt; Error: Exec error: File /home/nlucaroni/godi/build/conf/conf-opengl/./../../mk/bsd.pkg.mk, line 1375: Command returned with non-zero exit code\n\n### Error: Command fails with code 1: godi_console\n</code></pre>\n\n<p><em>edit</em> - Ok, this is fixed too... just needed GLU, weird since the test configuration option said everything was fine. </p>\n'}]
['https://Stackoverflow.com/questions/47309', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/157/']