Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Running Ndn On Ubuntu Hardy

Recommended Posts

dandv    0

I unrared the latest NDN beta on Ubuntu Hardy, but when I execute "ndn", bash returns this error:

-bash: ./ndn: No such file or directory

 

I ran chmod+x ndn, and I really don't get what the problem is. In that directory (~/ndndir), ls -al ./ndn shows that ./ndn exists, but executing ./ndn fails with the error above. What am I missing?

 

Thanks.

Share this post


Link to post
Share on other sites

Hi Dan,

 

can you post the complete directory listing?

 

Stefan / AH

 

PS:

One user recently reported to me that NDN doesn't execute.

All I was able to find was that the OS didn't even go to the entry point of the executable.

Anyone ever heard of soemthing like that?

Share this post


Link to post
Share on other sites
dandv    0
Hi Dan,

 

can you post the complete directory listing?

 

I just extracted the RAR file. Here's the listing:

 

vlad@optam:~/ndndir$ ls -al ./ndn
-rwxr--r-- 1 vlad vlad 1520057 Jun  1 10:33 ./ndn
vlad@optam:~/ndndir$ ./ndn
-bash: ./ndn: No such file or directory
vlad@optam:~/ndndir$ ls -al
total 2208
drwxr-xr-x  7 vlad vlad    4096 Jun 23 22:18 .
drwxr-xr-x 11 vlad vlad    4096 Jun 23 22:17 ..
drwxr-xr-x  2 vlad vlad    4096 Jun 23 22:18 colors
drwxr-xr-x  2 vlad vlad    4096 Jun 23 22:18 doc
-rw-r--r--  1 vlad vlad  171558 Jun  1 10:33 english.dlg
-rw-r--r--  1 vlad vlad  386351 Jun  1 10:33 english.hlp
-rw-r--r--  1 vlad vlad   19388 Jun  1 10:33 english.lng
-rw-r--r--  1 vlad vlad     468 Apr  7  2005 ftp.ini
drwxr-xr-x  4 vlad vlad    4096 Jun 23 22:18 ico
drwxr-xr-x  2 vlad vlad    4096 Jun 23 22:18 lib
-rwxr--r--  1 vlad vlad 1520057 Jun  1 10:33 ndn
-rw-r--r--  1 vlad vlad     139 Aug  8  2001 ndn.des
-rw-r--r--  1 vlad vlad     279 Sep 21  2005 ndn.edt
-rw-r--r--  1 vlad vlad    2859 May 29  2007 ndn.ext
-rw-r--r--  1 vlad vlad   73519 Apr  6 09:01 ndn.hgl
-rw-r--r--  1 vlad vlad     791 Sep 21  2005 ndn.mn2
-rw-r--r--  1 vlad vlad    3418 Jan 22  2007 ndn.mnu
-rw-r--r--  1 vlad vlad     430 Oct 23  2005 ndn.spf
-rw-r--r--  1 vlad vlad     319 Sep 21  2005 ndn.vwr
-rw-r--r--  1 vlad vlad     472 Oct  6  2001 ndn.xrn
drwxr-xr-x  2 vlad vlad    4096 Jun 23 22:18 xlt

Share this post


Link to post
Share on other sites

Hi again.

 

I have only one suggestion, since the listing seems absolutely ok:

try "chmod 777 ./ndn" and run ndn again.

 

Additionally, what happens if you type in "./ndn.des", which is no executable at all?

Maybe the same error?

 

Btw, as I worked on the X window crashes yesterday, I found that NDN does work without sudo.

But only if the file has the group exec bit set: -rwxr-xr--

 

I finally have fixed the crashes, I only have some problems getting the focus on all the different

terminal implementations in X. I hope to be able to upload a newer version today.

 

Bye,

Stefan / AH

Share this post


Link to post
Share on other sites
dandv    0
I have only one suggestion, since the listing seems absolutely ok:

try "chmod 777 ./ndn" and run ndn again.

 

Additionally, what happens if you type in "./ndn.des", which is no executable at all?

Maybe the same error?

 

Tried both but not much luck:

 

vlad@optam:~/ndndir$ chmod 777 ./ndn
vlad@optam:~/ndndir$ ./ndn
-bash: ./ndn: No such file or directory
vlad@optam:~/ndndir$ ./ndn.des
-bash: ./ndn.des: Permission denied

 

I also tried to run ndn while logged in as root, but got the same error message.

smiley.gif

Share this post


Link to post
Share on other sites

Hi Dan,

 

this is really strange...

And I don't know what else to do.

 

Maybe you might want to try another distro.

 

I don't have a clue to what might be wrong here.

 

All I can do is to try to recreate your installation path in ~/ndndir/

and try to execute NDN...

 

Let's see...

 

EDIT: not reproducable even with your installation paths...

 

Stefan / AH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×