LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-18-2007, 02:08 PM   #1
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Rep: Reputation: 15
Where should gcc be?


Is /usr/lib an appropriate place for it? Thats where mine is.
I am getting a "no c compiler found in path" when trying to ./configure fuse.
The fuse folder is in /usr/bin

Should I move something to a different location?

Thanks a bunch for any help,
 
Old 03-18-2007, 03:05 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Mine's in /usr/bin.
 
Old 03-18-2007, 05:25 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If gcc is not in /usr/bin, then you do not have the full compiler installed. Don't move any files from /usr/lib because they are not the compiler. Install gcc with your distros package manager.
 
Old 03-18-2007, 05:54 PM   #4
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks to both of you.
 
Old 03-18-2007, 06:27 PM   #5
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
uname -r says this is my kernel: 2.6.17-5mdvlegacy

I found nothing on rpmfind for gcc with a similar name or indicating it would be for Mandriva One, which I think is Mandriva 2007 kinda sorta?

Any idea how I would find/decide what gcc rpm should be used, if any?
 
Old 03-18-2007, 06:31 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The Mandriva Control Center ("Configure your computer" in the menu) has a software installation section. Use that to search for gcc and insert you installation media when asked. Another option would be to do
Code:
#urpmi gcc
While you are at it, you can use the tool at easyurpmi to add more software sources. Make sure you setup the various repos for main, contrib, plf and updates.
 
Old 03-18-2007, 11:01 PM   #7
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
thanks reddazz,

I think gcc is not shipped with Mandy One. gcc-cpp is all I can find. I dont think it is the compiler.
 
Old 03-18-2007, 11:09 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by geeyathink
thanks reddazz,

I think gcc is not shipped with Mandy One. gcc-cpp is all I can find. I dont think it is the compiler.
The best way to do this is to use the package manager with the repositories on the net. This way you get the latest.

When you run the package manager, there should be a setting for what repositories are used. (I'm not familiar with Mandrake/iva)

To your original question: Often the PATH for root is different than for a normal user. Thus a command can be there, but will not run unless you su to become root.
 
Old 03-19-2007, 05:54 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by geeyathink
thanks reddazz,

I think gcc is not shipped with Mandy One. gcc-cpp is all I can find. I dont think it is the compiler.
Go to easyurpmi as I suggested in my post above and add the various main, contrib, plf and updates repos to your software sources. After that use the Mandriva Control Center to install gcc.
 
Old 03-24-2007, 10:07 PM   #10
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks all,

I figured out how to use the package manager as it came with my distro, so to speak, but did not get easyurpmi to work, or work with my package manager as of yet.
-------------
Partly because of my dependency hell probs but partly because of my laziness I downloaded Mandy 2007 Free and installed it in place of Mandy One non-free.

I am having a easier go of it now. But as I feared, its a little slower than the Mandy one that I had before. Thats OK I will try something more streamlined after I learn more.

I have KMPlayer playing DVDs with no probs, Flash is working great, the BCM43xx wireless is working great (dont ask me why but it surfs and downloads on average much,much faster than when in Windows XP)

My only potential problem at the moment is java. It test as "congradulations, you have the latest java installed" (or something like that) on the Java website, but the website I use for TV listings doesnt work properly. I am off to search about that for a while.

Thanks,
 
  


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
Assigning a short to a double. Differences between gcc-2.95 and gcc-3.4.x _john_i_ Programming 2 01-12-2007 01:11 PM
have gcc compilation error during gcc installtion in linuxfromscratch vbshanmugaprakash Linux - General 3 12-13-2006 05:52 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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