LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-28-2004, 05:55 AM   #1
Rory in Toronto
Member
 
Registered: Mar 2004
Posts: 136

Rep: Reputation: 15
Installing an App on Linux - wrong path?


Hi,

I've installing an app on Mandrake 10.0 Linux for the first time. I trying to get Superkaramba up and running.

I've unpacked the tar ball. In shell, I've changed to the directory. However, when I do the ./configure command I get this error:

configure:2481: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I'm brand new to Linux and using the shell, so any advice/steps is welcome. The very basic nature of my question also make it difficult to do specific searches to find the answer, which is why I've resorted to posting.

Thanks,
Rory

Here's the top part of the config.log output.
================
$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.6.3-4mdk
uname -s = Linux
uname -v = #1 Tue Mar 2 07:26:13 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin/
PATH: /usr/games
PATH: /home/rory/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1510: checking build system type
configure:1528: result: i686-pc-linux-gnu
configure:1536: checking host system type
configure:1550: result: i686-pc-linux-gnu
configure:1558: checking target system type
configure:1572: result: i686-pc-linux-gnu
configure:1618: checking for a BSD-compatible install
configure:1672: result: /usr/bin/install -c
configure:1687: checking for -p flag to install
configure:1700: result: yes
configure:1711: checking whether build environment is sane
configure:1754: result: yes
configure:1774: checking for gawk
configure:1790: found /usr/bin/gawk
configure:1800: result: gawk
configure:1810: checking whether make sets $(MAKE)
configure:1830: result: yes
configure:2042: checking for style of include used by make
configure:2070: result: GNU
configure:2217: checking for gcc
configure:2246: result: no
configure:2297: checking for cc
configure:2326: result: no
configure:2339: checking for cc
configure:2385: result: no
configure:2438: checking for cl
configure:2467: result: no
configure:2481: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

configure:2385: result: no
configure:2438: checking for cl
configure:2467: result: no
configure:2481: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Last edited by Rory in Toronto; 03-28-2004 at 05:56 AM.
 
Old 03-28-2004, 07:09 AM   #2
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
gcc missing?

What happens when you type:
gcc
at the command prompt?
 
Old 03-28-2004, 07:33 AM   #3
Rory in Toronto
Member
 
Registered: Mar 2004
Posts: 136

Original Poster
Rep: Reputation: 15
From Shell, I tried typing gcc in three different levels of my directory structure. This is all very new to me, so I don't even know if I'm expanding the directory I want to install to the right place.

Here's the output:

[rory@localhost rory]$ gcc
bash: gcc: command not found
[rory@localhost rory]$ cd ~/downloads/
[rory@localhost downloads]$ gcc
bash: gcc: command not found
[rory@localhost downloads]$ cd ~/downloads/superkaramba-0.32b
[rory@localhost superkaramba-0.32b]$ gcc
bash: gcc: command not found
 
Old 03-28-2004, 07:47 AM   #4
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
It looks like you have not installed development tools when you installed mandrake. You downloaded a source distribution of 'Superkaramba' (whatever that is), so you will need a C compiler and various other things for compiling software.

I am neither a Linux expert (but wanting to learn more) nor a Mandrake user, so I am not sure on the details, but you probably have two options:

1) Find a precompiled version of the program you want (an rpm). Then you dont need to do ./configure make etc. There may not be a precompiled version available, check the website of the program.

2) Install the development tools on your system. You will have to read up in the Mandrake documents on how to do this, or maybe someone else can help you out with Mandrake specific help... ??

I hope that I have been at least some help - at least to explain the problem! Good luck with getting this to work.

Muzzy.
 
Old 03-28-2004, 07:56 AM   #5
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
I checked the SuperKaramba website:

http://netdragon.sourceforge.net/ind...20SuperKaramba

They have a Mandrake 9.1 RPM for download. I assume that this is a precompiled rpm. Have you tried downloading this? Did you take the source distribution before?

Muzzy.
 
Old 03-28-2004, 06:55 PM   #6
Rory in Toronto
Member
 
Registered: Mar 2004
Posts: 136

Original Poster
Rep: Reputation: 15
Thanks. I assume the 9.1 will work on 10.0. I'll try that. Much appreciated!

Rory
 
Old 03-30-2004, 11:15 AM   #7
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
To be honest I don't know if 9.1 and 10.0 Mandrake packages are (always|sometimes|never) compatible. In general packages are made for specific versions, but I'm sure they don't deliberately break everything between versions.

In any case, it would probably be a good idea to install the development tools if you want to keep up with the latest versions of everything since it can sometimes be a while before packages are released for your version.
 
  


Reply


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 path for app n libraries install shizzles Linux - Software 3 07-18-2005 12:26 PM
Wrong module path Digiital Linux - General 2 01-11-2005 07:23 AM
changed the login shell in /etc/passwd to the wrong path infamous41md Solaris / OpenSolaris 3 07-03-2004 07:32 PM
Kmail links open to wrong destination path tigerflag Slackware 2 12-30-2003 10:43 PM
app.path in linux? mvendramini Programming 10 12-02-2003 01:13 PM

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

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