'puppetmaster gem install activemq' issue

57 views
Skip to first unread message

Kenton Brede

unread,
Dec 11, 2015, 10:01:13 PM12/11/15
to puppet...@googlegroups.com
Trying to install activemq on an Oracle Linux 7.2 box.  Using puppetlabs-release-pc1-1.0.0-1 which has puppetserver version 2.2.1.

Below is the command I ran and the resulting error message.  I'm not a java guy.  Any advice appreciated. -- Thanks. 

[puppet ~]# puppetserver gem install activemq
Building native extensions.  This could take a while...
ERROR:  Error installing activemq:
        ERROR: Failed to build gem native extension.

    java -jar /opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar -r ./siteconf20151211-4760-1jn5vxr.rb extconf.rb


Error(s) occurred while parsing command-line arguments: Unknown option: "-r"

  -d, --debug                                   Turns on debug mode
  -b, --bootstrap-config BOOTSTRAP-CONFIG-FILE  Path to bootstrap config file
  -c, --config CONFIG-PATH                      Path to a configuration file or directory of configuration files, or a comma-separated list of such paths.See the documentation for a list of supported file types.
  -p, --plugins PLUGINS-DIRECTORY               Path to directory plugin .jars
  -h, --help                                    Show help

extconf failed, uncaught signal 1

Gem files will remain installed in /opt/puppetlabs/server/data/puppetserver/jruby-gems/gems/rice-2.0.0 for inspection.
Results logged to /opt/puppetlabs/server/data/puppetserver/jruby-gems/extensions/universal-java-1.8/1.9/rice-2.0.0/gem_make.out

--
Kent Brede




Matthaus Owens

unread,
Dec 11, 2015, 11:28:48 PM12/11/15
to Puppet Users
Kenton,
It looks like you're trying to install the activemq gem, which is a
c++ rubygem. It also depends on other compiled rubygems.
Puppetserver's gem command does not support installing native C and
C++ based rubygems[1]. It might help if you explain a little more
about what you're trying to do, as generally people are interested in
the activemq java package and not the activemq rubygem.

[1] - https://docs.puppetlabs.com/puppetserver/latest/gems.html#gems-with-native-c-extensions
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CA%2BnSE3_swJbORKmgjXMxsMbSUx%2BFFSNCLJjSE1b4S%3D1_CofyYw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
Matthaus Owens
Puppet Labs

Kenton Brede

unread,
Dec 21, 2015, 8:28:59 PM12/21/15
to puppet...@googlegroups.com
Thanks for the response.  Just getting back to this.

I'm trying to install activemq in order to use mcollective, since activemq is not part of pc1.  It used to be in the puppetlabs repo but dropped in the puppetlabs-pc1 repo.  I'm not finding instructions on how to install activemq with pc1.  A couple months or so ago I installed pc1 and IIRC I used "puppetserver gem install activemq" to install and it worked fine.  Perhaps on that text box I had installed the appropriate development packages and that's all I need to do.  Unfortunately I deleted the test VM. 

I didn't realize there was a java and a 'C' version of activemq.  What's the name of the java version of activemq and how does one go about installing it for pc1?

Thanks,
Kent 


For more options, visit https://groups.google.com/d/optout.



--
Kent Brede




Reply all
Reply to author
Forward
0 new messages