LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "make check" error when compiling Gawk-4.1.4 (for Linux From Scratch v8.0) (https://www.linuxquestions.org/questions/linux-software-2/make-check-error-when-compiling-gawk-4-1-4-for-linux-from-scratch-v8-0-a-4175607686/)

Microbob 06-10-2017 10:46 AM

"make check" error when compiling Gawk-4.1.4 (for Linux From Scratch v8.0)
 


Hello,
Recently I've started working on building a Linux based OS using the book Linux From Scratch (LFS 8.0). I'm currently working on section 5.23, compiling the Gawk-4.1.4 package. So far, I've ran the
Code:

./configure --prefix=/tools
and the
Code:

make
without any problems. When I run the
Code:

make check
command though, I get this error:
Code:

- gawk: mbstr1.awk:2: warning: Invalid multibyte data detected. There may be a mismatch between your data and your locale.
. This error is repeated multiple times in the "make check" verbose, and it ultimately terminates the command:
Code:

Makefile:1651: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/gawk-4.1.4/test'
Makefile:742: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

.

What can I do to fix this issue? I've already searched around a bit online and found another instances of this issue, but I don't understand how to use the solution given.

Thank you in advance for help on my issue!

AwesomeMachine 06-11-2017 03:01 PM

Hi Microbob,

Welcome to LQ!

You run make check before you run make. If make completes, you don't need make check.

Keith Hedger 06-11-2017 07:15 PM

no you dont you cant get the results of make check which checks taht everything is working right, before building the application/library youu are getting confused with configure which is used before make to check that the app can be built etc.

m=as the lfs book says running make check on the tempory tools ie before chapter 6 is probably not going to work, so leave the make check untill chapter 6

P.S.
to th op ask a mod to move this thread to the lfs forum you will get better help there.

AwesomeMachine 06-11-2017 09:35 PM

I stand corrected.

Keith Hedger 06-12-2017 05:40 AM

np , we all have dumb days mine come about twice a week !

hazel 06-12-2017 06:52 AM

Normal practice with LFS is not to run any checks in chapter 5 apart from the sanity tests for the basic glibc-binutils-gcc toolkit.

Microbob 06-12-2017 02:37 PM

Thank you all for your help! Here's what I'll do (and why I got from your help):
  • Simply ignore the "make check" and go ahead with "make install"
  • Consider moving this thread to the lfs forum for more input

Thank you again!


All times are GMT -5. The time now is 04:20 AM.