Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 [Help!] Ubuntu Problems, everything related to ubuntu goes here

views
     
kbyao
post Jan 5 2009, 03:04 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



Dual boot ubuntu 8.10 with vista intalled, got problem
I follow this Guide drool.gif
then i met this Problem rclxub.gif
I cannot find solution for this. cry.gif
And i don't want to use wubi because I heard people said it will slow down the performance. icon_rolleyes.gif
So can anyone help me out with this? notworthy.gif
thanks in advance. rclxms.gif
kbyao
post Jan 17 2009, 03:22 AM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



How to solve it T_T

yao@ubuntu:~$ g++
Unable to exec g++.real: No such file or directory
kbyao
post Jan 17 2009, 11:16 AM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(jordan86 @ Jan 17 2009, 10:03 AM)
You want install g++ package?
The command is sudo apt-get install g++
*
I install already.
but the result is this

yao@ubuntu:~$ g++
Unable to exec g++.real: No such file or directory

before that it call me to install
g++ and pentium-builder

then after I installed both, this thing come out.

yao@ubuntu:~$ g++
Unable to exec g++.real: No such file or directory

kbyao
post Jan 17 2009, 06:40 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(Cannonfodder @ Jan 17 2009, 04:51 PM)
I download gcc-g++-4.3.2.tar.bz2 this.
then follow the steps

tar xvjf file.bz2
cd file
./configure
make
su
make install

but when i reach ./configure

./configure
bash: ./configure: No such fire or directory

This post has been edited by kbyao: Jan 17 2009, 06:44 PM
kbyao
post Jan 17 2009, 06:54 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(fastcx @ Jan 17 2009, 06:45 PM)
be clear on what u said...cause ./configure will tell u what u missing, on the other hand, just copy the whole thing after u input ./configure
*
./configure
bash: ./configure: No such fire or directory

so this 1 how to settle cry.gif cry.gif
kbyao
post Jan 17 2009, 07:21 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(fastcx @ Jan 17 2009, 07:00 PM)
ok, u extract the file u dl-ed into ur home folder, folder name should be the same as the file u just extracted.
now use console, type in "cd ./[the folder name]", once ur in, use "./configure && make && sudo make install" just copy without the quote. after u done it, u need to set ur system to use this gcc instead of the 1 comes with ubuntu...if u did not have gcc in ubuntu, install thru package manager, dont bother to compile cz u seems to be very fresh in linux...without gcc, u cant make...
*
I really very new to linux sad.gif maybe 2 weeks like that.
inside the package got 2 folder
1 is gcc another one is libstdc++-v3
so I tried in both folder.
in gcc there is no configure file
in libstdc++-v3 got configure file
but after i used ./configure
it said don't have install file etc
really don't know how to do it:(

kbyao
post Jan 17 2009, 10:20 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(mystical zero @ Jan 17 2009, 08:23 PM)
What's your output for echo $PATH?
*
u means this?
yao@ubuntu:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
kbyao
post Jan 20 2009, 11:14 PM

Getting Started
**
Junior Member
230 posts

Joined: Dec 2006



QUOTE(Eventless @ Jan 18 2009, 09:36 AM)
You don't have to download the gcc source code from the gcc site. You can install the compiler using the apt-get command. Run the following commands to install the necessary files to compile programs:

sudo apt-get install build-essential

This should install the gcc along with g++ on your machine.
*
thanks...

now only know that i havent install this thing..
thumbup.gif thumbup.gif

 

Change to:
| Lo-Fi Version
0.5225sec    0.66    7 queries    GZIP Disabled
Time is now: 13th December 2025 - 09:34 PM