Help with C compiler..

Status
Not open for further replies.

plsoft

Journeyman
I'm using Mandriva 2006. When i try to compile some software (eg amarok, kplayer,etc) it gives me the following error: Could u please tell me how to solve this problem? Thank u all in advance.

configure:1586: checking build system type
configure:1604: result: i686-pc-linux-gnu
configure:1612: checking host system type
configure:1626: result: i686-pc-linux-gnu
configure:1634: checking target system type
configure:1648: result: i686-pc-linux-gnu
configure:1695: checking for a BSD-compatible install
configure:1750: result: /usr/bin/install -c
configure:1765: checking for -p flag to install
configure:1778: result: yes
configure:1789: checking whether build environment is sane
configure:1832: result: yes
configure:1884: checking for gawk
configure:1900: found /bin/gawk
configure:1910: result: gawk
configure:1920: checking whether make sets $(MAKE)
configure:1940: result: yes
configure:2126: checking for kde-config
configure:2188: result: /usr/bin/kde-config
configure:2284: checking where to install
configure:2288: result: /usr (as returned by kde-config)
configure:2343: checking for style of include used by make
configure:2371: result: GNU
configure:2519: checking for gcc
configure:2548: result: no
configure:2599: checking for cc
configure:2628: result: no
configure:2641: checking for cc
configure:2687: result: no
configure:2740: checking for cl
configure:2769: result: no
configure:2783: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 

praka123

left this forum longback
U need to install gcc rpm...get installed g++ also..also check ur config.log in ur compile directory
 

JGuru

Wise Old Owl
Yeah, Y ou need to install GCC compiler. Put your
Mandriva Linux DVD on the drive. And install the
software using Package Manager.
 
OP
plsoft

plsoft

Journeyman
sorry but there is yet another related problem. After installing the GCC compiler it works fine but after sometime the process says that there are no X includes. Now i don't know what are x includes. Can you guys tell me from where to get it, or is it available in the distro's CD itself.
 

eddie

El mooooo
You seem to be missing devel package of xorg. imho use urpmi instead of trying to compile applications from source on an RPM based distro. You will find lots of dependencies missing and might get frustrated.

Read the following links on how to use urpmi and how to install software using it
*en.wikipedia.org/wiki/Urpmi
*speculation.org/garrick/urpmifaq.txt
*easyurpmi.zarb.org/
 
Status
Not open for further replies.
Top Bottom