Need Help Installing NS 2.26 With RSVP-TE Patch

Hello,

i need to install NS2 version 2.26 with RSVP-TE patch to do some MPLS simulations.

I'm trying on fedora 8 and when compiling i am getting this error

* Build ns-2.26
============================================================
loading cache ./config.cache
...
checking for tcl2c++... ../tclcl-1.0b13
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
can't find X library
Ns configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.

All X11 packages are installed (libX11-devel libXext-devel libXau-devel libXmu-devel)

Installed CentOS 3.9 (it seems NS2 2.26 installs well on this distro) but when trying to get packages with yum seems the repo is not working anymore.

If any one could help to solve the problem of installation i would greatly appreciate


Similar Content



Problem Ns2 With Centos6.6

Hello all

i need to install ns2.34 in centos 6.6

with this
http://bhavanme2011.blogspot.com/

but i can t install the packages

yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install libX-devel
yum install libXt-devel
yum install libXmu-devel
yum install xorg-x11-proto-deve
finally
yum update audit

when i execute it

i have this msg

Loaded plugins: fastestmirror, refresh-packagekit, security
You need to be root to perform this command.

Configu Error: Can't Find Xm (motif) Library

I'm trying to configure (install and run) a program on Red Hat Enterprise Linux WS release 4 (Nahant Update 7). The last section in my failing configure log file is:

checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for X11/Intrinsic.h... (cached) yes
checking Xm/Xm.h usability... yes
checking Xm/Xm.h presence... yes
checking for Xm/Xm.h... yes
checking for Xm/Xm.h... (cached) yes
checking if Xm.h defines XmSCROLL_HOR... yes
checking if GL/GLwDrawA.h can be found... yes
checking if GLw/GLwDrawA.h can be found... no
checking if X11/GLw/GLwDrawA.h can be found... no
checking for main in -lX11... yes
checking for main in -lXt... yes
checking for main in -lXmu... yes
checking for library containing _XmStrings... no
configu error: can't find Xm (motif) library

Any suggestions on how best to proceed would be greatly appreciated. Thanks.

Error: Libtool Configure Failed

Hi,
After extracting mysql-3.23.40.tar.gz
cd mysql-3.23.40/

Then
mysql-3.23.40]# ./configure --prefix=~/MySQL --with-mysqld-user=generic_user
loading cache ./config.cache
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configu error: libtool configure failed

Help!!!!!!!!

Installtion Error For Ns 2.27 On Ubuntu 12.04

following error shown when i tried the command:
cd ns-allinone-2.27/ &&export CC=gcc41 CXX=g++41 && ./install


============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configu error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found. Stop.
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o ctangle ctangle.o common.o
gcc -g -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o cweave cweave.o common.o
ln: failed to create symbolic link `cweave': File exists
ln: failed to create symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
gcc41 -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c
make: gcc41: Command not found
make: *** [gb_io.o] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.1.4 with gcc41.
Checking for unistd.h... No.
Checking for errno.h... No.
Checking for mmap support... No.
gcc41 -O -DNO_ERRNO_H -c -o example.o example.c
make: gcc41: Command not found
make: *** [example.o] Error 127
Zlib make failed, but it's optional Continue ...
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configu error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 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.



please help

C Compiler Cannot Create Executables

Hello everyone,

I recently installed AntiX debian Linux on an old IBM thinkpad T42. I have been trying to install some software using tar files but I kept getting the error the the C compiler cannot create executables. Can anyone help me out. Here is an example of the error. I do not know if the config.log details will help but i will post them if it will help.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ar... ar
checking for gcc... gcc
checking whether the C compiler works... no
configu error: in `/home/grimlock/Desktop/tor-0.2.4.27':
configu error: C compiler cannot create executables
See `config.log' for more details

I Try To Install Ns2.33 On Ubuntu 10.10 In Order To Run ZRP Protocol

Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory

2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#

Then save the file and close.

3.Write the following command to update the system
$ sudo apt-get update

4.download the two files from the following link and save it in the home directory

gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing

5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb

6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++

7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install

9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing

but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu 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
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu 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.
#

so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help

*** ERROR: PERL Module Apache::DBI Is Not Installed !

Hello,

I am configuring OCS Server using the following two documentations:

http://wiki.centos.org/HowTos/OCSNG
http://www.howtoforge.com/how-to-ins...-on-centos-5.5

Getting below error during installaton:

""Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for Apache:BI PERL module...
*** ERROR: PERL module Apache:BI is not installed !
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for Compress::Zlib PERL module...
Found that PERL module Compress::Zlib is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.
*** ERROR: There is one or more required PERL modules missing on your computer !
Please, install missing PERL modules first.""

i have googled for the solution unsuccessfully.
please help me in installing the missing perl module.

thanks in advance..

--
Anil Anji

Installation Of PMIPv6 Patch In NS-2.33

Hi all,

I am going to install PMIPv6 patch in NS-2.33. I have Fedora - 16 in my Laptop. Before installation of Patch it is asked to "install on the system binutils, gcc, g++, make, autoconf, libX11-dev, tk8.4-dev, libxmu-dev (or libxmu-headers)". Can I get help on how to install all the above in fedora 16. Please help.

Yum Install / Package Install Error

I am getting Following output after running installation of some packages.

it gives me such error

rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD


What causing this ? i have downloaded the latest key from
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 and check it, the key is fine under my system /etc/pki/rpm-gpg

Configuration files of respo are also fine under /etc/yum.rpos.d/CentOS-Base.repo

Kindly help

Error After Running Yum Update - Black Screen

Can you guys advise on how to resolve this? We have a machine (RHEL 6 32bit 2.6.32-504.8.1.el6.i686) that boots to a black screen. I can SSH into it from my machine, but when you're physically at the machine it just displays a black screen.

I have tried booting from the previous 2 kernels, but still get the black screen.

I am assuming something got hosed with the video stuff? Its an ATI Radeon 4000series card. Should I install the ATI driver from their website and try? We have never had to do that with these machines though.


Also, when running a yum update, we receive this error. I'm not sure how to resolve this and if resolving this will fix the video issues.

Code:
# yum update
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Finished Dependency Resolution
Error: Package: libgudev1-147-2.46.el6.i686 (@rhel-i386-workstation-6)
           Requires: libudev = 147-2.46.el6
           Removing: libudev-147-2.46.el6.i686 (@rhel-i386-workstation-6)
               libudev = 147-2.46.el6
           Updated By: libudev-147-2.57.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.57.el6
           Available: libudev-147-2.29.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.29.el6
           Available: libudev-147-2.35.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.35.el6
           Available: libudev-147-2.40.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.40.el6
           Available: libudev-147-2.41.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.41.el6
           Available: libudev-147-2.42.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.42.el6
           Available: libudev-147-2.46.el6_4.2.i686 (rhel-i386-workstation-6)
               libudev = 147-2.46.el6_4.2
           Available: libudev-147-2.51.el6.i686 (rhel-i386-workstation-6)
               libudev = 147-2.51.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Heres after running yum update --skip-broken:

Code:
# yum update --skip-broken
Loaded plugins: downloadonly, product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: libudev = 147-2.46.el6 for package: libgudev1-147-2.46.el6.i686
---> Package libudev.i686 0:147-2.57.el6 will be an update
---> Package libudev-devel.i686 0:147-2.46.el6 will be updated
---> Package libudev-devel.i686 0:147-2.57.el6 will be an update
---> Package udev.i686 0:147-2.46.el6 will be updated
---> Package udev.i686 0:147-2.57.el6 will be an update
--> Running transaction check
---> Package libudev.i686 0:147-2.46.el6 will be updated
---> Package libudev.i686 0:147-2.57.el6 will be an update
--> Processing Dependency: libudev = 147-2.57.el6 for package: libudev-devel-147-2.57.el6.i686
--> Running transaction check
---> Package udev.i686 0:147-2.46.el6 will be updated
--> Processing Dependency: udev = 147-2.46.el6 for package: libudev-devel-147-2.46.el6.i686
---> Package udev.i686 0:147-2.57.el6 will be an update

Packages skipped because of dependency problems:
    libudev-147-2.57.el6.i686 from rhel-i386-workstation-6
    libudev-devel-147-2.57.el6.i686 from rhel-i386-workstation-6
    udev-147-2.57.el6.i686 from rhel-i386-workstation-6

Thanks in advance.