Brial error

53 views
Skip to first unread message

Mikhail Kudinov

unread,
Jun 22, 2022, 8:19:21 AM6/22/22
to sage-support
configure: error: in `/mnt/c/sage/local/var/tmp/sage/build/brial-1.2.8/src':
[brial-1.2.8] configure: error: The pkg-config script could not be found or is too old.  Make sure it
[brial-1.2.8] is in your PATH or set the PKG_CONFIG environment variable to the full
[brial-1.2.8] path to pkg-config.

Building sage from source code on Ubuntu 22.04 under wsl. 

Can not fix this. Tried
sudo apt-get install libbrial-dev libbrial-groebner-dev
sudo apt-get install python3-brial

That did not help

brial-1.2.8.log
config.log

Matthias Koeppe

unread,
Jun 27, 2022, 9:13:22 PM6/27/22
to sage-support
From config.log:

configure:7443: checking for pkg-config 
configure:7466: found /mnt/c/Strawberry/perl/bin/pkg-config 
configure:7478: result: /mnt/c/Strawberry/perl/bin/pkg-config

It's picking up pkg-config from your Windows install. Remote /mnt/c/Strawberry/perl/bin/ from your PATH, and/or install the packages that the Sage top-level configure script recommends to install.
Reply all
Reply to author
Forward
0 new messages