LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   knudfl help me (https://www.linuxquestions.org/questions/linux-newbie-8/knudfl-help-me-4175470830/)

sants 07-25-2013 12:35 AM

knudfl help me
 
# 88 : A package gpsr-keliu-ns-2.34-ubuntu10_i386.deb has been uploaded to
https://docs.google.com/file/d/0B7S2...p5SDc5dkE/edit

Can be installed with ( If you have a 32bits OS (i686)) :
sudo dpkg -i gpsr-keliu-ns-2.34-ubuntu10_i386.deb

The package provides : /usr/local/bin/ns-gpsr-k
/usr/local/lib/gpsr-KeLiu/ns-allinone-2.34/bin/**
/usr/local/lib/gpsr-KeLiu/ns-allinone-2.34/lib/**

Using : $ ns-gpsr-k wireless-gpsr.tcl

when i m running this it shows an error as:

couldn't read file "wireless-gpsr.tcl": no such file or directory
so plz help....

i m using ns2.34 in ubuntu10.04.

pan64 07-25-2013 04:49 AM

can you check that file (where is it located?) "wireless-gpsr.tcl"

knudfl 07-25-2013 05:30 AM

The 4.7 MB binary package gpsr-keliu-ns-2.34-ubuntu10_i386.deb
will only provide ns* and the files required to run ns*.

The data : Suggest gpsr-KeLiu-patched-ns234.tar.gz, 14 MB
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

sants 07-25-2013 05:48 AM

i used patched gpsr-KeLiu-patched-ns234.tar.gz in the same way as u told.
but i m getting the error while i run the command "export CC=gcc41 CXX=g++41 && ./install "

Error is

============================================================
* Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configure: error: in `/home/santosh/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details.
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.


i dont know what to do.should i try it on another plateform

pan64 07-25-2013 06:14 AM

so see config.log (or post it). Probably you need to install additional packages, like c compiler.

knudfl 07-25-2013 06:15 AM

# 4 .
Quote:

checking for gcc... gcc41
checking whether the C compiler works... no
A compiler must be installed to work.
You can check gcc41 / g++41 with : $ which g++41

But why do you want to build another file "ns(-gpsr-k)" ? ?
! That's the only result you will get from ./install : One file = ns .

Using "wireless-gpsr.tcl" : 1) $ cd ns-2.34/tcl/
2) $ ns-gpsr-k wireless-gpsr.tcl

-

sants 07-25-2013 06:25 AM

thanks for reply.
hopefully it will work.

sants 07-25-2013 07:07 AM

thank u very much
it was a great help
my wireless-gpsr.tcl is running
thanks once again

Mara 08-02-2013 05:16 PM

Dear sants: there are many knowledgable members of this forum. I understand that you like the answers of knudfl, but asking in a title for a specific member limits the number of persons who are going to look into the thread. Please consider a more descriptive title next time.


All times are GMT -5. The time now is 07:50 PM.