Найти в Дзене

Ставим pcb2gcode на ubuntu 22.04.4 LTS

Если ставим с сорцов и конфигуратор билда выдал вот такое: configure: error: Package requirements (libgerbv >= 2.1.0) were not met:
Requested 'libgerbv >= 2.1.0' but version of libgerbv is  
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. Смотрим версию gerbv: dpkg -l | grep gerbv Идем вот туда и вписываем версию sudo vim /usr/lib/x86_64-linux-gnu/pkgconfig/libgerbv.pc 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.8.2-1
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir} Дальше конфигуратор отработал штатно и завершаем установку по инструкции. для pcb2gcode

Если ставим с сорцов и конфигуратор билда выдал вот такое:

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

Requested 'libgerbv >= 2.1.0' but version of libgerbv is  

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.

Смотрим версию gerbv:

dpkg -l | grep gerbv

Идем вот туда и вписываем версию

sudo vim /usr/lib/x86_64-linux-gnu/pkgconfig/libgerbv.pc

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.8.2-1
Libs: -L${libdir} -lgerbv
Cflags: -I${pkgincludedir}

Дальше конфигуратор отработал штатно и завершаем установку по инструкции.

для pcb2gcodeGUI надо:

sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo apt-get install libqt5svg5*

ибо qt5-default нету