Re: [Puppet Users] 'puppetmaster gem install activemq' issue

2015-12-21 Thread Kenton Brede
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

On Fri, Dec 11, 2015 at 5:28 PM, Matthaus Owens 
wrote:

> 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  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, --helpShow 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 puppet-users+unsubscr...@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
>
> --
> 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+unsubscr...@googlegroups.com.
> 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.
>



-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2BnSE38MbJmQEFRBzLntb8hErqRXzXh5Z3CefP59J0BML5K4Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] 'puppetmaster gem install activemq' issue

2015-12-11 Thread Matthaus Owens
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  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, --helpShow 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 puppet-users+unsubscr...@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

-- 
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+unsubscr...@googlegroups.com.
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.


[Puppet Users] 'puppetmaster gem install activemq' issue

2015-12-11 Thread Kenton Brede
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, --helpShow 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 puppet-users+unsubscr...@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.