LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-21-2011, 12:16 AM   #1
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 39
Having trouble locating file. Used FIND (file) ... should be simple


I feel like a total doof ... Because this is a simple question, and right in the front of my brain the answer is floating ... But I just can't catch it.

I downloaded a gaming editor called BYOND. I unzipped, did CD to it's location, I ran Make, ./config, then make install ... Now I can't seem to locate the actual file.

I tried to use FIND and I only got:

Code:
./byond
./byond/bin
./byond/bin/libext.so
./byond/bin/DreamDownload
./byond/bin/DreamDaemon
./byond/bin/DreamMaker
./byond/bin/libbyond.so
./byond/readme.txt
./byond/cfg
This doesn't tell me what comes before /byond.

I'd love some help cause I'm pretty bored :-P, Thanks guys.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-21-2011, 12:23 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Hello,

First and foremost, I noticed that the order of the commands you listed are out of order; They should be as follows:
Code:
./configure
make
make check  (optional)
make install  (as root)
Now besides that, find searches recursively, but not backwards. If anything, you would have to search from root ( / ) to be able to search through all directories on your system. Lastly, when you do a "make install," you should have gotten output where the files have been installed to. You should be able to look in your output history in your shell and see where exactly the files were place.

Hope that helps man!

Cheers,

Josh
 
2 members found this post helpful.
Old 05-21-2011, 12:26 AM   #3
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
Didn't even occur to me to check the output history. I'm gonna give that a shot.
 
Old 05-21-2011, 12:27 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

What is the actual file you're looking for? The binary that was created when you ran make install to finish the compilation process? If so and if the compilation went OK then you should be able to locate the file with
Code:
which byond
if that is the name of the editor. Or did I misunderstand you?

Kind regards,

Eric
 
2 members found this post helpful.
Old 05-21-2011, 12:27 AM   #5
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Hello,

Ok cool. Let me know if you make any ground or not

Cheers,

Josh
 
1 members found this post helpful.
Old 05-21-2011, 12:30 AM   #6
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
usr/local/share/byond


Thanks corp
 
Old 05-21-2011, 12:33 AM   #7
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Hello,

No problem man, anytime! Mark your thread as solved if you can, and give rep if applicable, thanks!

Cheers,

Josh
 
1 members found this post helpful.
Old 05-21-2011, 12:37 AM   #8
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by EricTRA View Post
Hello,

What is the actual file you're looking for? The binary that was created when you ran make install to finish the compilation process? If so and if the compilation went OK then you should be able to locate the file with
Code:
which byond
if that is the name of the editor. Or did I misunderstand you?

Kind regards,

Eric
Yes I was looking for the binary, and it is an editor named BYOND ... You understood fine. I found the directory using corp's method, But when I do which byond I get nothing, it just goes back to
Code:
me@here:$
 
Old 05-21-2011, 12:43 AM   #9
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hi,

Glad you had it solved. The which command might fail when you don't have the path to the binary in your path statement, if you run it with sudo it might just work. Anyway, good job. Have fun with Linux.

Kind regards,

Eric
 
1 members found this post helpful.
Old 05-21-2011, 12:46 AM   #10
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Quote:
Originally Posted by Hevithan View Post
Yes I was looking for the binary, and it is an editor named BYOND ... You understood fine. I found the directory using corp's method, But when I do which byond I get nothing, it just goes back to
Code:
me@here:$
To also add what Eric just said.... Could you give us the output of the following:
Code:
echo $PATH
The which command, like Eric said, looks in your path for the directories to look in. I'm just curious what all is in your path, that is all. And to think about it, also give the output when given with root privileges, that just might be the issue, like Eric said. Damn you Eric, you stole my thunder.
 
1 members found this post helpful.
Old 05-21-2011, 12:50 AM   #11
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
ThunderStruck, nana na nana

LOL
 
2 members found this post helpful.
Old 05-21-2011, 01:08 AM   #12
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 853

Rep: Reputation: Disabled
Just adding to something that has been resolved . Did you kniw there was a 'locate <filename>' command? All you have to do is run 'updatedb' as root which will index all the files. Personally I prefer using locate to find.
Hope this helps.
 
1 members found this post helpful.
Old 05-21-2011, 01:26 AM   #13
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
Quote:
Originally Posted by SilverBack View Post
Just adding to something that has been resolved . Did you kniw there was a 'locate <filename>' command? All you have to do is run 'updatedb' as root which will index all the files. Personally I prefer using locate to find.
Hope this helps.
Yes, but with find, you can search on the fly. With locate, it is very useful, which I use myself, but you need to run updatedb if not scheduled by cron.
 
2 members found this post helpful.
Old 05-21-2011, 01:36 AM   #14
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Original Poster
Rep: Reputation: 39
Here's what I get with echo:

Code:
hevithan@Lifebook:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games
and

Code:
 root@Lifebook:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Was I supposed to put a directory where you wrote path (cause I just assumed that was the whole command)?

and:

Code:
root@Lifebook:~# locate byond
-su: locate: command not found
I ran locate through SU -L ... Should I login as root or should su be doing it?
 
Old 05-21-2011, 01:46 AM   #15
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
I always switch to root by using "su -" personally. Besides that, if anything, you might have to install locate/updatedb. What distro are you running?
 
1 members found this post helpful.
  


Reply


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
Locating a certain file from the Console Completely Clueless Linux - Newbie 3 04-05-2009 05:01 PM
simple tar question can not find answer in man file davimint Linux - General 3 05-22-2007 02:03 AM
k3b-trouble locating iso file to copy from hdc to hdd handydan Linux - Software 1 02-25-2007 01:11 PM
Having trouble locating a deleted file with autopsy abefroman Linux - Security 1 08-08-2005 04:36 AM
Help Cant Find A Simple File pengy666 Linux - Software 3 05-06-2005 07:21 PM


All times are GMT -5. The time now is 09:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration