From djberg96 at gmail.com Thu Mar 3 23:01:42 2011 From: djberg96 at gmail.com (Daniel Berger) Date: Thu, 3 Mar 2011 21:01:42 -0700 Subject: [Win32utils-devel] problems building libseh Message-ID: <000001cbda20$e0fd33d0$a2f79b70$@com> Hi all, Just trying to give libseh (0.3.0) a whirl, but when I run "make" in the mingw shell I get this: djberge at imperator /c/usr/libseh $ make make: *** No targets specified and no makefile found. Stop. What am I doing wrong? Dan From luislavena at gmail.com Fri Mar 4 08:05:53 2011 From: luislavena at gmail.com (Luis Lavena) Date: Fri, 4 Mar 2011 10:05:53 -0300 Subject: [Win32utils-devel] problems building libseh In-Reply-To: <000001cbda20$e0fd33d0$a2f79b70$@com> References: <000001cbda20$e0fd33d0$a2f79b70$@com> Message-ID: On Fri, Mar 4, 2011 at 1:01 AM, Daniel Berger wrote: > Hi all, > > Just trying to give libseh (0.3.0) a whirl, but when I run "make" in the > mingw shell I get this: > > djberge at imperator /c/usr/libseh > $ make > make: *** No targets specified and no makefile found. ?Stop. > > What am I doing wrong? > make -f Makefile.mingw ? According to the unpacked source there is no Makefile, but there are two with extension in libseh-0.0.3: Makefile.linux and Makefile.mingw -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry From noreply at rubyforge.org Wed Mar 2 18:57:18 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 2 Mar 2011 18:57:18 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Message-ID: <20110302235718.95977185836B@rubyforge.org> Bugs item #28904, was opened at 2011-02-02 10:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement: Read the latest lines of the Windows Application Event Viewer to verify deployment status executions. 2. Environment: Ruby 1.9.1 On Windows win32-eventlog (0.5.2) windows-api (0.4.0) windows-pr (1.1.3) 3. Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine but on ruby 1.9.1 they don't. I know the String management has changed on Ruby 1.9.1 and above. 4. Exception Details. C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `[]': invalid byte sequence in US-ASCII (ArgumentError) from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `nstrip' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:613:in `read' from bw_logutil.rb:49:in `read_event_log' from bw_logutil.rb:97:in `block in
' from bw_logutil.rb:96:in `each' from bw_logutil.rb:96:in `
' 5. Source of Information : http://raa.ruby-lang.org/project/win32-eventlog/ 6. Tried Solutions. Tried to use WMI but there is no way to filter the latest results. By the way I already use Ruby 1.9.2 and i have the same results. Could someone help me with this. ---------------------------------------------------------------------- Comment By: Ben Jansen (aogail) Date: 2011-03-02 15:57 Message: The following patch fixes this error for me. I based this upon the post at . --- C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb Wed Mar 02 15:51:40 2011 +++ \Users\bjansen\Development\eventlog.rb Wed Mar 02 15:51:25 2011 @@ -11,6 +11,9 @@ # Return the portion of the string up to the first NULL character. This # was added for both speed and convenience. def nstrip + if !self.ascii_only? + self.force_encoding($>.external_encoding || Encoding.default_external) + end self[ /^[^\0]*/ ] end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 From noreply at rubyforge.org Fri Mar 4 16:12:03 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Fri, 4 Mar 2011 16:12:03 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Message-ID: <20110304211203.94AFF1858390@rubyforge.org> Bugs item #28904, was opened at 2011-02-02 18:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement: Read the latest lines of the Windows Application Event Viewer to verify deployment status executions. 2. Environment: Ruby 1.9.1 On Windows win32-eventlog (0.5.2) windows-api (0.4.0) windows-pr (1.1.3) 3. Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine but on ruby 1.9.1 they don't. I know the String management has changed on Ruby 1.9.1 and above. 4. Exception Details. C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `[]': invalid byte sequence in US-ASCII (ArgumentError) from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `nstrip' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:613:in `read' from bw_logutil.rb:49:in `read_event_log' from bw_logutil.rb:97:in `block in
' from bw_logutil.rb:96:in `each' from bw_logutil.rb:96:in `
' 5. Source of Information : http://raa.ruby-lang.org/project/win32-eventlog/ 6. Tried Solutions. Tried to use WMI but there is no way to filter the latest results. By the way I already use Ruby 1.9.2 and i have the same results. Could someone help me with this. ---------------------------------------------------------------------- >Comment By: Jason Bourne (jbourne) Date: 2011-03-04 21:12 Message: Thank you it works....!! ---------------------------------------------------------------------- Comment By: Ben Jansen (aogail) Date: 2011-03-02 23:57 Message: The following patch fixes this error for me. I based this upon the post at . --- C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb Wed Mar 02 15:51:40 2011 +++ \Users\bjansen\Development\eventlog.rb Wed Mar 02 15:51:25 2011 @@ -11,6 +11,9 @@ # Return the portion of the string up to the first NULL character. This # was added for both speed and convenience. def nstrip + if !self.ascii_only? + self.force_encoding($>.external_encoding || Encoding.default_external) + end self[ /^[^\0]*/ ] end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 From noreply at rubyforge.org Tue Mar 8 16:46:04 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 8 Mar 2011 16:46:04 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Message-ID: <20110308214604.1986C185835A@rubyforge.org> Bugs item #28904, was opened at 2011-02-02 10:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement: Read the latest lines of the Windows Application Event Viewer to verify deployment status executions. 2. Environment: Ruby 1.9.1 On Windows win32-eventlog (0.5.2) windows-api (0.4.0) windows-pr (1.1.3) 3. Problem: On Ruby 1.8.7 my scripts using win32 evenlog api works fine but on ruby 1.9.1 they don't. I know the String management has changed on Ruby 1.9.1 and above. 4. Exception Details. C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `[]': invalid byte sequence in US-ASCII (ArgumentError) from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:14:in `nstrip' from C:/Ruby191/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb:613:in `read' from bw_logutil.rb:49:in `read_event_log' from bw_logutil.rb:97:in `block in
' from bw_logutil.rb:96:in `each' from bw_logutil.rb:96:in `
' 5. Source of Information : http://raa.ruby-lang.org/project/win32-eventlog/ 6. Tried Solutions. Tried to use WMI but there is no way to filter the latest results. By the way I already use Ruby 1.9.2 and i have the same results. Could someone help me with this. ---------------------------------------------------------------------- Comment By: Ben Jansen (aogail) Date: 2011-03-08 13:46 Message: For anyone else who comes across this page: I discovered that my earlier diff sometimes corrupts the event message. The following version does not exhibit that problem on my test system. --- \Ruby192\lib\ruby\gems\1.9.1\gems\win32-eventlog-0.5.2\lib\win32\eventlog.rb Tue Mar 08 13:40:54 2011 +++ eventlog.rb Tue Mar 08 13:39:56 2011 @@ -11,6 +11,9 @@ # Return the portion of the string up to the first NULL character. This # was added for both speed and convenience. def nstrip + if !self.ascii_only? + self.force_encoding('BINARY') + end self[ /^[^\0]*/ ] end end ---------------------------------------------------------------------- Comment By: Jason Bourne (jbourne) Date: 2011-03-04 13:12 Message: Thank you it works....!! ---------------------------------------------------------------------- Comment By: Ben Jansen (aogail) Date: 2011-03-02 15:57 Message: The following patch fixes this error for me. I based this upon the post at . --- C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb Wed Mar 02 15:51:40 2011 +++ \Users\bjansen\Development\eventlog.rb Wed Mar 02 15:51:25 2011 @@ -11,6 +11,9 @@ # Return the portion of the string up to the first NULL character. This # was added for both speed and convenience. def nstrip + if !self.ascii_only? + self.force_encoding($>.external_encoding || Encoding.default_external) + end self[ /^[^\0]*/ ] end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 From noreply at rubyforge.org Tue Mar 8 16:59:06 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 8 Mar 2011 16:59:06 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Patches-29072 ] Patch for bug 28904 Message-ID: <20110308215906.8C63A185834E@rubyforge.org> Patches item #29072, was opened at 2011-03-08 13:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=29072&group_id=85 Category: win32-eventlog Group: Bug Fix Status: Open Resolution: None Priority: 3 Submitted By: Ben Jansen (aogail) Assigned to: Nobody (None) Summary: Patch for bug 28904 Initial Comment: This is a patch to fix bug 28904 (http://rubyforge.org/tracker/index.php?func=detail&aid=28904&group_id=85&atid=411). ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=29072&group_id=85 From noreply at rubyforge.org Tue Mar 8 16:59:59 2011 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 8 Mar 2011 16:59:59 -0500 (EST) Subject: [Win32utils-devel] [ win32utils-Patches-29072 ] Patch for bug 28904 Message-ID: <20110308215959.DF068185834E@rubyforge.org> Patches item #29072, was opened at 2011-03-08 13:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=29072&group_id=85 Category: win32-eventlog Group: Bug Fix Status: Open Resolution: None Priority: 3 Submitted By: Ben Jansen (aogail) Assigned to: Nobody (None) Summary: Patch for bug 28904 Initial Comment: This is a patch to fix bug 28904 (http://rubyforge.org/tracker/index.php?func=detail&aid=28904&group_id=85&atid=411). ---------------------------------------------------------------------- >Comment By: Ben Jansen (aogail) Date: 2011-03-08 13:59 Message: Forgot to check the "upload a file" box. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=29072&group_id=85