我正在尝试安装 戈迪 在 Linux(Ubuntu)上。它是ocaml语言的库管理工具。我实际上已经安装过这个了——两次,但不久前——没有任何问题——我记得——但这次我只是不知道我错过了什么。

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

我已将正确的目录添加到路径中,它们会快速显示 echo $path, , 和 godi_confdir 报道称:

 /home/nlucaroni/godi/etc

(...并且该目录存在,并且存在 godi.conf 文件)。所以,我不明白为什么 ./bootstrap_stage2 不工作。

有帮助吗?

解决方案 2

嘿克里斯,我刚刚想明白了。愚蠢的错误。

这只是一个权限问题,运行所有内容 /tmp/ 工作正常——启用后很好 GODI_BASEPKG_PCREgodi.conf. 。我一直在我的主目录中运行它,你会忘记凌晨 3:00 之类的简单事情。

--

其实我还有另一个问题。安装中 conf-opengl-6:

GODI 找不到 GL/gl.h 文件,虽然我可以——你可以看到它是 Checking the suggestion.

> ===> Configuring for conf-opengl-6
> Checking the suggestion
>   Include=/usr/include/GL/gl.h Library=/<GLU+GL>
> Checking /usr:
>   Include=/usr/include/GL/gl.h Library=/usr/lib/<GLU+GL>
> Checking /usr:
>   Include=/usr/local/include/GL/gl.h Library=/usr/local/lib/<GLU+GL>
> Checking /usr/local:
>   Include=/usr/local/include/GL/gl.h Library=/usr/local/lib/<GLU+GL>
> Exception: Failure "Cannot find library".
> Error: Exec error: File /home/nlucaroni/godi/build/conf/conf-opengl/./../../mk/bsd.pkg.mk, line 1022: Command returned with non-zero exit code
> Error: Exec error: File /home/nlucaroni/godi/build/conf/conf-opengl/./../../mk/bsd.pkg.mk, line 1375: Command returned with non-zero exit code

### Error: Command fails with code 1: godi_console

编辑 - 好吧,这也解决了......只需要 GLU,很奇怪,因为测试配置选项表示一切都很好。

其他提示

的输出是什么 which godi_confdir?

附:我记得有这个完全相同的问题,但我不记得我是如何解决它的。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top