LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kdevelop compiling problem (https://www.linuxquestions.org/questions/linux-software-2/kdevelop-compiling-problem-584041/)

FiXon 09-11-2007 09:56 PM

Kdevelop compiling problem
 
Hi guys im new to the linux environnement.
I started working on it and installed Kdevelop to work on some simple equations over C++.
well when i hit my first compile (F8) i got some big error. which goes as follows:

cd '/home/FiXon/Labos_cpp/Labo1' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && cd '/home/FiXon/Labos_cpp/Labo1/debug' && CXXFLAGS="-O0 -g3" "/home/FiXon/Labos_cpp/Labo1/configure" --enable-debug=full && cd '/home/FiXon/Labos_cpp/Labo1/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
aclocal
autoheader
automake
autoconf
installing -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***

THERE long yes.
On Kdevelop.org they give some sites like requirements but its really badly done and i tried each and i really cant see what i need to download and actually waht to do with it when i have. Please is there a package or anyone that has an idea what i should get and where.
PLEASE i need to work this for my studies
HELP
THANKS

Nylex 09-12-2007 12:08 AM

Looks like you don't actually have gcc installed, so clearly you'll need to install it. How you do this will depend on which distro you're using.

FiXon 09-12-2007 11:14 PM

I mean even if i find it can u give me an idea how i install it?? please i need Kdevelop for my class it would help me incredibly. Im using Fedora 7-i386

So please just tell me what i do to install the gcc on my distribution.
coes for exemple i found gcc-4.2.1.tar.bz2 on ftp://mirrors.kernel.org/gnu/gcc/gcc-4.2.1/
and i took gcc-3.3.tar.bz2 on same site
any way u can tell him how to install them, wont do anything until ur reply

thanks alot again

shivkiyer 09-12-2007 11:25 PM

The files you have downloaded are source codes. You may not particularly need to compile source codes in order to install gcc. The rpm packages will be on your CD. Since you are using Fedora, yum can also be used to install gcc.

Since you will need g++ and may be others, to find out how to issue the yum command to install a particular component, try

yum search <program-name>

This will give you all the programs associated with the search string and you can install the necessary component by:
yum install <program>


If you insist of installing through source codes, unzip the bz2 files you have downloaded and read the detailed instructions in the README file.

FiXon 09-14-2007 11:25 AM

ok ill try what u just told me thanks alot,
i just did yum install gcc and it installed it. I didnt download anything over the net, also did 'yum install kdevelop' and it installed it i dont have any packages that i dld on the net. kinda strange no?
btw what is the equivalent of the "yum" command in Kubuntu because im thinking of using kubuntu rather than fedora.


All times are GMT -5. The time now is 12:44 AM.