[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2015-01-31
4
Medium Priority
?
1,069 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 80

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 80

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

656 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