/usr/bin/lex : Is provided by the Ubuntu package 'flex'
http://packages.debian.org/search?su...sr%2Fbin%2Flex
( The online search isn't always working for Ubuntu )
→ → $ sudo apt-get install flex
( /usr/bin/lex is a sym-link to /usr/bin/flex ).
Offline search : $ sudo apt-get install apt-file
$ apt-file update && apt-file search /usr/bin/lex
.. Besides that you may not be able to build gcc-2.95.3
on any Ubuntu version.
** Please tell which software it is that require gcc-2.95 .
( Most older software will compile with gcc/g++ version 3.2.3 :
$ sudo apt-get install gcc-3.2 ).
** gcc-2.95.3 / g++-2.95.3 is available in Slackware 8.1 .
** gcc-2.95.4 / g++-2.95.4 : Debian 3 Woody / Debian 4 Etch.
http://www.linuxquestions.org/questi...04-a-879827/#2
-