Page 1 of 1

pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Posted: Sun Jun 01, 2025 8:54 am
by ik7ytt
i made new raspberry installation
then installed pihpsdr from internet all ok.
then once i try to use command MAKE i have this request of missing packages:

Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'virtual:world', not found
cc -O3 -Wall -Wextra -Wimplicit-fallthrough -Wno-unused-parameter -Wno-deprecated-declarations -pthread -I./src -D MIDI -D GPIO -D SATURN -DPULSEAUDIO -D GIT_DATE='"2025-05-22"' -D GIT_VERSION='"v2.5"' -D GIT_COMMIT='"0d7543e"' `pkg-config --cflags gtk+-3.0` -I./wdsp `pkg-config --cflags openssl` -c -o src/about_menu.o src/about_menu.c
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'virtual:world', not found
src/about_menu.c:19:10: fatal error: gtk/gtk.h: No such file or directory
19 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:391: src/about_menu.o] Error 1


and no way to find this package.

there is also no any information about this package and how to install on the manual
any suggestions.

thanks
andy ik7ytt

Re: pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Posted: Sun Jun 01, 2025 5:17 pm
by n1gp
Hi Andy,

You can use apt-file to find what package(s) to install:

apt-file search gtk/gtk.h

libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h

so you want to install libgtk-3-dev

-Rick / N1GP

Re: pihpsdr "FRESH INSTALL FROM THE INTERNET" problems

Posted: Wed Jun 04, 2025 6:58 am
by ik7ytt
Thanks a lot.

now work perfectly.



n1gp wrote:Hi Andy,

You can use apt-file to find what package(s) to install:

apt-file search gtk/gtk.h

libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h

so you want to install libgtk-3-dev

-Rick / N1GP