rpm-4.16.0 Build error
Scott Andrews
scott.andrews at columbus.rr.com
Thu Oct 29 02:32:05 UTC 2020
I am building a a reaspberry pi 4 8GB
And the build fails......
Here is how I configured it
export PYTHON=/usr/bin/python3
./autogen.sh --noconfigure
./configure \
--prefix=/usr \
--program-prefix= \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--localstatedir=/var \
--with-crypto=libgcrypt \
--with-gnu-ld \
--with-archive \
--with-lua \
--without-openmp \
--without-selinux \
--enable-posixmutexes \
--enable-zstd=no \
--enable-lmdb=no \
--enable-python \
--enable-sqlite \
--enable-bdb=no \
--disable-dependency-tracking \
--disable-silent-rules \
--disable-nls \
--disable-rpath \
--disable-inhibit-plugin
This is the offending line:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I.. -I.. -I../include/ -I../misc -D_REENTRANT -Wall -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing
-fstack-protector -Wempty-body -O2 -pipe -march=armv7-a+neon-vfpv4
-mtune=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fPIC
-fomit-frame-pointer -ftree-vectorize -c -o parseSpec.lo parseSpec.c
libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include/
-I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body
-O2 -pipe -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfloat-abi=hard
-mfpu=neon-vfpv4 -fPIC -fomit-frame-pointer -ftree-vectorize -c
parseSpec.c -fPIC -DPIC -o .libs/parseSpec.o parseSpec.c:10:10: fatal
error: omp.h: No such file or directory 10 | #include <omp.h>
Is there a fix for this?
More information about the Rpm-list
mailing list