Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There will be a problem that the dialog.pc path cannot be found #32

Closed
Char11e opened this issue May 21, 2023 · 1 comment
Closed

There will be a problem that the dialog.pc path cannot be found #32

Char11e opened this issue May 21, 2023 · 1 comment

Comments

@Char11e
Copy link

Char11e commented May 21, 2023

Device environment: orange pi pc, Armbian_23.02.2_Orangepipc_bullseye_current_5.15.93.img
Kernel : Linux orangepipc 5.15.93-sunxi

Problem code:
1.
pi@orangepipc:~/whdd$ sudo ./build.sh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dialog is already the newest version (1.3-20201126-1).
libncursesw5 is already the newest version (6.2+20201114-2+deb11u1).
libncursesw5-dev is already the newest version (6.2+20201114-2+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package dialog was not found in the pkg-config search path.
Perhaps you should add the directory containing `dialog.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dialog' found
./version.sh . version.h
cc -std=gnu99 -pthread -D_GNU_SOURCE -I./ -I./cui/ -I./libdevcheck/ -I/usr/include/dialog -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pthread -o whdd ui_mutual.c cui/main.c cui/ncurses_convenience.c cui/sliding_window_renderer.c cui/vis.c cui/whole_space_renderer.c libdevcheck/ata.c libdevcheck/copy.c libdevcheck/copy_read_strategies.c libdevcheck/hpa_set.c libdevcheck/libdevcheck.c libdevcheck/log.c libdevcheck/posix_write_zeros.c libdevcheck/procedure.c libdevcheck/read_test.c libdevcheck/render.c libdevcheck/scsi.c libdevcheck/smart_show.c libdevcheck/utils.c -ldialog -lncursesw -ltinfo -lmenuw -lm -lrt

To install, type

sudo make install

It will install executable whdd.

pi@orangepipc:/whdd$ sudo make install
Package dialog was not found in the pkg-config search path.
Perhaps you should add the directory containing `dialog.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dialog' found
./version.sh . version.h
install -D whdd /usr/local/bin/whdd
pi@orangepipc:
/whdd$

andrey-utkin added a commit that referenced this issue Apr 1, 2024
Dialog package doesn't seem to install dialog.pc file nowadays.
So pkg-config calls result in warnings - not fatal but distracting.
Was reported as #32 .
@andrey-utkin
Copy link
Contributor

Thanks, addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants