Configure Error Could Not Find A Usable Lex Program
Contents |
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum Your Distro Ubuntu Linux how to install lex and yacc in ubuntu configure: error: Cannot find required program lex. If this is your first
How To Run Yacc Program In Ubuntu
visit, be sure to check out the FAQ by clicking the link above. You may have to register before
Lex And Yacc Software Free Download For Ubuntu
you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are
How To Install Lex And Yacc In Fedora
logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Results 1 to 2 of 2 Thread: configure: error: Cannot find required program lex. Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by how to install lex in windows logging in. Not a member yet? Register. 12-20-2006 #1 vadre View Profile View Forum Posts Private Message View Articles Just Joined! Join Date Oct 2006 Location Belgium Posts 38 configure: error: Cannot find required program lex. When I tried to ./configure my sdcc (very nice c compiler btw) on a fresh ubuntu install. I got this message Code: root@kot:/home/jasper/uC/sdcc# ./configure checking for gawk... no checking for mawk... mawk checking version of the package... 2.6.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for fle
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of download flex and bison for ubuntu this site About Us Learn more about Stack Overflow the company Business Learn how to install flex package in ubuntu more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ download lex and yacc package for ubuntu Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how http://www.linuxforums.org/forum/ubuntu-linux/80000-configure-error-cannot-find-required-program-lex.html it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Using a specific version of program in configure up vote 3 down vote favorite I would like to install bison to a machine where I don't have root privileges. When I tried to use configure then I got the following error: checking for GNU http://unix.stackexchange.com/questions/173966/using-a-specific-version-of-program-in-configure M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH. GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended. GNU M4 1.4.15 uses a buggy replacement strstr on some systems. Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug. I found out that my version of M4 is 1.4.13. I installed a newer version (1.4.17) to my home folder and wanted configure to use this local version, to do that I found this in configure script: M4 Location of GNU M4 1.4.6 or later. Defaults to the first program of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs. So I used the command: ../configure --prefix=$HOME/local/bison M4='$HOME/local/m4/bin/' Which I assume was OK to do (correct me if I'm wrong). After this I got this error: checking for flex... flex checking whether lex is flex... no checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no configure: error: Flex is required I installed flex locally into $HOME/local/flex and tried to modify the PATH variable. PATH=$HOME/local/flex/bin/:$PATH , but I still got the same error
攻撃的または迷惑な内容を含んでいます 不適切な内容を含んでいます 送信0ストック0コメントストックストック済み解除前に InfiniDB をソースからビルドしてインストールした。今回、新しいバージョンでインストールをしたので、その時の作業内容を記録として残しておく。 基本的には、InfiniDB の README に書いてあるが、やはりそのままではうまくいかないところがでてきた。 InfiniDB バージョン 4.6.6 Enterprise 版 InfiniDB-Ent-4.6.6.source.tar.gz tar ファイル, zip ファイルの解凍 shell> cd ~/work/InfiniDB shell> ll -rw-r----- dhill/dhill 120778 2015-07-27 23:16 InfiniDB-Enterprise-4.6.6.zip http://qiita.com/nishimry/items/500b00ae1a1cf9673495 shell> tar xvf InfiniDB-Ent-4.6.6.source.tar.gz InfiniDB-4.6.6.zip InfiniDB-Enterprise-4.6.6.zip InfiniDB-MySQL-4.6.6.zip README shell> unzip InfiniDB-MySQL-4.6.6.zip shell> unzip InfiniDB-4.6.6.zip shell> unzip InfiniDB-Enterprise-4.6.6.zip https://github.com/clearlinux/autospec/blob/master/autospec/build.py MySQL のインストール shell> ln -s InfiniDB-MySQL-4.6.6 mysql shell> cd mysql configure shell> ./configure --prefix=/home/testuser/Calpont/mysql checking build system how to type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu ... 難なく終了 make shell> make Making all in . make[1]: ディレクトリ `/home/testuser/work/InfiniDB/mysql' に入ります make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check ... 難なく終了 make install shell> make install Making install in . how to install make[1]: ディレクトリ `/home/testuser/work/InfiniDB/mysql' に入ります make abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check ... 難なく終了 InfiniDB のインストール shell> cd .. shell> ln -s InfiniDB-Enterprise-4.6.6 infinidb shell> cd infinidb configure shell> ./configure --prefix=/home/testuser/Calpont checking for a BSD-compatible install... /usr/bin/install -p checking whether build environment is sane... yes ... checking for flex... no checking for lex... no checking for yywrap in -lfl... no checking for yywrap in -ll... no configure: error: Could not find a usable lex program! エラー発生! lex とかが無いって怒られた。 flex を yum インストール shell> su - shell(root) > yum install flex OL6.5 | 3.7 kB 00:00 ... file:///mnt/ol65x86/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/ol65x86/repodata/repomd.xml Trying other mirro
Support Search GitHub This repository Watch 10 Star 16 Fork 1 clearlinux/autospec Code Issues 0 Pull requests 0 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags master Nothing to show v1.0.0 Nothing to show Find file Copy path autospec/autospec/build.py Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 895 lines (847 sloc) 42.1 KB #!/bin/true # # build.py - part of autospec # Copyright (C) 2015 Intel Corporation # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see