troglobit/merecat

libconfuse2

Zibri opened this issue · 9 comments

Zibri commented

configure: error: Package requirements (libconfuse >= 2.7) were not met:

No package 'libconfuse' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables confuse_CFLAGS
and confuse_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

---- my system is ubuntu 18.04

dpkg -l |grep confuse
ii libconfuse-common 3.2.1+dfsg-4ubuntu0.1 all Common files for libConfuse
ii libconfuse-dev:amd64 3.2.1+dfsg-4ubuntu0.1 amd64 Development files for libConfuse
ii libconfuse-doc 3.2.1+dfsg-4ubuntu0.1 all Documentation for libConfuse
ii libconfuse2:amd64 3.2.1+dfsg-4ubuntu0.1 amd64 Library for parsing configuration files

I run Ubuntu 19.04:

jocke@luthien:~/Troglobit/merecat [master]$ dpkg -l |grep confuse
ii  libconfuse-common                          3.2.2+dfsg-1                               all          Common files for libConfuse
ii  libconfuse-dev:amd64                       3.2.2+dfsg-1                               amd64        Development files for libConfuse
ii  libconfuse-doc                             3.2.2+dfsg-1                               all          Documentation for libConfuse
ii  libconfuse2:amd64                          3.2.2+dfsg-1                               amd64        Library for parsing configuration files

What version of Merecat are you using? Building from the latest GIT master seems to work for me. (Yeah, it's been a while since the last release. I haven't had time to finalize and test the new HTTPS and multiple server support. Sorry)

Zibri commented

OK, I've found an 18.04 install now and tested building Merecat from the lastet git master. Works there too:

...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for confuse... yes
...

Maybe your system is missing pkg-config?

ii  libconfuse-common                     3.2.1+dfsg-4ubuntu0.1              all          Common files for libConfuse
ii  libconfuse-dev:amd64                  3.2.1+dfsg-4ubuntu0.1              amd64        Development files for libConfuse
ii  libconfuse-doc                        3.2.1+dfsg-4ubuntu0.1              all          Documentation for libConfuse
ii  libconfuse2:amd64                     3.2.1+dfsg-4ubuntu0.1              amd64        Library for parsing configuration file
Zibri commented

nope.
$ pkg-config --version
0.29.1

Zibri commented

after ./autogen.sh
I did ./configure

the same works on ubuntu desktop 17.10

Zibri commented

clearly there is something missing in ubuntu server 18.04 not directly your fault.. but the server was cleanly installed... I have no clue

Yeah, probably. Have you tried reinstalling the libconfuse-dev package and verify that the contents of /usr/lib/x86_64-linux-gnu/pkgconfig/libconfuse.pc says:

...
Name: confuse
Version: 3.2.1
...

Maybe I can find something more if you attach the config.log file ...

Ping?

I'm pretty sure I found it, finally.