Re: Pkg-config file not supplied by CLucene
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Mon, 29 Sep 2025, "Douglas R. Reno" wrote: > On 9/29/25 3:05 PM, "Antonis" ([email protected] via blfs-dev Mailing > List) wrote: >> CLucene does not supply a pkg-config file by default. This becomes an issue >> when CLucene is required by packages such as LibreOffice. The following >> error occurs during autogen: >> >> "checking for libclucene-core... no >> configure: error: Package requirements (libclucene-core) were not met: >> >> Package 'libclucene-core' not 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 CLUCENE_CFLAGS >> and CLUCENE_LIBS to avoid the need to call pkg-config. >> See the pkg-config man page for more details. >> Error running configure at ./autogen.sh line 338." >> >> The following patch fixes the aforementioned issue: >> https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-cpp/clucene/files/clucene-2.3.3.4-pkgconfig.patch > > I can't reproduce this over here. Me neither. > Checking my libreoffice log: > checking which clucene to use... external > checking for libclucene-core... yes Same here (libreoffice-25.8.2.1 [among many others previously] successfully built 2 days ago). > ... and then my log for clucene: > -- Installing: /usr/lib/pkgconfig/libclucene-core.pc Same here (although I have to admit I seem to last have installed clucene-core-2.3.3.4 on that system in January 2022). > Can you double check that you built CLucene with the instructions in > the book? Or any other difference in what we are doing? Maybe gcc version or something for building clucene-core was different (mine was surely older)? Regards Uwe -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page