LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-20-2011, 11:16 PM   #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: 40
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-20-2011, 11:23 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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-20-2011, 11:26 PM   #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

Original Poster
Blog Entries: 5

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

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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-20-2011, 11:27 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

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

Cheers,

Josh
 
1 members found this post helpful.
Old 05-20-2011, 11:30 PM   #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

Original Poster
Blog Entries: 5

Rep: Reputation: 40
usr/local/share/byond


Thanks corp
 
Old 05-20-2011, 11:33 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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-20-2011, 11:37 PM   #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

Original Poster
Blog Entries: 5

Rep: Reputation: 40
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-20-2011, 11:43 PM   #9
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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-20-2011, 11:46 PM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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-20-2011, 11:50 PM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
ThunderStruck, nana na nana

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

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, 12:26 AM   #13
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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, 12: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

Original Poster
Blog Entries: 5

Rep: Reputation: 40
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, 12:46 AM   #15
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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



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

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

All times are GMT -5. The time now is 01:33 AM.

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