Ubuntu 24.04编译旧软件fsv时缺失libgtkgl2.0-dev包的求助
各位好,我目前在用Ubuntu 24.04 Noble版本,尝试编译一款旧软件fsv的时候碰到了问题,想请大家帮忙看看怎么解决。
我运行./configure脚本后,得到了如下错误提示:
configure: error: Package requirements (gtkgl-2.0) were not met:
Package 'gtkgl-2.0', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.Alternatively, you may set the environment variables GTKGL_CFLAGS
and GTKGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
我查看了这款软件的README文档,里面明确给出了Ubuntu系统下的依赖安装命令:
Install dependencies (Ubuntu): sudo apt-get install libgtkgl2.0-dev libgl1-mesa-dev libglu1-mesa-dev
不过我已经执行过sudo apt update更新源了,再运行上面的安装命令时,apt还是返回了错误(原内容后续截断,暂时无法提供完整报错信息)。
有没有朋友知道在Ubuntu 24.04里怎么解决这个libgtkgl2.0-dev包找不到的问题呢?
备注:内容来源于stack exchange,提问作者Jean Dubois

