Fedora :: Use Lex And Yacc?
May 5, 2009how do I use lex and yacc on Fedora10 .i am getting this messagebash: lex: command notfound
View 7 Replieshow do I use lex and yacc on Fedora10 .i am getting this messagebash: lex: command notfound
View 7 RepliesHow to use lex and yacc tools in red hat enterprise version 4?
reply soon..
do i have to install anything??
How to download lex and lex.yy.c and yacc in ubuntu9.10 ?
View 2 Replies View RelatedWhat is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??
View 1 Replies View RelatedI'm programming an SQL grammar using YACC and during compilation I got this error:
conflits:
1 shift/reduce, 2 reduce/reduce
the first error : shift/reduce
Code:
scalar_exp:
scalar_exp PLUS scalar_exp
| scalar_exp NEG scalar_exp
|scalar_exp MULT scalar_exp
|scalar_exp DIV scalar_exp
| atom
|column_ref
|function_ref .....
I am getting shift/reduce and reduce/reduce conflict in my yacc grammar code. yacc generates (i.e yacc -d -v parser.y) its grammar and state information in the parser.output file.
How can i interpret the below information and understand which grammar state is conflicting with other grammar state? Please help me to understand.
State 159 conflicts: 1 shift/reduce
State 1863 conflicts: 1 shift/reduce
State 1865 conflicts: 1 shift/reduce
State 1960 conflicts: 1 shift/reduce
I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling
[Code]...
I'm writing a parser using lex and yacc for an IEEE standard language ( STIL ). Here's the lex file ( some of ).
[Code]....
stil_language is the start symbol. The bus variable is initialised at 0 ( There's a check in the main ). The problem is that the parser does not recognises the NUM token ! It just re writes any expression that corresponds to the "number" regular expression. Here's a prompt example :
[Code]...
I am using kubuntu 10.04 Linux.. How can I write and debug and execute programs of yacc and flex ?
View 3 Replies View RelatedI had the following error while trying to install pcalc in Debian. I have bison and flex installed, and looking at the files it looks like there might be a problem with yacc being removed from the Debian library. I m trying to learn about memory registration and interaction with the CPU. This program could really help if I could get it to install Here's my log:
[code]...
I had the following error while trying to install pcalc in Debian. I have bison and flex installed, and looking at the files it looks like there might be a problem with yacc being removed from the Debian library. I'm a newbie but am trying to learn about memory
registration and interaction with the CPU. if I could get it to install Here's my log:
[code]...
I just wanted to upgrade to fedora 11 from the current version 5 with the of a live cd.I dont want to loose the previous configuration files. upgrade everything except the / directory. How do you do that? I also have a retarded WINXP partition on the same drive which I dont wanna loose.
View 9 Replies View RelatedIs it possible to import an xorg.conf file from Debian to Fedora and have it work? The reason for this is that I have an older monitor that only offers 800x600 as the maximum resolution.
View 2 Replies View Relatedinstall of Fedora, always used Debian or Ubuntu before now, and am looking for versions of localepurge, deborphan and debfoster - do they exist in the Fedora Software Repository?
View 10 Replies View RelatedI have a Samsung N130 with a Realtek 8192 wifi card (possibly 8192e, I'm not sure) and I am trying to run Fedora 12 on it. I used to run Ubuntu until trying their latest beta and realizing it's not very good, so I looked for something else. Ubuntu was at least easy to get the wifi working with just a few quick commands that were written out, word for word, in order, on the Ubuntu forums. I tried openSUSE on here and it didn't have wifi working out of the box either but people on their forums refused to give me actual instructions and just kept bumping me from thread to thread with people giving vague advice or else just telling me I was looking in the wrong place. I'm hoping that someone can give me clear and detailed instructions on how to get this wifi card working. Keep in mind that I am coming from Ubuntu and so I'm not super comfortable in CLI, if I need to do some CL stuff I will need clear and detailed instructions on how to do that.
View 4 Replies View RelatedI am newbie to linux, I am dealing with Fedora core 13. I have already succeedded in building an ad hoc network and a WLAN network. My next step is to get some networking statistics such delay, throughput, etc. So, I need traffic to flow through the network for both multimedia traffic and bulk data traffic. How to send files between nodes on the network (I found commands ftp, rcp but do not know whether they are the correct choice for this). ID their any application to perform this?
Also, I want to perform some video streaming between two nodes to study the behavior of real time data transfer. Is thier any application to perform this?
My laptop is currently running on Windows 7 Ultimate. I have a 320 GB HDD, which I have partitioned as follows. C: Drive as Windows 40 GB capacity and successively partitioned the rest of the drives for 50 GB capacity and left an unallocated space of 67 GB for fedora 13 x64 installation. The problem that I am facing is, that I am unable to install fedora on this unallocated space..even though I am checking the option for "Creating custom Layout". When I check the option for "Creating Custom Layout" Ive been shown with the only option to install fedora on the unused space on the HDD which is around 265 GB. I am also attaching a screen shot of my disk management. how I can install Fedora on this unallocated space of 67 GB?
View 12 Replies View Relatedmy problem is inkscape-0.48.0-1.fc14.3.src.rpm in fedora 14 64 bittry rebuild --source inkscape-0.48.0-1.fc14.3.src.rpm and this my error:I think something wrong pkgconfig .
attributes.cpp:20:32: fatal error: glib.h: No such file or directory
compilation terminated.
arc-context.cpp:21:28: fatal error: gdk/gdkkeysyms.h: No such file or directory
[code]....
This post is for an HP parallel printer but I think it should work for at least "some" other parallel printers.I am sure that someone smarter than me will follow up this post with a "well, just do this and that" and you will have your HP Laserjet 6P printer ready to go, but since questions litter the forums of MANY distros on how to get "at least" an HP parallel printer to work, I'll post this anyway.This may or may not work for you if you do not have an HP but you can try it.The install printer box will let you do an install for an HP Parallel and it asks for how it is to talk to it, through CUPS sock or "local host'. When we get through what I recommend you should chose "local host".
View 2 Replies View RelatedI am using F10 desktop edition, all the computers using windows are able to access the shared folders over lan except me using F10. I have tried many things with smb but still unable to connect.I am new to linux so i dont khow much of its technicalities.kindly suggest how can i be able to access the shared documents ..
View 1 Replies View RelatedI'm setting up my first Linux install and I was wondering if I would be able to boot Fedora from a CD while keeping every other file on my computer, or in other words if I would be able to put the /boot partition onto a cd. I've also read that Linux can be booted entirely from a logical partition. If that's true then can anyone help me in setting that up. Mostly my problem is I already have four primary partitions, one being a logical drive with plenty of free space in it, and I can't get rid of the primary partitions I already have.
View 1 Replies View RelatedHow to make internet sharing in Fedora with two inputs & one output.
View 14 Replies View RelatedHow can I access shared Windows files from a fedora system
View 3 Replies View Relatedok so the router works in windows and i know the config details of it.i can see other wifi access points in the area but not my one. i have tried joining it as a "hidden network" to no avail.is there any reason why fedora would not detect my own wifi when it detects substantially weaker signals instead??
View 2 Replies View RelatedIf any of you have successfully created a video hosting server with Fedora, can you give me any ideas of what software to get and how to configure it and so on? Or, if you have been unsuccessful, can you tell me what doen't work?
View 1 Replies View RelatedLinux OS : Fedora 10 (No graphical mode)Windows OS : XP and Windows Server NT...I am able to access from my windows to linux using following step//fedora10 ip username of admin and password...I am able to view the admin and shared printer of fedora 10.When i try to enter in the admin folder i am not able to access it. It is giving error "Access is denied".
View 6 Replies View Relatedi am justin i'm 17 years old and new with linux, i use ubuntu and linux mint 7 and a friends of my has a dedicated fedora server. he asked me to intall a desktop manager ( or something that is the same, dont know how to call it ) so he could use remote desktop to acces his server
i have connected the server trought ssh and i am in the terminal. Now i want to install kde or gnome so i and my friend could use the server as a mail en WWW bla bla bla server. and my question is how i need to do that i tryd : yum groupinstall "KDE (K Desktop Environment)" and yum groupinstall "X Window System" but none works i have seen those commands on this forum so i tryd it.
I have a Western Digital Pasport 320 GB hard drive. I wanted to create a live installation on it like a USB stick. I wanted it to serve as a portable OS that I could use to boot any other computer off of, and use it for diagnostics and anti-virus scanning on Windows based computers. The additional space is for my own personal use, kind of like having a mobile desktop where I have all of my documents in one place.What I need to know is how to set up Fedora 11 so that the hard drive will boot on most PCs regardless of their architecture. I also need to know what's a good Anti-virus to install onto it for the sake of fixing Windows hard drives.
Please keep in mind I'm a noob when it comes down to a lot of things, so if there's an antivirus I have to install manually, please included a step by step.
I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.
fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0
I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.
[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l
[Code]...
It's two days now I'm in deep troubles after my last "yum update". The system boots as usual, the graphical login pops up the normal way but no input is handled by either the internal keyboard (the system is a laptop), the mouse pad, the external USB mouse and keyboard.
The hardware itself seems to be working as I can pop up the BIOS menus and even edit the GRUB booting line. But, after GRUB there's no possible input. I've tried to boot the system with the Fedora 11 DVD, rescue menu and then chroot. This in order to run a "yum update" in the hope that the problem was in some broken update. No chance: there's no update.
My questions are:
1. Is there a way to boot Fedora withou any graphical interface from GRUB (or anything else to skip the KDE)?
2. Is there a way to have the (cabled) network activated at boot *before* the graphical login?
3. What the he** is happening to my otherwise pefectly working laptop?