Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25
I'm still pretty new with ubuntu and I was trying to install a monitoring software the following instructions: This guide is made using code from sources (valid also using tarball ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    14

    Problem with "make" :(

    I'm still pretty new with ubuntu and I was trying to install a monitoring software the following instructions:

    This guide is made using code from sources (valid also using tarball with latest code, like 2.0). It was made using Ubuntu 8.04 server.

    Official PandoraFMS website is:

    Install your subversion client:

    sudo apt-get install subversion

    Checkout Pandora FMS repository

    cd $HOME
    svn co ://pandora.svn.sourceforge.net/svnroot/pandora/trunk

    Resolve dependencies installing missing packages, if your Debian/Ubuntu system needs more packages, install using a similar command. Please refer documentation about prerequisites to know what packages you need).

    sudo apt-get install libdate-manip-perl snmp snmpd libsnmp-perl libtime-format-perl \
    libxml-simple-perl libnetaddr-ip-perl libdbi-perl libxml-simple-perl libnetaddr-ip-perl \
    libsnmp-perl libhtml-parser-perl wmi-client xprobe2

    If you have not installed developer tools, install with metapackage:

    sudo apt-get install build-essential

    Run make

    # make
    cp lib/PandoraFMS/Tools.pm blib/lib/PandoraFMS/Tools.pm
    cp lib/PandoraFMS/Config.pm blib/lib/PandoraFMS/Config.pm
    cp lib/PandoraFMS/DB.pm blib/lib/PandoraFMS/DB.pm
    cp bin/pandora_server.pl blib/script/pandora_server.pl
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_server.pl
    cp bin/pandora_network.pl blib/script/pandora_network.pl
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_network.pl
    cp bin/pandora_snmpconsole.pl blib/script/pandora_snmpconsole.pl
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_snmpconsole.pl
    cp bin/pandora_recon.pl blib/script/pandora_recon.pl
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_recon.pl

    # make install
    Installing /usr/local/share/perl/5.8.7/PandoraFMS/Tools.pm
    Installing /usr/local/share/perl/5.8.7/PandoraFMS/Config.pm
    Installing /usr/local/share/perl/5.8.7/PandoraFMS/DB.pm
    Writing /usr/local/lib/perl/5.8.7/auto/PandoraFMS/.packlist
    Appending installation info to /usr/local/lib/perl/5.8.7/perllocal.pod
    when i got to the part that says "Run make", i type make in the terminal and get teh following error: "make: *** No targets specified and no makefile found. Stop."

    could someone help me by telling me what is the right command I have to type or if there's something else that needs installing before I can run make correctly.

    Thanks in advance!

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by hicnapie12 View Post
    I'm still pretty new with ubuntu and I was trying to install a monitoring software the following instructions:



    when i got to the part that says "Run make", i type make in the terminal and get teh following error: "make: *** No targets specified and no makefile found. Stop."

    could someone help me by telling me what is the right command I have to type or if there's something else that needs installing before I can run make correctly.

    Thanks in advance!
    Hello and Welcome
    You need to make sure you are in the directory where the actual makefile is located.
    Code:
    cd /path/to/makefile
    make
    make install
    or give the fully qualified path when you run make
    Code:
    make /path/to/makefile
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux User kmitnick's Avatar
    Join Date
    May 2008
    Location
    Jordan - Amman
    Posts
    329
    are you in same directory as the extracted files?

    i.e: if the file x.tar.gz is extracted on your desktop then it would be
    /home/username/Desktop/x
    then we need to be in that directory so use
    cd /home/username/Desktop/x
    then type
    ls -l | grep -i configure
    if there is a file called configure then before run you need to configure the installation so just type
    ./configure
    then
    make && sudo make install
    Dual Booting Ubuntu 10.04, Windows 7

    Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card

    You are registered Linux user number 490788
    Happy Linuxing

  4. #4
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    ohh ic...ill make sure to try this once i get back to the lab tomorrow and ill come back to tell u my results

    Thanx!

  5. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    ok, so i went to the place where makefile is

    Code:
    cd /home/laboratorio/trunk/pandora_server
    there's a file called "Makefile.PL" in that folder (I would post a screenshot, but I can't yet)

    and then typed "make" and still got the same error message: "make: *** No targets specified and no makefile found. Stop."

    then i typed "make Makefile.PL" and I got: "make: Nothing to be done for `Makefile.PL'"

    is there something I'm still doing wrong?

  6. #6
    Linux User kmitnick's Avatar
    Join Date
    May 2008
    Location
    Jordan - Amman
    Posts
    329
    Is there a file called " configure"?
    Dual Booting Ubuntu 10.04, Windows 7

    Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card

    You are registered Linux user number 490788
    Happy Linuxing

  7. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, the guide you're following seems to have missed a step. You need to run
    Code:
    perl Makefile.PL
    More info here.

  8. #8
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    nope, theres no configure

    here's a screenshot i43.tinypic.com/2vmy3bc.png

  9. #9
    Linux User kmitnick's Avatar
    Join Date
    May 2008
    Location
    Jordan - Amman
    Posts
    329
    yup it sould does the job
    Dual Booting Ubuntu 10.04, Windows 7

    Toshiba Satellite A200-1M5, Duo Core 2.0 Ghz, 1 Gigs RAM, 256 Intel Card

    You are registered Linux user number 490788
    Happy Linuxing

  10. #10
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    thanx a lot guys! it works!

    if i run into more troublr i'll be sure to come here...i also asked in another forum and nobody was willing to help

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...