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. |
Quote:
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. |
Quote:
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. |
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 I hope this helps --Ian |
Quote:
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. |
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 10:32 AM. |