[leafnode-list] Re: Malformed Message-ID?

Matěj Cepl mcepl at cepl.eu
Sat Mar 4 11:06:22 CET 2023


Dne 04. 03. 23 v 10:47 Matěj Cepl napsal(a):
> The previous package of leafnode included `BuildRequires:
> pcre-devel`, which pulled-in pcre-devel 8.45. When I try to build
> current master (902321b) with the same configuration as before I
> get error in ./configure (config.log from that run has been
> attached):
> 
>     [ 21s] + ./configure --host=x86_64-suse-linux-gnu
>     --build=x86_64-suse-linux-gnu --program-prefix=
>     --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
>     --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
>     --datadir=/usr/share --includedir=/usr/include
>     --libdir=/usr/lib64 --libexecdir=/usr/libexec
>     --localstatedir=/var --sharedstatedir=/var/lib
>     --mandir=/usr/share/man --infodir=/usr/share/info
>     --disable-silent-rules --enable-spooldir=/var/spool/news
>     --enable-runas-user=abuild --sysconfdir=/etc/leafnode --with-pam
> 
>     [ ... plenty of successful lines omitted ... ]
> 
>     [   23s] checking for pcre-config... /usr/bin/pcre-config
>     [   23s] configure: adding -lpcre to LDFLAGS
>     [   23s] checking for pcre.h... yes
>     [   23s] checking for pcre_compile() in PCRE library... no
>     [   23s] *** I cannot find PCRE. leafnode depends on it.
>     [   23s] ***
>     [   23s] *** If you have PCRE installed, pcre-config was not found.
>     [   23s] *** You can work around this by adding the header location to
>     [   23s] *** the environment variables CPPFLAGS, i. e. CPPFLAGS=-I/opt/pcre/include
>     [   23s] *** and the library location to the environment variables LDFLAGS,
>     [   23s] *** e. g. LDFLAGS=-L/opt/pcre/lib, assuming your PCRE resides in /opt/pcre.
>     [   23s] ***
>     [   23s] *** If not you don't have PCRE installed, please download and install PCRE 3.7
>     [   23s] *** or a newer version from http://www.pcre.org/, it's easy:
>     [   23s] *** Just download, unpack, then cd to pcre-3.7, then
>     [   23s] *** ./configure && make, then as root: make install
>     [   23s] *** Then, reconfigure leafnode.
>     [   23s] configure: error: PCRE library not found

When I reverted changes to configure.ac with the attached patch, I was
able to build again. Now, testing of the new build remains.

Best,

Matěj

-- 
https://matej.ceplovi.cz/blog/, @mcepl at floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8

Extremism in the defense of liberty is no vice; moderation in
the pursuit of justice is no virtue.
    -- Barry Goldwater (actually written by Karl Hess)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-suse.patch
Type: text/x-patch
Size: 848 bytes
Desc: not available
URL: <https://www.leafnode.org/pipermail/leafnode-list/attachments/20230304/104d4683/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://www.leafnode.org/pipermail/leafnode-list/attachments/20230304/104d4683/attachment.sig>


More information about the leafnode-list mailing list