Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

using flex in Ubuntu

  Date: Feb 07    Category: Unix / Linux / Ubuntu    Views: 453
  

I just downloaded the most current ubuntu into a VM and I need to do some lex
homework. So I am trying out flex in ubuntu. I have installed the package that
contains flex but I cannot even find synaptic package manager in this new
version of ubuntu in order to get yacc. I am getting an error 'can't find
yywrap'

Share: 

 

6 Answers Found

 
Answer #1    Answered On: Feb 07    

If in newest Ubuntu, synaptic is not installed by default. Search for it
in the software manager to install.

 
Answer #2    Answered On: Feb 07    

oh!!! I have been using ubuntu since it started and that is a new one ! OK. I am
now using the newest ubuntu. I really don't like the icon bar and its
contents...

 
Answer #3    Answered On: Feb 07    

Open Software Center, then you can install Synaptic. Or just install flex, and
it will include any dependencies such as yacc.

 
Answer #4    Answered On: Feb 07    

I did install flex on the newest ubuntu and that is how I got the problem. Let
me run it again and I can explain it better. The lex 'program' didn't compile
correctly using cc -ll myfilename
it said it couldn't find yywrap

 
Answer #5    Answered On: Feb 07    

The icon bar or Launcher can be tailored to suit your needs, if you are
using 11.10. You can drag and drop icons onto it, rearrange them, remove
them, and change the tool tips. It autohides and is not in your way. I
quite like it. If you are using 11.04 then you are stuck with it as it is.
You cannot change the size in 11.10 or move it but that will change with
12.04. The top panel is not changeable. That as to do with GNOME 3 and not
even Mint could change that, so they added one to the bottom so you have
two panels, the GNOME Shell one and the one on the bottom that you can
change. GNOME Shell has a side launcher as well, but it is not as flexible,
yet.

You can add a menu to the top panel of Ubuntu if you prefer that to Dash. I
had one, but removed it because I got used to Dash and found myself always
going there to using the menu. It is whatever you get used to. Now I
consider myself well adapted to Unity and GNOME shell and would not
consider returning to a GNOME 2 interface. Yuck!

The big change that I have made to Unity is the removal of the global menu.
Once that was done I was a happy camper. The biggest problem I has with the
global menu was using something like the GIMP wich has windows or
having multiple windows of the file manager open. I was forever having to
shift focus by clicking and travelling the mouse way too far. I have lost
track of how many times I have inadvertently closed the wrong application.
So I just did away with the global menu.

 
Answer #6    Answered On: Feb 07    

The icon bar or Launcher can be tailored to suit your needs, if you are
using 11.10. You can drag and drop icons onto it, rearrange them, remove
them, and change the tool tips. It autohides and is not in your way. I
quite like it. If you are using 11.04 then you are stuck with it as it is.
You cannot change the size in 11.10 or move it but that will change with
12.04. The top panel is not changeable. That as to do with GNOME 3 and not
even Mint could change that, so they added one to the bottom so you have
two panels, the GNOME Shell one and the one on the bottom that you can
change. GNOME Shell has a side launcher as well, but it is not as flexible,
yet.

You can add a menu to the top panel of Ubuntu if you prefer that to Dash. I
had one, but removed it because I got used to Dash and found myself always
going there to using the menu. It is whatever you get used to. Now I
consider myself well adapted to Unity and GNOME shell and would not
consider returning to a GNOME 2 interface. Yuck!

The big change that I have made to Unity is the removal of the global menu.
Once that was done I was a happy camper. The biggest problem I has with the
global menu was using something like the GIMP wich has windows or
having multiple windows of the file manager open. I was forever having to
shift focus by clicking and travelling the mouse way too far. I have lost
track of how many times I have inadvertently closed the wrong application.
So I just did away with the global menu.

 
Didn't find what you were looking for? Find more on using flex in Ubuntu Or get search suggestion and latest updates.




Tagged: