LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-06-2006, 05:15 PM   #1
wonderwizard
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 02-06-2006, 05:22 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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

Last edited by pljvaldez; 02-06-2006 at 05:26 PM.
 
Old 02-06-2006, 05:51 PM   #3
wonderwizard
LQ Newbie
 
Registered: May 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 02-06-2006, 05:59 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
Old 02-06-2006, 10:08 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.
 
Old 02-17-2006, 07:21 PM   #6
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
There is no .profile in /root in SuSE.

I need to add /home/realplay to my path and don't know how.
 
Old 02-18-2006, 12:14 AM   #7
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.

Last edited by fragos; 02-18-2006 at 12:19 AM.
 
  


Reply



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
List files without path mijohnst Programming 2 12-05-2005 03:09 PM
Add path to @INC deus1 Linux - Software 0 07-27-2005 07:52 AM
How to add boost libraries to gcc include list kiku Linux - Newbie 1 03-04-2005 02:49 PM
How do I add something to my $PATH? iammeuno Linux - Software 1 12-18-2003 04:02 PM
mkisofs and specifying a path-list buttersoft Linux - Software 1 11-16-2003 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:49 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