LinuxQuestions.org
Register a domain and help support LQ
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 12-05-2002, 11:30 PM   #1
Ilektro
LQ Newbie
 
Registered: Nov 2002
Distribution: RH 7.3
Posts: 18

Rep: Reputation: 0
Question Flex and yaac problem


Hello,

I'm trying to install libpcap on my machine (RH7.3) but when I tried to "make" the program it said that:

configure: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .

Then I downloaded flex and got an error when I tried to "make" that program, it read as follows:

yacc -d ./parse.y
make: execvp: yacc: Permission denied
make: *** [parse.c] Error 127

Any idea how to fix this?

Thanks,
Ilektro
 
Old 12-06-2002, 03:49 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Do you have yacc installed? It's giving a permissions denied error. What are the permissions on the yacc file? But if you are going to be using flex you should really be using bison along with it. Bison and flex are the replacements of yacc and lex.
 
Old 12-06-2002, 07:38 AM   #3
Ilektro
LQ Newbie
 
Registered: Nov 2002
Distribution: RH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
Mik,

In order to use libpcap it seems as though it requies flex and yaac. If I install bison and flex will libpcap be a be able to use those instead? Also, where can I get yaac/bison? I've searched a bit and haven't found where to get it.

Thanks,
Ilektro
 
  


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
a problem with flex dogbird Slackware 5 03-25-2005 11:24 PM
Problem with binutils first pass / bison & flex installation peristaltic Linux From Scratch 3 03-20-2005 11:17 AM
Flex make problem MattZ3 Mandriva 1 02-25-2005 12:34 AM
anyone knows how to use flex???? tuxfood Programming 1 04-27-2004 07:17 AM
bison, flex and make problem ChimpFace9000 Programming 4 05-19-2002 08:49 PM


All times are GMT -5. The time now is 10:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration