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 On Fri, Dec 11, 2015 at 2:01 PM, Kenton Brede <[email protected]> wrote: > 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 > > > > > -- > 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 [email protected]. > 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 -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACD%3DwAepohoT%2BzLaoNmMRg4MKf9MnA2uX%3DvTnNHnwEntSErcrg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
