LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2008, 01:14 PM   #1
ashitaka
LQ Newbie
 
Registered: Sep 2008
Location: utah
Distribution: DSL
Posts: 8

Rep: Reputation: 0
no acceptable C compiler found in $path


hello I'm a noob at linux and working at it.
I have install DSL on my old laptop, which doesn't have the internet, so I have install through bash. I have learned how to install it, but I can't seem to configure it when I enter, for example, ogle-0.9.2/configure it spits some stuff out like, "checking for gcc....No" and it ends with "error: no acceptable C compiler found in $path"
I checked other forums for answers, but they just say install gcc-4.1.2, which I did, and when I try and configure that it says "error: no acceptable cc found in $path". is there a way that I can open programs without having to configure it and make it and clean up.
I have no Idea what to do. plz make it easy to understand what I should enter in the source. I'm still a noobie
help plz
 
Old 09-26-2008, 01:25 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to look for a prebuilt package for gcc for your distro, rather than trying to install it from source.
 
Old 09-26-2008, 01:32 PM   #3
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
Since it sounds like you are really brand new and this is your first install I have to ask:

1) How did you "install gcc"? What output do you get if you type "gcc -v" at the bash prompt?

2) What distro are you using (ubuntu,redhat,etc.)? Usually you should not have to configure/compile anything. I don't use "ogle" but if it is part of your install then it's already been built -- or did you download the source?

You should understand that the "configure" script found in a source tree is for configuring the construction of the program, and (usually) not for configuring user runtime options (like which device is the dvd player, etc). "configure" IS NOT a command, it's a generic name for a kind of text file. Once the program is built, you will have to consult the program and/or it's documentation to set different options.

Usually gcc is not installed by default. I know you think you have it installed, but to be sure try to answer my two questions and you will probably get some better advice.
 
Old 09-26-2008, 02:28 PM   #4
ashitaka
LQ Newbie
 
Registered: Sep 2008
Location: utah
Distribution: DSL
Posts: 8

Original Poster
Rep: Reputation: 0
I'm definitely new

so I am Running DSL,or Damn Small Linux. It is on an old 99 laptop so it is a quick OS for it. I have ubuntu running on my other computer, but that runs great. so for DSL. I have to learn how to install the programs.
So I typed in gcc -v and it relied "bash: gcc: command not found"
As far as ogle, I don't really care about that one program. I was just looking for a generic media program. I think I am going to use VLC instead though.
As far as installing gcc. I typed this in the source"tar xvjf gcc-4.1.2.tar.bz2" then it unzips it all, but then I'm stuck, and rendered useless. I have used tar on a few other different source packages, and they all do about the same thing.
if there is a prebuilt package where can I find, because DSL's website isn't really the best user friendly website. Also how do I install it.

Last edited by ashitaka; 09-26-2008 at 02:30 PM.
 
Old 09-26-2008, 03:27 PM   #5
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
Quote:
Originally Posted by ashitaka View Post
so I am Running DSL,or Damn Small Linux. It is on an old 99 laptop so it is a quick OS for it. I have ubuntu running on my other computer, but that runs great.
Never looked at DSL so I won't be much help with that, but I would say this: if you're used to ubuntu, why not just use it? I guarantee it will fit and run on any laptop built in 1999.


Quote:
Originally Posted by ashitaka View Post
So I typed in gcc -v and it relied "bash: gcc: command not found"
That means you DEFINATELY DO NOT have gcc installed.

Quote:
Originally Posted by ashitaka View Post
As far as installing gcc. I typed this in the source"tar xvjf gcc-4.1.2.tar.bz2" then it unzips it all, but then I'm stuck, and rendered useless.
If you are using a source package, then you are attempting to build a package from the source. Most if not all of the packages you have installed with Ubuntu were already built and ready to use. One of the things YOU NEED TO BUILD ANYTHING is a working (ie, already built) gcc itself.

I just glanced at the DSL homepage and it looks to me like it's supposed to be quite minimal. For example, I didn't see any pre-packaged gcc, which means DSL was not designed to do any "development" (eg. building) on. That means you will have to restrict yourself to DSL's own packages and cannot install anything else unless it's a pre-built binary based on the glibc used in DSL.

So, you need to either reconsider your use of "Damn Small Linux" or feel satisfied with what they have to offer.
You might be able, if you are using the same libraries in ubuntu, to just copy your gcc onto your DSL install -- I am sure that will be a learning experience.

Conceptually, what has screwed you up here is not understanding that binary "executables" are compiled from source code, and that doing that requires a whole bunch of software and C library sources (often part of a "development platform" option in mainstream distro installs). If you are used to downloading source, untarring it, then running "configure" and "make" in ubuntu then you have all that stuff installed there already, but you may not be able to get it in DSL.
 
Old 09-26-2008, 10:39 PM   #6
ashitaka
LQ Newbie
 
Registered: Sep 2008
Location: utah
Distribution: DSL
Posts: 8

Original Poster
Rep: Reputation: 0
Thank Mk27 it has helped a great deal. I'll look into installing puppy, or something else. Due to the size of my comp (6G)
So Thanks again
 
  


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
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $PATH Shakes79 Linux - Software 2 01-21-2008 05:40 AM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
no acceptable C compiler found in $PATH agentdunken SUSE / openSUSE 12 07-13-2005 03:41 PM
no acceptable C compiler found in $PATH skrothuset Linux - Newbie 4 06-13-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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