LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-30-2017, 08:42 AM   #1
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Rep: Reputation: 85
Bc: configure: error: readline works only with flex.


I'm building LFS 8.1, chapter 6. When building bc I got this error during configure:
Code:
checking for readline/readline.h... yes
Using the readline library.
configure: error: readline works only with flex.
I have copy-pasted the build instructions.
 
Old 09-30-2017, 11:52 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Are you sure you included this edit?

sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure
 
Old 09-30-2017, 12:37 PM   #3
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 374

Original Poster
Rep: Reputation: 85
Thanks. I thought I looked carefully this time, but obviously I missed it...
 
  


Reply



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
Patch for readline.SlackBuild to include rlfe (ReadLine Fron-End) tfonz Slackware 0 10-22-2016 11:45 AM
I am attempting to ./configure postgresql-8.4.3. I am getting a readline error markdx Linux - Software 3 05-10-2010 08:24 AM
PHP: fgets works like a readline in 5.2.x but not in 5.1.2 eantoranz Programming 2 07-20-2007 03:20 PM
Is there any OSS variant of Macromedia Flash or Flex currently in the works ? Fluffybunny Linux - Software 2 04-19-2005 08:35 AM
PostgreSQL 7.4 can't find readline durring ./configure docbrazen Linux - Software 2 01-09-2004 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:25 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