qLinux
… a distribution study
<< Prev Bison
Next >> Less
Reference: 8.33. Grep-3.7. Fix the build system:
patch -Np1 -i grep-3.7-qlnx-20220204.patch
Fix the sources to be qLinux conform:
patch -Np1 -i grep-3.7-qlnx-20220204.patch
Configure the package:
./configure --prefix=/qlnx \ CFLAGS="-Wno-error=unused-const-variable \ -Wno-error=analyzer-null-argument \ -Wno-error=cast-align \ -Wno-error=analyzer-possible-null-dereference \ -Wno-error=analyzer-possible-null-argument" \ --mandir=/qlnx/man \ --infodir=/tmp
-Wno-error=
    The gnulib will not compile because it treats all warnings as errors - these CFLAGS overwrites this behavior.
make
Run the tests:
make check
Install the package:
make install
<< Prev Bison
        
Next >> Less