?
Solved

make: Fatal error: Command failed for target `install-bin' (Solaris 11)

Posted on 2015-01-31
4
Medium Priority
?
963 Views
Last Modified: 2015-02-01
Hi All,
First of all, I have very minimum idea about Solaris 11 , and I am trying to install mcollective in Solaris as Proof of Concept.

Bellow link has README file about how to install it, however, i am getting bellow error
https://github.com/puppetlabs/marionette-collective/commit/15c0ccc801885d83628fd998314032521d18e0cb

Error:-
root@sol1:/marionette-collective-master# make -f ext/solaris11/Makefile install
install -d /usr/sbin
install -d /usr/bin
cp bin/mc-* /usr/sbin
cp: cannot access bin/mc-*
*** Error code 2
make: Fatal error: Command failed for target `install-bin'

i personally think, i am missing some packages or Path  which i need to install from source, but as I am new to solaris, i am not sure what to do.

Can any one please help me with this, so that i can install the packages successfully .

Regards
0
Comment
Question by:fosiulalam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 79

Expert Comment

by:arnold
ID: 40581984
It seems you had an error before you attempted the install.
Usually, you have to run configure that will setup and check on several things.
Then you run make to compile.

The link deals with packaging a compiled and should not be used as you have.


The source often includes a README and an INSTALL document.
0
 

Author Comment

by:fosiulalam
ID: 40581988
Hi Arnold

yes, i am following what README file saying ,
also Yes, I had the same question in my mind that, normally in Linux , we do ./configure,
but i did not see any file call ./configure in that directory
also bellow is READMEFILE

Please advise.

Please see bellow

root@sol1:/marionette-collective-master/ext/solaris11# ls
Makefile   README.md
root@sol1:/marionette-collective-master/ext/solaris11#

Installation
------------

Clone the github repository and install as root:

    $ cd marionette-collective
    $ make -f ext/solaris11/Makefile install

This will use / as a default destination root directory
0
 
LVL 79

Accepted Solution

by:
arnold earned 2000 total points
ID: 40582003
Did you download (clone) the github repository?

It looks as the marrionette-collective is an addition to rather than a stand alone.

You might need to be at the top of the github repository rather than within the sub dir.

The paths that errored out are relative to the location.

See if directories outside the have th bin/mc ...
0
 

Author Comment

by:fosiulalam
ID: 40582518
Hi Arnold,
At last I have successfully installed mcollective !!
the particular issues was because  the bellow command did not run
cp bin/mc-* /usr/sbin

So had to remove that edited manually files to copy.

but to Make mcollective work, it was lot of changing in MakeFile.

Anyway , i am closing this question as Accepted for your bellow comments
"See if directories outside the have th bin/mc ..."

Thanks Again
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 8 hours left to enroll

777 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