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

../source/configure: line 15969: PKG_PROG_PKG_CONFIG: command not found #16

Closed
tonycurtis opened this issue Nov 5, 2014 · 2 comments
Closed
Labels

Comments

@tonycurtis
Copy link
Contributor

Running configure on master branch (first time after autogen)

90  checking if g++ static flag -static works... no
91  checking if g++ supports -c -o file.o... yes
92  checking if g++ supports -c -o file.o... (cached) yes
93  checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
94  checking dynamic linker characteristics... (cached) GNU/Linux ld.so
95  checking how to hardcode library paths into programs... immediate
96  checking for ANSI C header files... (cached) yes
97  checking for cos in -lm... yes
../source/configure: line 15969: PKG_PROG_PKG_CONFIG: command not found
98  checking for shm_open in -lrt... yes
99  checking whether asprintf is declared... yes
100 checking whether strdupa is declared... yes
101 checking whether basename is declared... yes
102 checking whether CPU_ZERO is declared... yes
103 checking whether CPU_ISSET is declared... yes
104 checking for library containing pthread_create... -lpthread
105 checking whether F_SETOWN_EX is declared... yes
106 checking whether __ppc_get_timebase_freq is declared... no
107 checking sys/platform/ppc.h usability... no
108 checking sys/platform/ppc.h presence... no
109 checking for sys/platform/ppc.h... no
110 checking for compress2 in -lz... yes
@mike-dubman
Copy link
Contributor

yep, this comes from checking for cross-compiler environment.
We compile packages with different crosscompilers during jenkins.
The following autotools code checks if pkg-config exists in crosscompile and trying to use it if underlying lib uses pkg-config service, otherwise in CT env the lib can find native pkg-config and it is bad.(ppc CT will use x86 locations of libs).
We did not find a better way (yet).
Suggestions are welcome, the error can be ignored

PKG_PROG_PKG_CONFIG
PKG_CONFIG="pkg-config"
if test -n "${host}" ; then
   PKG_CONFIG=${host}-${PKG_CONFIG}
fi

@yosefe
Copy link
Contributor

yosefe commented Dec 16, 2014

@shamisp - is it being addressed in #59?

@yosefe yosefe closed this as completed Jan 9, 2015
xinzhao3 pushed a commit to xinzhao3/ucx that referenced this issue Sep 21, 2017
alinask pushed a commit to alinask/ucx that referenced this issue Aug 10, 2020
andypauloramirez added a commit to andypauloramirez/ucx-APR that referenced this issue Aug 16, 2022
andypauloramirez added a commit to andypauloramirez/ucx-APR that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants