• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1123
  • Last Modified:

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

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
fosiulalam
Asked:
fosiulalam
  • 2
  • 2
1 Solution
 
arnoldCommented:
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
 
fosiulalamAuthor Commented:
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
 
arnoldCommented:
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
 
fosiulalamAuthor Commented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now