Solved

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

Posted on 2015-01-31
4
849 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 78

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 78

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

739 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