LinuxQuestions.org
Help answer threads with 0 replies.
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 02-01-2008, 12:52 AM   #1
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Rep: Reputation: Disabled
Question Xandros - configure: error: no acceptable C compiler found in $PATH


Hi everyone.

I'm trying to install VirtualBox on my Asus Eee PC running Xandros. So I downloaded the Debian 4.0 ("Etch") i386 version on the VirtualBox downloads page and opened it up in console and this happened:
/home/user/My Documents/Downloads> sudo dpkg -i virtualbox_1.5.4-27034_Debian_etch_i386.deb
(Reading database ... 74509 files and directories currently installed.)
Preparing to replace virtualbox 1.5.4-27034_Debian_etch (using virtualbox_1.5.4-27034_Debian_etch_i386.deb) ...
Unpacking replacement virtualbox ...
dpkg: dependency problems prevent configuration of virtualbox:
virtualbox depends on libxalan110; however:
Package libxalan110 is not installed.
virtualbox depends on libxerces27; however:
Package libxerces27 is not installed.
dpkg: error processing virtualbox (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox

I've downloaded xalan_1.10.orig.tar.gz and extracted it to here: /home/user/My Documents/Downloads/xml-xalan/ But when I try to configure the file I get this:
/home/user/My Documents/Downloads/xml-xalan/c> ./configure
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 also get this error when I try to configure anything that has the extension .tar.gz and .tar.bz2

Can someone please tell me how to fix this so VirtualBox works.

Thanks.
 
Old 02-01-2008, 01:02 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Install gcc, or find pre-built packages (.deb) for the dependencies.
 
Old 02-01-2008, 04:22 PM   #3
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
Sorry, but can you please tell me exactly how to install GCC, and where to get it from.

Thanks.
 
Old 02-01-2008, 05:36 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You probably have gcc installed; it just isn't in your PATH (the list of folders that bash looks through for an executable file).

In a terminal, issue the command 'which gcc' (without quotes). It should tell you where the gcc executable is located.

Then, to add it to your path, do this:
export PATH=$PATH:/path/to/gcc

where /path/to/gcc is the return you get from 'which gcc'.

Last edited by bigrigdriver; 02-01-2008 at 05:40 PM.
 
Old 02-01-2008, 05:50 PM   #5
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
When I did 'which gcc' and hit enter, konsole just went down a line:

/home/user> which gcc (pressed enter)
/home/user>

Nothing happened.
 
Old 02-01-2008, 05:59 PM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The which command may not be in your user's path. Try it again as root.
 
Old 02-01-2008, 06:04 PM   #7
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
Did it as root. Same thing happened:

/home/user> su
Password:
eeepc-calebperr:/home/user> which gcc
eeepc-calebperr:/home/user>
 
Old 02-01-2008, 06:06 PM   #8
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
OK. Try something different. Updatedb creates a database of all files installed in the system. You access that database via the locate command. Try this:

locate gcc
 
Old 02-01-2008, 06:09 PM   #9
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
I did that:

eeepc-calebperr:/home/user> locate gcc
locate: /var/cache/locate/locatedb: No such file or directory
eeepc-calebperr:/home/user>

What now??
 
Old 02-01-2008, 06:14 PM   #10
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
ocate: /var/cache/locate/locatedb: No such file or directory
Looks like Xandros doesn't create the database by default. You can do it manually. As root, give the command updatedb. Wait until you get the shell prompt back, then try the locate command again.
 
Old 02-01-2008, 06:17 PM   #11
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
That's looking better, but I don't no what I'm looking for:

eeepc-calebperr:/home/user> updatedb
/usr/bin/find: /.config: No such file or directory
/usr/bin/find: /.kde: No such file or directory
eeepc-calebperr:/home/user> locate gcc
/lib/libgcc_s.so.1
/usr/bin/gccmakedep
/usr/lib/Adobe/Acrobat7.0/Resource/CMap/HKgccs-B5-H
/usr/lib/Adobe/Acrobat7.0/Resource/CMap/HKgccs-B5-V
/usr/lib/gcc
/usr/lib/gcc/i486-linux-gnu
/usr/lib/gcc/i486-linux-gnu/4.1.2
/usr/lib/gcc/i486-linux-gnu/4.1.2/cc1
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/i386/libjavaplugin_nscp_gcc29.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/plugin/i386/ns7-gcc29
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/libstlport_gcc.so.4.6
/usr/lib/openoffice/program/libcomphelp4gcc3.so
/usr/lib/openoffice/program/libcppuhelpergcc3.so.3
/usr/lib/openoffice/program/libgcc3_uno.so
/usr/lib/openoffice/program/libi18nisolang1gcc3.so
/usr/lib/openoffice/program/libi18nregexpgcc3.so
/usr/lib/openoffice/program/libi18nutilgcc3.so
/usr/lib/openoffice/program/libjvmaccessgcc3.so.3
/usr/lib/openoffice/program/libsalhelpergcc3.so.3
/usr/lib/openoffice/program/libucbhelper3gcc3.so
/usr/lib/openoffice/program/libuno_cppuhelpergcc3.so.3
/usr/lib/openoffice/program/libuno_salhelpergcc3.so.3
/usr/lib/openoffice/program/libvos3gcc3.so
/usr/lib/perl/5.8.8/linux/compiler-gcc3.ph
/usr/lib/perl/5.8.8/linux/compiler-gcc4.ph
/usr/lib/perl/5.8.8/linux/compiler-gcc.ph
/usr/share/doc/gcc-3.3-base
/usr/share/doc/gcc-3.3-base/changelog.Debian.gz
/usr/share/doc/gcc-3.3-base/changelog.gz
/usr/share/doc/gcc-3.3-base/copyright
/usr/share/doc/gcc-3.3-base/README.Debian
/usr/share/doc/gcc-3.3-base/TODO.Debian
/usr/share/doc/gcc-3.4-base
/usr/share/doc/gcc-3.4-base/changelog.Debian.gz
/usr/share/doc/gcc-3.4-base/changelog.gz
/usr/share/doc/gcc-3.4-base/copyright
/usr/share/doc/gcc-3.4-base/fortran
/usr/share/doc/gcc-3.4-base/fortran/README.Debian
/usr/share/doc/gcc-3.4-base/NEWS.Debian.gz
/usr/share/doc/gcc-3.4-base/README.Debian.gz
/usr/share/doc/gcc-3.4-base/TODO.Debian
/usr/share/doc/gcc-4.1-base
/usr/share/doc/gcc-4.1-base/.changelog.Debian.gz
/usr/share/doc/gcc-4.1-base/changelog.Debian.gz
/usr/share/doc/gcc-4.1-base/changelog.gz
/usr/share/doc/gcc-4.1-base/copyright
/usr/share/doc/gcc-4.1-base/.copyright
/usr/share/doc/gcc-4.1-base/README.Debian.gz
/usr/share/doc/gcc-4.1-base/TODO.Debian
/usr/share/doc/libgcc1
/usr/share/lintian/overrides/libgcc1
/usr/share/man/man1/gccmakedep.1.gz
/var/lib/dpkg/info/gcc-3.3-base.list
/var/lib/dpkg/info/gcc-3.3-base.md5sums
/var/lib/dpkg/info/gcc-3.4-base.list
/var/lib/dpkg/info/gcc-3.4-base.md5sums
/var/lib/dpkg/info/gcc-4.1-base.list
/var/lib/dpkg/info/gcc-4.1-base.md5sums
/var/lib/dpkg/info/gcc-4.1-base.postinst
/var/lib/dpkg/info/libgcc1.list
/var/lib/dpkg/info/libgcc1.md5sums
/var/lib/dpkg/info/libgcc1.postinst
/var/lib/dpkg/info/libgcc1.postrm
/var/lib/dpkg/info/libgcc1.shlibs
eeepc-calebperr:/home/user>
 
Old 02-01-2008, 06:37 PM   #12
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
That's quite odd. I'm looking for something like /usr/bin/gcc, but all you have is /usr/bin/gccmakedep.

From some of the output you've listed, it appears that Xandros is Debian based. Is that correct?

If so, look at the contents of /etc/apt/sources.list. Do you see Debian repositories listed? If so, use your browser to visit some of those repositories and get the names of gcc-related packages. Then try to apt-get install them. Apt-get should take care of dependencies. You could also use aptitude or synaptic if Xandros has them.
 
Old 02-01-2008, 07:09 PM   #13
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
I think that is is Debian but I'm not sure. This is the contents of /etc/apt/sources.list

deb http://update.eeepc.asus.com/p701/ p701 main
deb http://update.eeepc.asus.com/p701/en/ p701 main

But as I am a newbie I am not quite sure what I'm looking for.
 
Old 02-01-2008, 07:36 PM   #14
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I have a question. Did your eeePC come with Xandros installed?

The reason I ask is that I found this at the Xandros website:
Quote:
Does Xandros Provide Support for the Eee PC?
No. The Eee PC is an ASUS product and is solely supported by them, including Operating system issues. The Operating System on the Eee PC is not a Xandros Product. While Xandros may have aided in the development of the Eee PC OS, it is owned and supported by ASUS.

Please contact ASUS support at http://support.asus.com/ for all Eee PC related questions.
I don't know much about the eeePC. The quote above tells me that Xandros doesn't support installation on the eeePC. So, it's probably got a stripped-down version.

How much RAM and hard drive space does the eeePC have? If it falls into the category of small hand-held devices, that would explain the stripped-down OS.

Here are a couple of repositories from the Debian stable branch. Use them at your own risk. I can't gaurantee that the packages therin are compatible with Xandros. If you want to try them, just copy them from here, and paste them into your sources.list (you will need root authority to do that).
deb http://ftp.de.debian.org/pub/debian etch main contrib non-free
deb http://security.debian.org etch/updates main contrib non-free

If you decide to use them, after you've added them to sources.list, run 'apt-get update' to update apt-gets information on available packages. Then try 'apt-get install gcc'.

Addendum: I've just looked into the Asus repositories you listed. They seem to have a large listing of deb packages. Gcc in there (4 versions from 3.3 to 4.1).
Try apt-get update, followed by apt-get install gcc.

Last edited by bigrigdriver; 02-01-2008 at 07:46 PM.
 
Old 02-01-2008, 08:10 PM   #15
lazyboy994
LQ Newbie
 
Registered: Jan 2008
Location: Wanganui, NZ
Distribution: Xandros - Eee PC 1.0.1
Posts: 17

Original Poster
Rep: Reputation: Disabled
Well I thought that it was Xandros on the Eee because the desktop looks exactly the same as Xandros 4.0 OS (I also have a desktop computer running Xandros 4.0 so that is how I know). But your quote tell's me otherwise. What ever the system is, it came pre-installed.

The Eee has 512MB of RAM, and 4GB hard drive, of which 2.3GB is used by the system so there is not much space left for anything else.

I will try those repository's and see what happens.

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
configure: error: no acceptable C compiler found in $PATH mfeyzifar Fedora 10 08-15-2014 03:13 AM
configure: error: no acceptable C compiler found in $PATH nickster22 Linux - Software 6 07-31-2007 09:07 AM
configure: error: no acceptable C compiler found in $PATH puntino Linux - Newbie 4 11-13-2006 01:48 PM
configure: error: no acceptable C compiler found in $PATH Free-Blade Linux - Newbie 15 09-13-2004 11:33 AM
configure: error: no acceptable C compiler found in $PATH pdemaers Linux - Software 6 05-15-2004 01:11 PM

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

All times are GMT -5. The time now is 10:41 PM.

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