Sunday, July 12, 2009

Linux:Ubuntu problem : configure: error: C++ compiler cannot create executables?

I know this has been posted in alot of forums, maybe on yahoo answers, but i dont know how to fix this. My Gcc compiler is installed. Im a bit of a newbie at linux. When i type ./configure when i am trying to install something, after i hav done 'cd' to the directory, it says that:





ihaxlinux@iHaxLinux-:~/Desktop/openmov... ./configure


checking for a BSD-compatible install... /usr/bin/install -c


checking whether build environment is sane... yes


checking for gawk... no


checking for mawk... mawk


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... 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 deta

Linux:Ubuntu problem : configure: error: C++ compiler cannot create executables?
Install your compiler and linker again.





System → Administration → Synaptic Package Manager





is the simplest way
Reply:Which distro are you using? These days its rare that you need to compile anything yourself - most software is right their in the repository ready to go.





Anyway, it looks like your missing some development packages (libc-dev).


No comments:

Post a Comment