Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 10-30-2006, 08:51 AM   #1
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE 11.4
Posts: 363

Rep: Reputation: 30
Setting my $PATH...syntax is wrong?...please advise...

below is the error message:

linux:/home/linux_lover/Prgs_to_install/toycars-0.3.2 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I search for my path both as root and as user:
linux_lover@linux:~> su
linux:/home/linux_lover # echo $PATH
linux:/home/linux_lover #

linux:/home/linux_lover # exit
linux_lover@linux:~> echo $PATH

They look the same to there a difference between $path and $PATH ?
here is the syntax I'm trying to use:
set $PATH = /usr/lib/ (for gcc - found, version 4.0.2)
set $path = /usr/lib/

I've searched the forums here and have googled until I'm ready to give up...
the end result is the same /usr/lib/ is not added to path....thoughts, thanks
Old 10-30-2006, 09:22 AM   #2
LQ Guru
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,145

Rep: Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503Reputation: 503
They look the same to there a difference between $path and $PATH ?
Absolutley, linux is case sensitive, so PATH, path, PaTh and pATH are all different.
Old 10-30-2006, 09:45 AM   #3
Registered: Sep 2006
Distribution: Windows .. MUAHAHAHA
Posts: 66

Rep: Reputation: 15
if your looking to set your path try this:
export PATH=$PATH:/usr/lib
Old 10-30-2006, 10:00 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
From your output, your problem does not have anything to do with paths. All you need to do is install gcc. If it were installed, gcc would be in /usr/bin and not in /usr/lib.
Old 11-01-2006, 10:24 AM   #5
Registered: Oct 2001
Location: Overland Park, KS
Distribution: OpenSuSE 11.4
Posts: 363

Original Poster
Rep: Reputation: 30
reddazz - thats where I found...

my gcc version 4.0.2 (found in /usr/lib directory). Would this syntax accomplish what I need?
export PATH=$PATH:/usr/lib/...?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
setting syntax highlight for vi cramer Programming 18 08-14-2006 12:49 PM
MySQL not starting, wrong syntax??? riscphree Linux - Software 2 12-21-2005 08:13 PM
advise on a job path berrance General 3 11-29-2004 03:25 PM
What's wrong with this iptables syntax?? registering Linux - Security 3 06-16-2004 03:54 PM
configured wrong mouse, please advise! penguinlover Linux - Newbie 3 07-02-2003 08:20 PM

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration