pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure net/lldpd (NetBSD 9.2-stable amd64)





On 08/11/2020 15:54, Joerg Sonnenberger wrote:
On Sun, Nov 08, 2020 at 03:00:36PM +0000, Mike Pumford wrote:
Let me know if more info is needed to troubleshoot this.

config.log should give an idea what is going wrong here.

Yes it does. From config.log:

configure:20506: checking whether C compiler supports flag "-O2 -D_FORTIFY_SOURCE=2 -Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include -I/usr/pkg/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -D_FORTIFY_SOURCE=2 -Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include -I/usr/pkg/include -Unetbsd -Dnetbsd=netbsd -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -I/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNETSNMP_NO_INLINE -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lnetsnmpmibs -lkvm -lpcre -lnetsnmpagent -L/usr/lib/lib -lwrap -Wl,-E -Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -lnetsnmp -lcrypto -lelf -ldes -lm" from Net-SNMP configure:20525: gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/include/readline -O2 -D_FORTIFY_SOURCE=2 -Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include -I/usr/pkg/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -D_FORTIFY_SOURCE=2 -Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include -I/usr/pkg/include -Unetbsd -Dnetbsd=netbsd -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -I/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNETSNMP_NO_INLINE -I/usr/pkg/include -I/usr/include -I/usr/include/readline -L/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE conftest.c -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lnetsnmpmibs -lkvm -lpcre -lnetsnmpagent -L/usr/lib/lib -lwrap -Wl,-E -Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE -lnetsnmp -lcrypto -lelf -ldes -lm >&5
ld: cannot find -lpcre
configure:20525: $? = 1
configure: failed program was:

Looks like its not finding libpcre (buildink issue?). libpcre is installed on the system.

Mike


Home | Main Index | Thread Index | Old Index