hpc / hpc/libcircle

libcircle-3.0 :: configure does not detect pkg-config

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
100
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hello,

working from https://github.com/hpc/libcircle/releases/download/v0.3/libcircle-0.3.0.tar.gz

after running autogen.sh

module load openmpi/4.0.2 gcc/9.2.0 pkg-config/0.29.2

I tried to run ./configure and got

[gensoft@e211aa82115c libcircle-0.3.0]$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for pkg-config... yes
configure: error: *** Libcircle requires the pkg-config macros to be available!

problem does not arise whith version 0.2.1-rc.1
if I grab configure.ac from 0.2.1-rc1, edit Makefile.am to remove "unit tests if we found libcheck"
run ./autogen.sh
configure runs fine

regards

Eric

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the current configure.ac with the 0.2.1-rc1 version, then review autogen.sh and Makefile.am. Rerun ./autogen.sh and ./configure with pkg-config loaded; done means configure completes for libcircle-0.3.0 without the pkg-config macros error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.