LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2009, 10:07 AM   #1
kuberninad
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
ns-allinone on ubuntu offline


how to install ns-2.34 allinone on ubuntu without having net on comp.
i tried but got errors in tk8.4.18 like:
missing x11,x.
how to solve this (tell me offline solution)
 
Old 10-28-2009, 11:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The required packages are :

libx11-dev , libxmu-dev , libxmu-headers , libxt-dev , libtool

Starting with the libx11-dev link :
http://packages.ubuntu.com/search?se...rds=libx11-dev
> select OS , e.g.
http://packages.ubuntu.com/jaunty/libx11-dev
... And use the "Search" for the other packages.

** The download "button" > > Download libx11-dev → <arch>,
e.g. ' i386 '.
.....
Also please remember : you will need all the dependencies
for ' libx11-dev ' etc. too. They are shown on the site ,
marked with a red dot.

Good luck !
.....

Last edited by knudfl; 10-28-2009 at 02:50 PM.
 
Old 10-31-2009, 05:22 AM   #3
kuberninad
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
The required packages are :

libx11-dev , libxmu-dev , libxmu-headers , libxt-dev , libtool

Starting with the libx11-dev link :
http://packages.ubuntu.com/search?se...rds=libx11-dev
> select OS , e.g.
http://packages.ubuntu.com/jaunty/libx11-dev
... And use the "Search" for the other packages.

** The download "button" > > Download libx11-dev → <arch>,
e.g. ' i386 '.
.....
Also please remember : you will need all the dependencies
for ' libx11-dev ' etc. too. They are shown on the site ,
marked with a red dot.

Good luck !
.....

MY REPLY:
i followed your reply for installing tk through allinone package.
and it worked...........!
but now it is showing errors in tclcl
errors are:
------------------------------------------------------------------------
checking for libtk8.4... -L../lib -ltk8.4
checking for tk.tcl... ../lib/tk8.4
checking for otcl.h... -I../otcl-1.13
checking for libotcl1.13... -L../otcl-1.13 -lotcl
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for zlib.h... no
checking for libz1.1.3... no
No explicit static compilation flag; setting V_STATIC to ""
checking for dlopen in -ldl... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
creating ./gen
creating ./bin
gcc -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -I. -I/home/kuber/ns-allinone-2.34/otcl-1.13 -I/home/kuber/ns-allinone-2.34/include -I/home/kuber/ns-allinone-2.34/include -I/home/kuber/ns-allinone-2.34/include -o tcl2c++.o tcl2c++.c
rm -f tcl2c++
g++ -o tcl2c++ tcl2c++.o
make: g++: Command not found
make: *** [tcl2c++] Error 127
tclcl-1.19 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

------------------------------------------------------------------------
what is solution for this??

on my pc i have done partition for ubuntu and xp.
i also want to ask how to access drives through terminal in ubuntu??
my home dir. in ubuntu has very less space (150 MB),how to increase it?
 
Old 11-01-2009, 04:16 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"checking for zlib.h... no" : .. The missing package is zlib1g-dev
http://packages.ubuntu.com/jaunty/zlib1g-dev

"g++: Command not found" .. : .. g++ .. → package g++
http://packages.ubuntu.com/jaunty/g++
.. and g++-4.3
http://packages.ubuntu.com/jaunty/g++-4.3
+ the dependencies libgmp3c2 libmpfr1ldbl libstdc++6-4.3-dev
also available from the g++-4.3 link. (The red dots.)
.....
The command to build ns-allinone-2.34 is ' ./install '.
When you use that, the internal zlib will be used.
But better install zlib1g-dev anyway.
By manual install, the order of programs is :
1) tcl 2) tk 3) otcl 4) tclcl 5) ns-2.34 6) nam
.....

Last edited by knudfl; 11-01-2009 at 04:29 AM.
 
Old 01-25-2010, 12:05 AM   #5
ritoban87
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Rep: Reputation: 0
I also need help

I have also faced the same problem.I have downloaded the packages in windows as i can't acccess net in xubuntu.now how can i use these files in xubuntu???????please help.............
 
Old 01-25-2010, 12:15 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ ritoban87 : Dependencies, ns-allinone-2.34 :
libx11-dev, libxmu-dev, libxmu-headers, libxt-dev, libtool
Search : http://packages.ubuntu.com/search?se...rds=libx11-dev

Offline, you will also need : libxmu, libxt.
Possible inter dependencies :
x11proto-core-dev libice-dev libsm-dev libxdmcp-dev
x11proto-xext-dev libxi-dev

Installing packages : 1) cd <path-to-folder-with-packages.deb>/
2) sudo dpkg -i *.deb

P.S : If you have Ubuntu 9.10 Karmic : a DVD is availabe. ?
( I have one ( from 'Linux User' ( a German Magazine.))).
Content : 2,876 packages.
.....

Last edited by knudfl; 01-25-2010 at 04:53 AM.
 
  


Reply

Tags
offline, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install ns-allinone-2.34 on ubuntu 8.04 beringinraya Linux - Newbie 2 07-27-2009 09:30 AM
[SOLVED] wine offline installation- ubuntu 9.04 unclerick94 Linux - Newbie 2 07-11-2009 01:31 PM
can't install software offline on ubuntu 8.04 dreamlife Linux - Newbie 1 06-26-2009 09:55 AM
NS2 2.33 allinone on Ubuntu Liz Mwaniki Linux - Newbie 1 01-26-2009 04:24 AM
offline update package lists in Ubuntu uaa Linux - Software 6 07-28-2008 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration