[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Ns compile problem: "cannot exec `cc1plus'"



When compiling ns-2.1b6 I get the following message:
  make[1]: Entering directory
    `/var/tmp/ns-2.1b6/indep-utils/cmu-scen-gen/setdest'
  gcc -c -Dstand_alone -o rng.o ../../../rng.cc
  gcc: installation problem, cannot exec `cc1plus': No such file or directory
  make[1]: *** [rng.o] Error 1

The system is:
  Debian GNU/Linux 2.1
    with gcc-2.7.2.3, libc6-2.0.7, Tcl-8.0.4, Tk-8.0.4, and
    c++ "gcc version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release)".
  Otcl-1.0a5 and Tclcl-1.0b9 were downloaded from the ns site and seemed
    to install properly, replacing previous versions.
  Nam-1.0a8 is also installed and did not have any problems compiling.

I did not have this problem with the previous version, ns-2.1b5, however
some changes to the system may have occured between then and now. (Since
the new library versions of otcl and tclcl have been installed ns-2.1b5 no
longer compiles due to what appears to be a change in the function call to
'TclObject::delay_bind_dispatch'.)

Any suggestions on how to solve this problem with ns-2.1b6?


---
Jeffrey Austen       |  Tennessee Technological University
[email protected]   |  Box 5004
+1-931-372-3485      |  Cookeville Tennessee 38505   U.S.A.