Jhoanna Rhodette Pedrasa wrote: > Hi, > > I am trying to install ns-allinone-2.33 on an x64 CentOS > machine (of which I don't have admin access). Compilation goes well but > I get an error during the link stage: > > /usr/bin/ld: skipping incompatible ~/ns-allinone-2.33/tclcl-1.19/libtclcl.a > when searching for -ltclcl > /usr/bin/ld: cannot find -ltclcl > collect2: ld returned 1 exit status > make: *** [ns] Error 1 > Ns make failed! > > I went into the tclcl-1.19 directory and ran configure and make but I need su > access for make install. > > Since I dont have admin access I tried installing tclcl manually by running > ./configure with --prefix=$HOME/simruntime but when I run ./install in NS2 I > get the same error. Any help is appreciated. > > - Jhoanna >
Does libtclcl.a get built initially? Did you start from a fresh ns-allinone-2.33.tar.gz file on this machine? ns-2 should pull in the tclcl from the ../tclcl-1.19 directory by virtue of this configuration line in the ns-allinone-2.33 install script: ./configure --with-otcl=../otcl-$OTCLVER --with-tclcl=../tclcl-$TCLCLVER || die "Ns configuration failed! Exiting ..."; I haven't seen that specific error before. - Tom