From harry at harrylove.org Fri Dec 5 12:33:27 2008 From: harry at harrylove.org (Harry Love) Date: Fri, 5 Dec 2008 10:33:27 -0700 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE Message-ID: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> Hi. I installed nokogiri previously under the system Ruby on Solaris without problems. Under Ruby Enterprise Edition, error says "need libxml" but libxml and libxslt are installed. I'm assuming it's a path issue but I don't know where to start. Here's the mkmf.log: http://pastie.org/331995. Below are the installation results. LOGON: ruby -v ruby 1.8.6 (2008-08-08 patchlevel 286) [i386-solaris2.11] LOGON: sudo gem install nokogiri Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /opt/ruby-enterprise-1.8.6-20081205/bin/ruby extconf.rb install nokogiri checking for xmlParseDoc() in -lxml2... yes checking for xsltParseStylesheetDoc() in -lxslt... no checking for #include ... no need libxml *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/ruby-enterprise-1.8.6-20081205/bin/ruby --with-xml2lib --without-xml2lib --with-xsltlib --without-xsltlib Gem files will remain installed in /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/nokogiri-1.0.7 for inspection. Results logged to /opt/ruby-enterprise-1.8.6-20081205/lib/ruby/gems/1.8/gems/nokogiri-1.0.7/ext/nokogiri/gem_make.out Harry From aaron.patterson at gmail.com Fri Dec 5 12:36:24 2008 From: aaron.patterson at gmail.com (Aaron Patterson) Date: Fri, 5 Dec 2008 09:36:24 -0800 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> Message-ID: <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> Hey Harry On Fri, Dec 5, 2008 at 9:33 AM, Harry Love wrote: > Hi. > > I installed nokogiri previously under the system Ruby on Solaris > without problems. Under Ruby Enterprise Edition, error says "need > libxml" but libxml and libxslt are installed. I'm assuming it's a path > issue but I don't know where to start. Here's the mkmf.log: > http://pastie.org/331995. Below are the installation results. > > LOGON: ruby -v > ruby 1.8.6 (2008-08-08 patchlevel 286) [i386-solaris2.11] > > LOGON: sudo gem install nokogiri > Building native extensions. This could take a while... > ERROR: Error installing nokogiri: > ERROR: Failed to build gem native extension. > > /opt/ruby-enterprise-1.8.6-20081205/bin/ruby extconf.rb install nokogiri > checking for xmlParseDoc() in -lxml2... yes > checking for xsltParseStylesheetDoc() in -lxslt... no Looks like you're missing libxslt. Make sure libxslt is installed and give it another try. -- Aaron Patterson http://tenderlovemaking.com/ From harry at harrylove.org Fri Dec 5 13:37:09 2008 From: harry at harrylove.org (Harry Love) Date: Fri, 5 Dec 2008 11:37:09 -0700 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> Message-ID: <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> Thanks for replying, Aaron. When I install under the regular system Ruby, all works as expected. It's under REE that it seems to have problems locating the libraries. Here it's working. LOGON: ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-solaris2] LOGON: sudo gem install nokogiri Building native extensions. This could take a while... Successfully installed nokogiri-1.0.7 1 gem installed Installing ri documentation for nokogiri-1.0.7... Installing RDoc documentation for nokogiri-1.0.7... Here's the mkmf.log for that installation under Ruby 1.8.7: http://pastie.org/332066 If I try to install using REE, I get the errors I posted in my previous message. Harry From aaron.patterson at gmail.com Fri Dec 5 13:39:36 2008 From: aaron.patterson at gmail.com (Aaron Patterson) Date: Fri, 5 Dec 2008 10:39:36 -0800 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> Message-ID: <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> On Fri, Dec 5, 2008 at 10:37 AM, Harry Love wrote: > Thanks for replying, Aaron. When I install under the regular system > Ruby, all works as expected. It's under REE that it seems to have > problems locating the libraries. Ah, gotcha. > > Here it's working. > > LOGON: ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-solaris2] > > LOGON: sudo gem install nokogiri > Building native extensions. This could take a while... > Successfully installed nokogiri-1.0.7 > 1 gem installed > Installing ri documentation for nokogiri-1.0.7... > Installing RDoc documentation for nokogiri-1.0.7... > > Here's the mkmf.log for that installation under Ruby 1.8.7: > http://pastie.org/332066 > > If I try to install using REE, I get the errors I posted in my previous message. Can you send me the mkmf.log from the failing build? -- Aaron Patterson http://tenderlovemaking.com/ From harry at harrylove.org Fri Dec 5 13:42:42 2008 From: harry at harrylove.org (Harry Love) Date: Fri, 5 Dec 2008 11:42:42 -0700 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> Message-ID: <978195830812051042y1e57d52eo9388ebae1a83df1b@mail.gmail.com> On Fri, Dec 5, 2008 at 11:39 AM, Aaron Patterson wrote: > Can you send me the mkmf.log from the failing build? Here you go: http://pastie.org/331995 Harry From aaron.patterson at gmail.com Fri Dec 5 14:01:58 2008 From: aaron.patterson at gmail.com (Aaron Patterson) Date: Fri, 5 Dec 2008 11:01:58 -0800 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <978195830812051042y1e57d52eo9388ebae1a83df1b@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> <978195830812051042y1e57d52eo9388ebae1a83df1b@mail.gmail.com> Message-ID: <6959e1680812051101y2238b28p7249e3d136164cf8@mail.gmail.com> On Fri, Dec 5, 2008 at 10:42 AM, Harry Love wrote: > On Fri, Dec 5, 2008 at 11:39 AM, Aaron Patterson > wrote: >> Can you send me the mkmf.log from the failing build? > > Here you go: http://pastie.org/331995 Thanks! I think I've figured out the problem. Would you mind trying out this development gem? If it works, I'll add the changes to the next bugfix release. http://tenderlovemaking.com/nokogiri-1.0.7.20081205105932.gem MD5 (nokogiri-1.0.7.20081205105932.gem) = 9e7c7b92c9097421544fcee8f5b2da3b -- Aaron Patterson http://tenderlovemaking.com/ From harry at harrylove.org Fri Dec 5 14:39:30 2008 From: harry at harrylove.org (Harry Love) Date: Fri, 5 Dec 2008 12:39:30 -0700 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <6959e1680812051101y2238b28p7249e3d136164cf8@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> <978195830812051042y1e57d52eo9388ebae1a83df1b@mail.gmail.com> <6959e1680812051101y2238b28p7249e3d136164cf8@mail.gmail.com> Message-ID: <978195830812051139s2dedec0bh645a9d55348765b3@mail.gmail.com> Yep, that worked. Thanks so much! LOGON: sudo gem install nokogiri-1.0.7.20081205105932.gem Building native extensions. This could take a while... Successfully installed nokogiri-1.0.7.20081205105932 1 gem installed Installing ri documentation for nokogiri-1.0.7.20081205105932... Installing RDoc documentation for nokogiri-1.0.7.20081205105932... Cheers, Harry On Fri, Dec 5, 2008 at 12:01 PM, Aaron Patterson wrote: > On Fri, Dec 5, 2008 at 10:42 AM, Harry Love wrote: >> On Fri, Dec 5, 2008 at 11:39 AM, Aaron Patterson >> wrote: >>> Can you send me the mkmf.log from the failing build? >> >> Here you go: http://pastie.org/331995 > > Thanks! I think I've figured out the problem. Would you mind trying > out this development gem? If it works, I'll add the changes to the > next bugfix release. > > http://tenderlovemaking.com/nokogiri-1.0.7.20081205105932.gem > > MD5 (nokogiri-1.0.7.20081205105932.gem) = 9e7c7b92c9097421544fcee8f5b2da3b > > -- > Aaron Patterson > http://tenderlovemaking.com/ > _______________________________________________ > Nokogiri-talk mailing list > Nokogiri-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/nokogiri-talk > From aaron.patterson at gmail.com Fri Dec 5 14:43:44 2008 From: aaron.patterson at gmail.com (Aaron Patterson) Date: Fri, 5 Dec 2008 11:43:44 -0800 Subject: [Nokogiri-talk] Gem installation fails on Solaris under REE In-Reply-To: <978195830812051139s2dedec0bh645a9d55348765b3@mail.gmail.com> References: <978195830812050933n15fe5bdex61a2115f7b041602@mail.gmail.com> <6959e1680812050936j7425c926vf2b2bd0cf049993@mail.gmail.com> <978195830812051037r1294fa58naba88780de22c39b@mail.gmail.com> <6959e1680812051039p6ca20342g80969d833c8ad01@mail.gmail.com> <978195830812051042y1e57d52eo9388ebae1a83df1b@mail.gmail.com> <6959e1680812051101y2238b28p7249e3d136164cf8@mail.gmail.com> <978195830812051139s2dedec0bh645a9d55348765b3@mail.gmail.com> Message-ID: <6959e1680812051143j7f0c99dfoac2bee651251b24@mail.gmail.com> On Fri, Dec 5, 2008 at 11:39 AM, Harry Love wrote: > Yep, that worked. Thanks so much! No problem! The fix will be in 1.0.8 -- Aaron Patterson http://tenderlovemaking.com/