LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   how do i add gcc to the Path list? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-do-i-add-gcc-to-the-path-list-412373/)

wonderwizard 02-06-2006 05:15 PM

how do i add gcc to the Path list?
 
Hi, the problem is i'm trying to install a mp3 plugin and get the following message

Code:

./configure
configure:1493: configuring gst-fluendo-mp3 for release
configure:1538: checking whether to enable maintainer-specific portions of Makefiles
configure:1547: result: no
configure:1602: checking for a BSD-compatible install
configure:1657: result: /usr/bin/install -c
configure:1668: checking whether build environment is sane
configure:1711: result: yes
configure:1776: checking for gawk
configure:1792: found /usr/bin/gawk
configure:1802: result: gawk
configure:1812: checking whether make sets $(MAKE)
configure:1832: result: yes
configure:2089: checking build system type
configure:2107: result: x86_64-unknown-linux-gnu
configure:2115: checking host system type
configure:2129: result: x86_64-unknown-linux-gnu
configure:2149: checking for style of include used by make
configure:2177: result: GNU
configure:2248: checking for gcc
configure:2277: result: no
configure:2328: checking for cc
configure:2357: result: no
configure:2370: checking for cc
configure:2416: result: no
configure:2469: checking for cl
configure:2498: result: no
configure:2512: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

i think this is because my gcc is not installed properly so i typed $PATH
and then searched for gcc using / -name gcc. it said gcc was in /usr/lib64/gcc
how do i add this to my path?

many thanks

chris

pljvaldez 02-06-2006 05:22 PM

On Debian linux, you edit the file /etc/profile. You would add /usr/lib64 to the PATH line.

Or

export PATH=$PATH:/usr/lib64

Which you'll also want to add to your .bash_profile or .bashrc so that it's available at boot.

Here's a link: http://www.troubleshooters.com/linux/prepostpath.htm

wonderwizard 02-06-2006 05:51 PM

hi should of said before i'm running suse 10 64bit as root user.
after reading your post and the guide what i understand that i have todo is add the following code to the .bash_profile in my root directory "/root/.bash_profile". one problem i don't have this file, is it just a case of adding it? i have a file called ".bash_history".

PATH=$PATH:/usr/lib64
export PATH

thanks again

chris

pljvaldez 02-06-2006 05:59 PM

Well, the commands you typed should add it for this session only. I don't know SuSE, but root's path is taken from /root/.profile, I believe.

fragos 02-06-2006 10:08 PM

With SuSE, I believe all you have to do is use YaST to install gcc and make if it hadn't been part of the original install. That's all I did and /lib64 was created by YaST.

jdblick 02-17-2006 07:21 PM

There is no .profile in /root in SuSE.

I need to add /home/realplay to my path and don't know how.

fragos 02-18-2006 12:14 AM

My SuSE does have a /home/fragos/.profile. All files or directories that start with a "." are hidden. konqueror - View - Show Hidden will make them visible. .profile is read when logging in.
test -z "$PROFILEREAD" && . /etc/profile
Was the only executable line in it.

As to /home/realplay. If I'm not mistaken, the only directories in /home are user directories.

konqueror - Edit - Create New can create directories.


All times are GMT -5. The time now is 11:55 PM.