Solved

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

Posted on 2015-01-31
4
581 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
  • 2
  • 2
4 Comments
 
LVL 76

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 76

Accepted Solution

by:
arnold earned 500 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now