LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2017, 10:46 AM   #1
Microbob
LQ Newbie
 
Registered: May 2017
Posts: 10

Rep: Reputation: Disabled
Question "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!
 
Old 06-11-2017, 03:01 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Hi Microbob,

Welcome to LQ!

You run make check before you run make. If make completes, you don't need make check.
 
1 members found this post helpful.
Old 06-11-2017, 07:15 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,940

Rep: Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780
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.
 
Old 06-11-2017, 09:35 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
I stand corrected.
 
Old 06-12-2017, 05:40 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,940

Rep: Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780
np , we all have dumb days mine come about twice a week !
 
Old 06-12-2017, 06:52 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,594
Blog Entries: 16

Rep: Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319
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.
 
Old 06-12-2017, 02:37 PM   #7
Microbob
LQ Newbie
 
Registered: May 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Smile

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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed make check on:Linux from Scratch - Version SVN-20050524 - 6.11. Glibc-2.3.5 jery_wang2002 Linux From Scratch 3 06-02-2005 02:44 PM
gcc error while compiling gawk iceman47 Linux From Scratch 2 03-04-2003 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration