Please, I am have been having problems installing NS2 and BonnMotion. I am running openSUSE Tumbleweed (20160812) (x86_64) and I keep running into the g++c++ error: CXX=g+±6.1: No such file or directory make: *** [Makefile:103: libotcl.so] Error 1 otcl-1.14 make failed! Exiting …(after editing the makefile.in)I have tried reading a lot about it on line and noted that its a compatibility problem but my challenge is, I cant remove the latest version without having issues and how do I install an older version that can allow the ns-allinone-2.35 version? Thank you.
Have you installed gcc?
Awhile back in another gcc Forum thread, the following was referenced which describes how compiling multiple gcc side by side in a system can be accomplished.
https://gcc.gnu.org/faq.html
Which still never enabled me to understand how two gcc side by side would actually work(unless I’m just missing something in that FAQ).
As far as I can see, you don’t actually have to do anything in the gcc FAQ because TW has precompiled older versions of gcc in the OSS repository, named appropriately… So, of course it’s no big deal to install an older gcc side by side with the default.
But, how to tell source to compile using the older gcc?
Does the makefile need to be modified?
Something else?
So, I’ve resolved this sometimes in the past by removing the default gcc leaving the older gcc installed, then reversing later so later source would use the default.
But, there should be a better way to switch between gcc.
TSU