由于未检测到的GERBV版本,PCB2GCODE失败在ARCH中安装

发布于 2025-02-06 14:27:10 字数 973 浏览 1 评论 0原文

我正在尝试在Manjaro Arch上安装PCB2GCODE。我已经尝试了我可以在线找到的每个PKGBUILD文件,但对我没有任何帮助。我已经明确安装了多个版本的GERBV软件包来尝试实现依赖性,并每次重新运行PCB2GCODE安装...每次都会收到相同的输出:


checking for glibmm... yes

checking for gdkmm... yes

checking for gerbv... no

configure: error: Package requirements (libgerbv >= 2.1.0) were not met:

Package dependency requirement 'libgerbv >= 2.1.0' could not be satisfied.

Package 'libgerbv' has version '', required version is '>= 2.1.0'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables gerbv_CFLAGS
and gerbv_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...

在此输出时,GERBV版本2.8.1 way安装,远高于2.1.0,

我看到可能有解决方法(我认为这些均值使用./configure来设置明显未知的GERBV路径,或者完全跳过版本检查版本的环境变量),但我只是不知道如何实施它们。即使我确实知道如何设置这些变量...我也不知道应该设置什么值。

I'm attempting install of pcb2gcode on Manjaro Arch. I have tried every PKGBUILD file I can find online, and nothing is working for me. I've explicitly installed multiple versions of gerbv package to try to fulfil the dependency, and rerun the pcb2gcode install each time... Every single time, I get the same output:


checking for glibmm... yes

checking for gdkmm... yes

checking for gerbv... no

configure: error: Package requirements (libgerbv >= 2.1.0) were not met:

Package dependency requirement 'libgerbv >= 2.1.0' could not be satisfied.

Package 'libgerbv' has version '', required version is '>= 2.1.0'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables gerbv_CFLAGS
and gerbv_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...

At the time of this output, gerbv version 2.8.1 was installed, well above 2.1.0

I see that there are possible workarounds suggested (I assume these mean using ./configure to set the apparently unknown gerbv path, or environment variables that skip the version check altogether), but I just don't know how to implement them. Even if I did know how to set these variables... I don't know what value they should be set to.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

森林迷了鹿 2025-02-13 14:27:10

这是我在更新之前的有效文件:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
pkgincludedir=${prefix}/include/gerbv-

Name: libgerbv
Description: Core library for gerbv
Requires: glib-2.0 gtk+-2.0
Version:
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

和更新后:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
pkgincludedir=${prefix}/include/gerbv-

Name: libgerbv
Description: Core library for gerbv
Requires: glib-2.0 gtk+-2.0
Version: 2.7
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

刚写'2.7' '版本:'

This is my valid file before update:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
pkgincludedir=${prefix}/include/gerbv-

Name: libgerbv
Description: Core library for gerbv
Requires: glib-2.0 gtk+-2.0
Version:
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

and after update:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
pkgincludedir=${prefix}/include/gerbv-

Name: libgerbv
Description: Core library for gerbv
Requires: glib-2.0 gtk+-2.0
Version: 2.7
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

Just wrote '2.7' after 'Version:'

八巷 2025-02-13 14:27:10

通过输入来确认您的已安装版本:

sudo pamac search gerb

然后编辑文件/usr/lib/pkgconfig/libgerbv.pc ,然后添加版本号码行版本:在这种情况下为空白。

我遇到了同样的问题,试图安装pcb2gcode并将其修复。

Confirm your installed version by entering:

sudo pamac search gerb

Then edit the file /usr/lib/pkgconfig/libgerbv.pc and add the version number line Version: which in this case is blank.

I had the same problem trying to install pcb2gcode and this fixed it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文