LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-11-2012, 12:48 PM   #1
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Rep: Reputation: Disabled
NCTUns ./install.sh problem


I am trying to install NCTUns v6.0 on Fedora 12. i have untared the file. but when i execute "./install.sh" as a root user, i get the following error.

./install: line 88: [: !=: unary operator expected
./install: line 93: [: !=: unary operator expected
./install: line 106: stop_log: command not found

Thanks for help
 
Old 06-11-2012, 02:49 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
NCTUns-6.0 ..
Is it this package: NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz ?

Usually no issues with NCTUns. Are you sure that your shell is bash ?
( Or could bash be an alias for another shell ? )

Please try : 1) su
2) bash install.sh


EDIT : Found this .. http://www.linuxquestions.org/questi...all-sh-627423/

.

Last edited by knudfl; 06-11-2012 at 03:01 PM.
 
Old 06-11-2012, 11:28 PM   #3
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yes the package is NCTUns-allinone-linux-2.6.31.6-f12.20100113.tar.gz
i did "echo $SHELL" and it gave me /bin/bash. so i think my shell is bash. it still gives me the same message.
 
Old 06-11-2012, 11:30 PM   #4
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
how could MKDIR solve the problem ? mentioned at the post? http://www.linuxquestions.org/questi...all-sh-627423/
 
Old 06-12-2012, 02:10 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Are you in the current directory where the 'install.sh' file is kept? If not then go into that directory and try using -
Code:
# sh install.sh
 
Old 06-12-2012, 02:27 AM   #6
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
@satyaveer. yes i am in the same directory, i executed your command but the result is the same error message
 
Old 06-12-2012, 04:06 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 4.

One suggestion. About the link with the "MKDIR statement" :
The OP, @7ser23 has no posts since 2010.
May be you could send the OP an email ?
He / she may not be subscribed to the thread any more ...
→ → http://www.linuxquestions.org/questi...ember&u=398227

And if you solve your issues, please share the solution
in a new post, here in the thread.

.
 
Old 06-12-2012, 04:21 AM   #8
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
@knudfl. yes i have already emailed him/her. actually you sent me this NCTUns v6 cd just recently to malaysia. and i just can't wait to get going with nctuns. i will share it for sure when the issue is solved.
 
Old 06-12-2012, 12:43 PM   #9
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Well my problem is solved. its not a comprehensive solution but i will tell you what i did. I was trying to install NCTUns v6 on a virtual fedora 12. Previously I installed NS2.34 on the same virtual fedora 12. I just installed a fresh copy of virtual fedora 12 and untared NCTUns and the command ./install.sh just worked
 
Old 06-13-2012, 12:57 AM   #10
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
So, the problem was just because of the package, right?
 
Old 06-13-2012, 01:22 AM   #11
banuri
LQ Newbie
 
Registered: May 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
@satyaveer. I can not say for sure. But it worked for me, Maybe NS2 and NCTUns don't like each other
 
  


Reply

Tags
nctuns


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
Problem in installing NCTUns on ubuntu shandesai2009 Linux - Software 11 11-07-2012 12:40 PM
NCTUNs programe problem nisanth Linux - Networking 4 11-25-2011 02:41 AM
How to install Nctuns 4.0 in fedora 8 cute_kitty Linux - Newbie 2 02-20-2009 07:37 AM
problem with simulation engine in nctuns......... krishnavam123 Linux - Software 1 05-14-2008 09:19 PM
NCTUns problem..please help..its urgent roxo Linux - Software 1 12-09-2007 08:28 AM


All times are GMT -5. The time now is 08:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration