Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2006, 11:13 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Location: Montana
Distribution: PCLinuxOS-2007
Posts: 24
Rep:
|
export PATH Question
Hi All,
I tried to run RP-PPPoE setup and got: "No compiler in path"
"whereis gcc" gives me: /usr/lib/gcc/i486-linux-gnu/4.0.2
After looking around the forum, I got to wondering if gcc wasn't supposed to be in a /bin directory somewhere ?
Do I go to a terminal and type..."export PATH="the above path":$PATH"?
BTW; I extracterd rp-pppoe-3.7.tar.gz to /opt...and made a .desktop file. and the name of the gcc file is cc1.
I'm not well versed on this, so I hope this info is ok.
|
|
|
01-14-2006, 11:55 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
Quote:
Originally Posted by Loosewheel
Hi All,
I tried to run RP-PPPoE setup and got: "No compiler in path"
"whereis gcc" gives me: /usr/lib/gcc/i486-linux-gnu/4.0.2
After looking around the forum, I got to wondering if gcc wasn't supposed to be in a /bin directory somewhere ?
Do I go to a terminal and type..."export PATH="the above path":$PATH"?
BTW; I extracterd rp-pppoe-3.7.tar.gz to /opt...and made a .desktop file. and the name of the gcc file is cc1.
I'm not well versed on this, so I hope this info is ok.
|
Yes, but that's only for that shell's session. To make it permanent globally for all users, put that line in your /etc/profile file. To make it permanent for a specific user, put it in your user's .bashrc file.
In regards to your install path, depending on how you set the prefix, bindir, etc. options with ./configure, your install path could be valid (maybe that's the default install path, i don't know). But usually with rpm packages, when installing gcc, yeah, you should see the compiler executable in /usr/bin... But it could be different for different distros, I just don't know enough to say for sure.
|
|
|
01-15-2006, 12:23 AM
|
#3
|
LQ Newbie
Registered: Jan 2006
Location: Montana
Distribution: PCLinuxOS-2007
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by megaspaz
Yes, but that's only for that shell's session. To make it permanent globally for all users, put that line in your /etc/profile file. To make it permanent for a specific user, put it in your user's .bashrc file.
In regards to your install path, depending on how you set the prefix, bindir, etc. options with ./configure, your install path could be valid (maybe that's the default install path, i don't know). But usually with rpm packages, when installing gcc, yeah, you should see the compiler executable in /usr/bin... But it could be different for different distros, I just don't know enough to say for sure.
|
Thanks for the reply megaspaz,
Ubuntu install put gcc where it is- I didn't install it.
And I'm just going to try to install RP-PPPoE for now, so I guess I don't need to put that line in my .bashrc file? This is a single user machine. I will give it a try...thanks again.
|
|
|
01-15-2006, 08:24 PM
|
#4
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
Are you sure that gcc is actually installed?
It does not get installed in ubuntu be default, so you may have to install it using:
Code:
apt-get install gcc
Normally, if it is installed, it will be in /usr/bin, and called gcc.
I hope this helps
--Ian
|
|
|
01-16-2006, 05:31 PM
|
#5
|
LQ Newbie
Registered: Jan 2006
Location: Montana
Distribution: PCLinuxOS-2007
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by IBall
Are you sure that gcc is actually installed?
It does not get installed in ubuntu be default, so you may have to install it using:
Code:
apt-get install gcc
Normally, if it is installed, it will be in /usr/bin, and called gcc.
I hope this helps
--Ian
|
Originally, whereis gcc was: /usr/lib/...
I did "apt-get install gcc", and now have "/usr/bin"
Ran "/opt/rp-pppoe-3.7/go-gui" and get: "Configure: error: C Compiler can not create executables".
Configure: failed program was: /* confdefs.h. */
define Package_Name ""
_Tarname
_Version
_String
_Bugreport
/* end confdefs.h. */
I have no idea what that means....hope someone can help.
Thanks for all the replies thus far.
|
|
|
01-18-2006, 02:44 PM
|
#6
|
LQ Newbie
Registered: Jan 2006
Location: Montana
Distribution: PCLinuxOS-2007
Posts: 24
Original Poster
Rep:
|
Problem sloved. Thanks megaspaz and IBall.
"No compiler in path" = was not installed. (Thanks IBall: gcc-4.0-base was installed, but not gcc-4.0)
"No acceptable compiler found" = went back to synaptic package manager and installed gcc. (evidentally it didn't like gcc-4.0)
"Can not create executables" = installed "recommended" libc6.
Then, it started to configure...but stopped at "make.....Back to synaptic and installed "suggested" make.
I now have rp-pppoe-3.7 installed.
|
|
|
All times are GMT -5. The time now is 09:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|