LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2009, 02:39 PM   #1
Rituparna
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Rep: Reputation: 0
I ran the makefile. Now what do I do?


I am trying to install the program "r8s" on my RHEL5. I ran the makefile and it gave me the following output:

Code:
[Ritu@localhost src]$ make
make: `r8s' is up to date.
Does this mean I successfully compiled the program? If so, how do I then install it?
 
Old 06-25-2009, 02:42 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Rituparna View Post
I am trying to install the program "r8s" on my RHEL5. I ran the makefile and it gave me the following output:

Code:
[Ritu@localhost src]$ make
make: `r8s' is up to date.
Does this mean I successfully compiled the program? If so, how do I then install it?
usually by executing the command
Code:
sudo make install
cheers,
jdk
 
Old 06-25-2009, 02:45 PM   #3
Rituparna
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the response. Do I have to do this as root or do I have to stay in the directory the makefile was in?

When I do it in the latter, it asks for a password. I am not sure what password it is looking for. It then says "Ritu [my username] is not in the sudoers file. This incident will be reported."
 
Old 06-25-2009, 02:57 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Rituparna View Post
Thanks for the response. Do I have to do this as root or do I have to stay in the directory the makefile was in?

When I do it in the latter, it asks for a password. I am not sure what password it is looking for. It then says "Ritu [my username] is not in the sudoers file. This incident will be reported."
Ok then in the terminal run
Code:
su
and then give the ROOT password (not your own).
Then run
Code:
make install
in the same directory you ran make in.
Cheers,
jdk
 
Old 06-25-2009, 03:07 PM   #5
Rituparna
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the response. This is what happened:

Code:
[root@localhost src]# make install
make: *** No rule to make target `install'.  Stop.
 
Old 06-25-2009, 03:23 PM   #6
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
r8s is distributed in a very non-standard form. First of all, there's already a compiled binary that supposedly runs on MacOSX, then there's the source for people who want to compile it themselves, but the instructions for compiling are quite murky... I would carefully read the manual available in the doc folder of your source and probably would write to the author anyway...
The makefile has just one target r8s
Installation is supposed to take the form of manually copying the binary to /usr/bin
This is as much as I can decipher...
 
Old 06-25-2009, 03:43 PM   #7
Rituparna
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Uncle_Theodore View Post
r8s is distributed in a very non-standard form. First of all, there's already a compiled binary that supposedly runs on MacOSX, then there's the source for people who want to compile it themselves, but the instructions for compiling are quite murky... I would carefully read the manual available in the doc folder of your source and probably would write to the author anyway...
The makefile has just one target r8s
Installation is supposed to take the form of manually copying the binary to /usr/bin
This is as much as I can decipher...
Thank you for understanding. r8s is basically ruining my life.

I've been reading the manual and it does not help at all. Can I edit the makefile so that it properly installs the program? If so, how do I do this?
 
Old 06-25-2009, 07:48 PM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
If there is no target 'install', it has not been the intention of the authors because it's more than likely not needed. So why would you start adding it?

Having said that, did you already try to run it by using
Code:
./r8s
?
 
Old 06-25-2009, 09:08 PM   #9
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
Here is a step by step tutorial on compiling sotware.
http://www.linuxquestions.org/linux/...ms_from_Source

Keep in mind that:
1. Read both the README and INSTALL files after extracting the tar file. Not all programs will have both files. Many just have either/or.
2.Check for dependencies. Programs that depend on other things preinstalled.
3. Some programs run from the extracted tar file. As Win stated, try ./r8s in the extracted directory where the source code is located.

Hope this helps

Last edited by okos; 06-25-2009 at 09:15 PM.
 
  


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
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 07:26 AM
automake, makefile, makefile.in and makefile.am Fond_of_Opensource Linux - Newbie 1 09-12-2006 09:35 PM
what is the meaning of Makefile,Makefile.am,Makefile.in cynthia_thomas Linux - General 3 12-08-2005 06:00 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 01:23 PM


All times are GMT -5. The time now is 01:20 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