LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-30-2023, 08:20 PM   #1
suex
LQ Newbie
 
Registered: Mar 2023
Posts: 3

Rep: Reputation: 0
Unhappy Error when building expect5.45.4 for LFS book chaper 8.16(version11.2)


When I try to build expect 5.45.4 in chroot mode, I have got the error information below when running ./configure:

./config.status: line 520: 0a1,121: command not found
./config.status: line 521: syntax error near unexpected token `newline'
./config.status: line 521: `> # This file is a shell script that caches the results of configure'

in config.status lines 520 and 521 is

0a1,121
> # This file is a shell script that caches the results of configure

Could anyone tell me how this happening and how to make it work? thanks.

I'm using Linuxmint Cinamon 21 with kernel 5.15.0-69-generic as system.

Last edited by suex; 03-30-2023 at 08:55 PM. Reason: add information
 
Old 03-31-2023, 10:16 AM   #2
suex
LQ Newbie
 
Registered: Mar 2023
Posts: 3

Original Poster
Rep: Reputation: 0
This problem is solved without any operation but leave it alone for hours.
 
Old 07-21-2023, 10:12 AM   #3
killwin
LQ Newbie
 
Registered: Sep 2020
Posts: 2

Rep: Reputation: Disabled
trying some things

I dislike random errors, and I'm writing a script bash to build lfs for myself.

Well, with root user the configure works.

./configure --prefix=/usr \
--with-tcl=/mnt/lfs/usr/lib \
--enable-shared \
--with-tclinclude=/mnt/lfs/usr/include

Next I removed all /mnt/lfs in the Makefile.

I tried the make in chroot but now I have a missing stropts.h error, I will continue to search a solution next time.
 
Old 07-22-2023, 01:02 PM   #4
suex
LQ Newbie
 
Registered: Mar 2023
Posts: 3

Original Poster
Rep: Reputation: 0
Talking

Quote:
Originally Posted by killwin View Post
I dislike random errors, and I'm writing a script bash to build lfs for myself.

Well, with root user the configure works.

./configure --prefix=/usr \
--with-tcl=/mnt/lfs/usr/lib \
--enable-shared \
--with-tclinclude=/mnt/lfs/usr/include

Next I removed all /mnt/lfs in the Makefile.

I tried the make in chroot but now I have a missing stropts.h error, I will continue to search a solution next time.
Thanks, I could try it next time
 
  


Reply

Tags
lfs error



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
Linux from scratch 8.2 package "expect5.45.4" did not making Konstantin2222 Linux From Scratch 10 03-22-2018 01:09 PM
[SOLVED] Can't compile expect5.45 in LFS 7.10 bsmith52 Linux From Scratch 6 12-05-2016 03:55 PM
[SOLVED] Expect5.45 lfs7.9 end Linux From Scratch 5 09-04-2016 11:59 AM
LXer: Chaper 4: Nagios Basics LXer Syndicated Linux News 0 08-10-2006 01:24 AM
Some help please with chaper 8.3 of LFS6.0. DrRock Linux From Scratch 1 12-29-2004 08:08 PM

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

All times are GMT -5. The time now is 05:24 AM.

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