rpm-4.16.0 Build error

Panu Matilainen pmatilai at redhat.com
Thu Oct 29 10:54:52 UTC 2020


On 10/29/20 4:32 AM, Scott Andrews wrote:
> 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 \
         ^^^^^^^^^^^^^^^^
[...]
> 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?

Yes:

$ ./configure --help|grep openmp
   --disable-openmp        do not use OpenMP

	- Panu -



More information about the Rpm-list mailing list