Software :: Use Lex And Yacc In RHEL4?
Jun 2, 2009How to use lex and yacc tools in red hat enterprise version 4?
reply soon..
do i have to install anything??
How to use lex and yacc tools in red hat enterprise version 4?
reply soon..
do i have to install anything??
What is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??
View 1 Replies View Relatedhow do I use lex and yacc on Fedora10 .i am getting this messagebash: lex: command notfound
View 7 Replies View RelatedHow to download lex and lex.yy.c and yacc in ubuntu9.10 ?
View 2 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'm a newbie in this forum and a newbie with administering Linux. I need to install gcc 3.4.6-10 and I've downloaded and installed the rpm, but it seems that it did not do anything.
Code:
[root@server ~]# rpm -ivh gcc-3.4.6-10.src.rpm
1:gcc [100%]
[root@server ~]# rpm -q gcc
package gcc is not installed What else should I do?
i try to install web cam in redhat by useing wine, but it showing no. web cam connected even if i connnect
View 1 Replies View RelatedUnder RHEL4, I've mounted a drive (/dev/sdb1) under /home and it mounts with no problem a boot time since I have an entry in /etc/fstab. Using the same parameters under RHEL5, /home is a 'read only' directory. I've tried to add a 'rw' option to /etc/fstab, but /home remains a 'read only' file system.
View 1 Replies View RelatedIve created a bootable RHEL4 USB flashdrive so that I can do my installs from rather than using CDDVD's. The USB key boots fine to the point where it asks me to select a drive that contains the ISO images, but it doesn't show me the USB drive to select, only my 2 hard drives sda1 and sdb.
We currently use HP xw9400's with the following spec as shown in dmidecode:
BIOS Information
System Information
I know that the xw9400's have the nvidia mcp55 pro chip on the motherboard that handles USB, keyboard, mouse and other peripheral traffic, so am wondering if this could be what the problem is? Like there may some code that i need to tell the machine to use this or something?
just one month before i upgraded my pc to Later configuration but then i can't install rhel4 on my pc. i have heard there is a few upgrades (Updates) will help this issue, is that true? then which update i need to use for install rhel4 successfully on my pc? or is there any third part utilities for solve this issue? here i am adding my pc's spec
AMD Athlon 2.6
Asus M2N68-AM
2 GB DDR II
Nvidia 8400Graphics
Samsung HDD
I've got an older RHEL4 system (2.6.9-34.ELsmp) which I am needing to migrate off of one LUN and onto another. My plan was to simply have the storage team assign me a new LUN and to setup LVM mirroring then remove the origional LUN. My problem is with the new LUN. I had to reboot to get the system to even see it. It now shows up in /proc/scsi/scsi but there is only one new device in /dev and I cannot even open the sd* device.. I can only open the dm-* device.
[Code]...
I have an HP proliant server where i have internal hard disks and also HP MSA external storage.
The IO rate is very very slow on internal hard disks and also on MSA storage.
Se bellow output.
Code:
How can i increase the IO rate. I have another HP Proliant server and there i can see 98 MB/s speed of IO which is quite good.
My X windows wasn't deployed in the installation at the beginning , but i need to install it now , my system is RHEL4 , i am not connected to the internet , so i will not be able to use up2date , so I need to use rpm instead.
View 2 Replies View RelatedGenerally redHat releases beta version free. Where can i download rhel4 update 9?
View 1 Replies View RelatedI am developing a some application which running on rhel4 os. And its functions will handle via the web application. So we have provided an option to login (via vnc)to the server on web application when we need. so how we can enable vnc for a session (like 30 minit)? I'm using default vnc installation while installing rhel 4 nothing more installed by downloading. When I click session button on web page, I execute this command from my code
"service vncserver start"
then I can access server via vnc but when I click on disable button on web page, I execute this command from my code
"service vncserver stop"
but still I can login to server via vnc
I want to install RHEL4 from pendrive because of my dvd drive is not working. what is the procedure for that?
View 3 Replies View RelatedI would like to have your opinion on the problem : I created a ghost of my server RHEL4 with RAID 1 and 5, then I wanted to reinstall it on a virtual server under vmware.
So I restore the image on a virtual disk and qand I restart I still have this problem :
I started in linux rescue mode F5 I reinstall Grub on sda
I modified the modules.conf file to change the BusLogic SCSI, but this module is not in the kernel I used kudzu to reconfigure it doesn't works...
I am using RHEL4 server in my network. I have configured VLAN in my network. i am using two gatways to access my Network. I also add two gateways to both the network. but only one gateways will work. Then I added a route for the other netowrk. but when i restart my computer my route is deleted. i used this command to add the route
route add -net 10.0.0.0 netmask 255.255.0.0 gw 10.0.0.1
what i should do that my route should remain permanent either i restart my computer.
Install rhel4 on SATA disk through VMWare6. I tried but The installation is not detecting the hard disk.
View 3 Replies View RelatedI am using rhel4 with kernel 2.6.9-55 ELsmp. I have recently purchased 250gb seagate portable usb HDD. I have already mounted the usb HDD by updating Kernel with mode 755 and root user. I can transfer file from usb HDD to rhel system. But I am unable to make directory or copy file from rhel4 file system to usb HDD with ntfs. It is giving error message of permission denied though the device having write permission. I have already installed ntfsprog-2.0.0 in root. But there is no improvement. Is there any thing I can do to transfer data from linux system to ntfs.
View 1 Replies View RelatedRunning new install of Red Hat Enterprise Linux AS release 4 (Nahant Update 4), trying to install LAMP stack...
I downloaded 4 MySQL 5 RPMs from the MySQL site last Thursday:
Went to install the server, got the following:
Tried the following from the RHEL4 man pages for "Checking a package's signature".
Did the steps in Section 15.3.1, got the expected output from the following cmds:
OK, looks like it took...
Tried the install again, got this...!
-community-5.1.46-1.rhel4 is already installed
OK, so I'm still getting the bad key, but it's already installed...?
OK, maybe the first install was faulty. I'll uninstall and start fresh.
So I tried to uninstall using -e, got this...!
How something could be installed yet not installed...?
I am trying to setup Postfix along with dovecot on RHEL4. I have done the necessary settings in dovecot.conf, yet I am not able to log into the POP3 server. The error I can see through WireShark/Ethereal is "Err- Authentication failed" Some of the important settings in /etc/dovecot.conf are
disable_plaintext_auth = no
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root
The users/passwords are setup on Linux file system without MQSql or any other database. SASL etc is not configured at all.
I've searched everywhere I could think of and have been on google for about 4 hours today searching with no luck.Is there anyone out there who can confirm a working PCIe sound card on RHEL4.4 (Linux kernel 2.6.9-42)?The only cards I've found that work on Linux are the Asus Xonar cards and the PCIe version of the Sound Blaster Titanium but they are confirmed for later versions of Linux but I can't modify the alsa drivers or update the version of RHEL.
View 3 Replies View RelatedHow I am configure DNS Client and server in Redhat Linux 4 in my lab.I have total 5 computers and they are Lan connected.I want to make one of them server and the others are client.
View 1 Replies View Related