LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2013, 07:10 AM   #16
archana.u
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled

It should be built-in with Ubuntu 12.04. however, you can try this:

sudo apt-get update
sudo apt-get install gcc-4.8
 
Old 11-07-2013, 03:30 AM   #17
easie
LQ Newbie
 
Registered: Nov 2013
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by lzw1012 View Post
hello everbody:
I use ubuntu12.04,now I will use ns2.31 on ubuntu12.04,but when i install ns2.31 ,there have lots of errors.
i search some same questions,the ns2.31 need gcc4.1 ,but ubuntu12.04 only gcc4.4.
how can i install gcc4.1 on ubuntu12.04.

thank you very much!!!
Hello, I am a new comer.
I encounter the same question. I use ubuntu12.04 (32bit) and I want to use Aqua-Sim1.0, but failed to install Aqua, the reason should be the incorrect version of gcc.
And I try what suggested:
sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb
export CC=gcc41 CXX=g++41 && ./install
They are not working...(saying no such file or directory)...Please help.

P.S. I download the "g++41-compat-4.1.2_i386.deb" and "gcc41-compat-4.1.2-ubuntu1210_i386.deb" , how can I install it since I can not install it in commond line.
 
Old 11-07-2013, 04:15 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 17, @easie : Welcome to LQ.

My mistake :
The dedicated gcc41-compat-4.1.2.ubu1204 must be used for Ubuntu 12.04
Post #18 here
http://www.linuxquestions.org/questi...022/page2.html

$ sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb

-
 
Old 11-07-2013, 08:44 AM   #19
easie
LQ Newbie
 
Registered: Nov 2013
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Post # 17, @easie : Welcome to LQ.

My mistake :
The dedicated gcc41-compat-4.1.2.ubu1204 must be used for Ubuntu 12.04
Post #18 here
http://www.linuxquestions.org/questi...022/page2.html

$ sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb

-
Many thanks for helps.
I post my result in here:http://www.linuxquestions.org/questi...eply&p=5059906
 
  


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
Not able to install ubuntu12.10 in my laptop!! ravisingh1 Linux - Laptop and Netbook 8 06-05-2013 01:47 PM
can I install gcc 4.3 in ubuntu12.10 on corei3 ? lasyasree Linux - Software 1 03-01-2013 06:22 AM
[SOLVED] not able to install vlc through terminal in ubuntu12.04 ajay06081993 Linux - Newbie 8 11-29-2012 08:37 AM
how to install postgresql8.1.2 in ubuntu12.04 vignesh4sh Ubuntu 5 10-22-2012 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:52 AM.

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
Open Source Consulting | Domain Registration