Solved

No Rule to Make Target

Posted on 2011-03-07
7
969 Views
Last Modified: 2012-05-11
Hello, I am a newbie to Linux. I need to install a program called MassAdmin so I can find out all the mounts on every linux box without visiting every box. I have installed all the prereq. packages except Net-Ping-2.36. When I try to install it I get  **** No rule to make target 'realclean". Stop

What am I doing wrong? I used Yum to download the tarball massadmin wich included the packeages net-ping,etc. I amd using gcc as well. I hope that helps. I am new to this so please give full commands when answering if possible and assume I dont know anything about linux. Thanks in advance.
0
Comment
Question by:Bryant
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:l4ncel0t
ID: 35062292
Did you tried to do ./Configure ?
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35065298
The command should be as given below.

./configure

make

make install

But I will suggest you an important thing for installing software from tar balls or zip files. After untar or unzip the file go in that directory and find file name README and INSTALL, you will find complete instruction in these files to install that particular software.

Above I have suggested the standard proceedure but I might be different with your software so the best way is to refer package's INSTALL or README file.
0
 

Author Comment

by:Bryant
ID: 35068676
this is directly from the Read Me file. i have been following all of the read me instruction because I am just learning what I am suppose to be doing.

INSTALL
    The latest source tree is available via cvs:

      cvs -z3 -q -d :pserver:anonymous@cvs.roobik.com.:/usr/local/cvsroot/freeware checkout Net-Ping
      cd Net-Ping

    The tarball can be created as follows:

      perl Makefile.PL ; make ; make dist

    The latest Net::Ping release can be found at CPAN:

      $CPAN/modules/by-module/Net/

    1) Extract the tarball

      gtar -zxvf Net-Ping-xxxx.tar.gz
      cd Net-Ping-xxxx

    2) Build:

      make realclean
      perl Makefile.PL
      make
      make test

    3) Install

      make install

    Or install it RPM Style:

      rpm -ta SOURCES/Net-Ping-xxxx.tar.gz

      rpm -ih RPMS/noarch/perl-Net-Ping-xxxx.rpm

At what directory should I do ./configure because I just got an error saying "No Such File or Directory"
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 12

Expert Comment

by:upanwar
ID: 35068714
Go to the directory where you have extracted the Net-Ping.

cd Net-Ping-xxxx

Then execute the below given commands one by one to build.

make realclean
      perl Makefile.PL
      make
      make test

After executing these commands execute below given command to install.

make install
0
 

Author Comment

by:Bryant
ID: 35068746
I am in Net-Ping-2.36 directory
 I type

make realclean

I get

*****No rule to amke target 'realclean'. Stop
0
 

Accepted Solution

by:
Bryant earned 0 total points
ID: 35070753
Ok, I got it to work.

make clean

 works......... but

 make realclean ..........doesnt..

thanks for everyone that tried....
0
 

Author Closing Comment

by:Bryant
ID: 35120633
this worked great.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
su - oracle could not open session 6 78
Coding C# in Linux 8 69
how to install java on RHEL image on EC2 4 28
error log using ftp 7 41
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question