Thread: Weird c compiler behaviour
hi, guys.
i'm unhappy now,,,it started upgrade jaunty. started getting bloody error when compiling no matter kind of project...
looked everywhere think of...couldn't fix it. , since there other buddy things stopped working (like network manager), decided reinstall ubuntu afresh - no upgrades previous version, nothing.code:-- cxx compiler identification unknown -- check working cxx compiler: /usr/bin/c++ -- check working cxx compiler: /usr/bin/c++ -- broken cmake error @ /usr/share/cmake-2.6/modules/cmaketestcxxcompiler.cmake:25 (message): c++ compiler "/usr/bin/c++" not able compile simple test program.
didn't fix anything...again - wasn't able compile single simple c/c++ program cmake. same error haunted me in dreams... today miracle happened...i reading this in order avoid compiling hand (although executing cmake, make , make install shouldn't difficult ) , create deb-package source files (which worked on previous ubuntu - compiling , everything!). synaptic manager downloaded/reinstalled these:
gnupg, lintian, fakeroot, pbuilder, debhelper , dh-make in order make sure everything's fresh , without me spoiling it. , here's miracle happened!!! don't know why decided try compiling source files of project wanted install , didn't succeed. typedtrembeling fingers , sweat on forehead. pressed enter execute command...boom! console started telling me everything's found , fine. started compiling files. after got better. able executecode:cmake .! stared @ display , flying lines of comfirmation , compiled etc. again - happiness isn't last long. me didn't last short period of time...executingcode:makegave me thist:code:make install
looked error on internet...no success. thought - hey, maybe recompiling source fix this...accidents compiling stuff happen. deleted compiled files including make-files.code:[ 99%] built target hedgewars [100%] built target hwengine install project... -- install configuration: "" -- installing: /usr/local/bin/hedgewars cmake error @ qtfrontend/cmake_install.cmake:36 (file): file install cannot copy file "/home/rbaleksandar/desktop/hedgewars-src-0.9.11/bin/hedgewars" "/usr/local/bin/hedgewars". call stack (most recent call first): cmake_install.cmake:38 (include) make: *** [install] error 1
"great" luck after executingagain got same errors of broken c compiler described above...code:cmake .
how can be? first it's not working...then works...then again it's not working?
can compile livecd far optimal solution since have reboot everytime download source files want compile , install...
can please me? if possible - not technical terminology.
in advance , best regards,
rbaleksandar
can not copy file?
looks need sudo make install ?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Weird c compiler behaviour
Ubuntu
Comments
Post a Comment