From now at bitwi.se Thu Jul 27 13:55:50 2006 From: now at bitwi.se (Nikolai Weibull) Date: Thu, 27 Jul 2006 19:55:50 +0200 Subject: [Char-encodings-development] A "Hello everyone", a few updates, and a question Message-ID: Hi! Thanks everyone for joining the list. Please use the trackers and discuss issues, improvements and so on on this list. Also, there has been a lot of activity in the repository in the way of fixing bugs. Please do check it out and complain loudly about stuff that remains. Finally, I've added normalization locally, and will push it out during the evening. Actually, if anyone knows how to interpret the following from SpecialCasing.txt, do tell: # Lithuanian retains the dot in a lowercase i when followed by accents. # Remove DOT ABOVE after "i" with upper or titlecase 0307; 0307; ; ; lt After_Soft_Dotted; # COMBINING DOT ABOVE # Introduce an explicit dot above when lowercasing capital I's and J's # whenever there are more accents above. # (of the accents used in Lithuanian: grave, acute, tilde above, and ogonek) 0049; 0069 0307; 0049; 0049; lt More_Above; # LATIN CAPITAL LETTER I As I see it, lowercase(0049 0307) = 0069 0307 0307, even though that seems rather weird. However, the last comment (of the accents used in Lithuanian ...) doesn't quite agree with the definition of More_Above as defined in UTR #21 [1] because there are far more characters than the accents listed in the comment that have a combining class equal to 230 (i.e., ABOVE). nikolai [1] http://www.unicode.org/reports/tr21/tr21-5.html From now at bitwi.se Thu Jul 27 17:17:21 2006 From: now at bitwi.se (Nikolai Weibull) Date: Thu, 27 Jul 2006 23:17:21 +0200 Subject: [Char-encodings-development] character-encodings-0.2.0 has been released! Message-ID: Go fetch the gem at http://rubyforge.org/frs/download.php/11995/character-encodings-0.2.0.gem or however you usually do it. The Git repository is also up to date. This release has been tagged as v0.2.0. Enjoy! nikolai From kihlbom at gmail.com Thu Jul 27 18:41:45 2006 From: kihlbom at gmail.com (Carl-Johan Kihlbom) Date: Fri, 28 Jul 2006 00:41:45 +0200 Subject: [Char-encodings-development] character-encodings-0.2.0 has been released! In-Reply-To: References: Message-ID: On 7/27/06, Nikolai Weibull wrote: > Go fetch the gem at > http://rubyforge.org/frs/download.php/11995/character-encodings-0.2.0.gem Cool, is there a changelog available? From now at bitwi.se Fri Jul 28 03:22:54 2006 From: now at bitwi.se (Nikolai Weibull) Date: Fri, 28 Jul 2006 09:22:54 +0200 Subject: [Char-encodings-development] character-encodings-0.2.0 has been released! In-Reply-To: References: Message-ID: On 7/28/06, Carl-Johan Kihlbom wrote: > On 7/27/06, Nikolai Weibull wrote: > > Go fetch the gem at > > http://rubyforge.org/frs/download.php/11995/character-encodings-0.2.0.gem > > Cool, is there a changelog available? http://git.bitwi.se/?p=ruby-character-encodings.git;a=log nikolai P.S. Any relation to Anders/Henrik/Daniel Kihlbom? D.S. From monkeesage at gmail.com Sat Jul 29 01:14:01 2006 From: monkeesage at gmail.com (Jordan Callicoat) Date: Sat, 29 Jul 2006 00:14:01 -0500 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git repo Message-ID: <1154150041.10285.12.camel@SageWare.net> Have a problem building today...worked yesterday. % git clone http://git.bitwi.se/ruby-character-encodings.git got a55b1abfd073f936fd2374772d180af3dd382116 walk a55b1abfd073f936fd2374772d180af3dd382116 ... % cd ruby-character-encodings % rake --trace (in /mydocs/scripts/ruby/ruby-character-encodings) ** Invoke default (first_time) ** Invoke extensions (first_time) ** Invoke ext/encoding/character/utf-8/Makefile (first_time) ** Invoke ext/encoding/character/utf-8/extconf.rb (first_time, not_needed) ** Invoke ext/encoding/character/utf-8/depend (first_time, not_needed) ** Execute ext/encoding/character/utf-8/Makefile rake aborted! wrong number of arguments (3 for 2) /usr/lib/ruby/site_ruby/1.9/rake.rb:725:in `fu_check_options' /usr/lib/ruby/site_ruby/1.9/rake.rb:725:in `sh' /usr/lib/ruby/site_ruby/1.9/rake.rb:812:in `sh' /usr/lib/ruby/site_ruby/1.9/rake.rb:747:in `ruby' /usr/lib/ruby/site_ruby/1.9/rake.rb:812:in `ruby' /mydocs/scripts/ruby/ruby-character-encodings/Rakefile:51 /mydocs/scripts/ruby/ruby-character-encodings/Rakefile:50:in `Dir#chdir' /mydocs/scripts/ruby/ruby-character-encodings/Rakefile:50 /usr/lib/ruby/site_ruby/1.9/rake.rb:387 /usr/lib/ruby/site_ruby/1.9/rake.rb:387:in `Proc#call' /usr/lib/ruby/site_ruby/1.9/rake.rb:387:in `execute' /usr/lib/ruby/site_ruby/1.9/rake.rb:387:in `Array#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:387:in `execute' /usr/lib/ruby/site_ruby/1.9/rake.rb:357:in `Rake::Task#invoke' /usr/lib/ruby/1.9/thread.rb:138:in `Mutex#synchronize' /usr/lib/ruby/site_ruby/1.9/rake.rb:350:in `Rake::Task#invoke' /usr/lib/ruby/site_ruby/1.9/rake.rb:364:in `invoke_prerequisites' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `Array#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `BasicObject#send' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `Rake::FileList#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:363:in `invoke_prerequisites' /usr/lib/ruby/site_ruby/1.9/rake.rb:356:in `Rake::Task#invoke' /usr/lib/ruby/1.9/thread.rb:138:in `Mutex#synchronize' /usr/lib/ruby/site_ruby/1.9/rake.rb:350:in `Rake::Task#invoke' /usr/lib/ruby/site_ruby/1.9/rake.rb:364:in `invoke_prerequisites' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `Array#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `BasicObject#send' /usr/lib/ruby/site_ruby/1.9/rake.rb:999:in `Rake::FileList#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:363:in `invoke_prerequisites' /usr/lib/ruby/site_ruby/1.9/rake.rb:356:in `Rake::Task#invoke' /usr/lib/ruby/1.9/thread.rb:138:in `Mutex#synchronize' /usr/lib/ruby/site_ruby/1.9/rake.rb:350:in `Rake::Task#invoke' /usr/lib/ruby/site_ruby/1.9/rake.rb:1906:in `Rake::Application#run' /usr/lib/ruby/site_ruby/1.9/rake.rb:1906:in `Array#each' /usr/lib/ruby/site_ruby/1.9/rake.rb:1906:in `Rake::Application#run' /usr/bin/rake:8 % ruby -v ruby 1.9.0 (2006-07-27) [i686-linux] Jordan From oliver.andrich at gmail.com Sat Jul 29 03:13:11 2006 From: oliver.andrich at gmail.com (Oliver Andrich) Date: Sat, 29 Jul 2006 09:13:11 +0200 Subject: [Char-encodings-development] character-encodings-0.2.0 has been released! In-Reply-To: References: Message-ID: <6f7b52d0607290013s6c2f0ab5w25192d231882dd8e@mail.gmail.com> Hi Nikolai, I had same issues with the gem on OS X. The installation worked like a charm, as you can see from the attached log file (installation.txt). Inside irb I get the following error. irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'encoding/character/utf-8' LoadError: no such file to load -- encoding/character/utf-8/utf8 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in `require__' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in `require' from /opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0 /lib/encoding/character/utf-8.rb:5 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require' from (irb):2 irb(main):003:0> The reason seems to be, that utf8.bundle is not installed in where utf-8.rbexpects it. fitheach:/opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0/lib oa$ find . . ./encoding ./encoding/character ./encoding/character/utf-8.rb ./unicode.h ./utf8.bundle The reason might be the require line require 'encoding/character/utf-8/utf8' As soon as I change it to require 'utf8' it works as expected. I haven't developed a gem myself so far, so I don't have much knowledge about it. Best regards, Oliver -- Oliver Andrich --- http://roughbook.de/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/char-encodings-development/attachments/20060729/a8feaff7/attachment-0001.html -------------- next part -------------- fitheach:/opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0/lib oa$ cd fitheach:~ oa$ sudo gem uninstall character-encodings Attempting to uninstall gem 'character-encodings' Successfully uninstalled character-encodings version 0.2.0 fitheach:~ oa$ sudo gem install character-encodings Attempting local installation of 'character-encodings' Local gem file not found: character-encodings*.gem Attempting remote installation of 'character-encodings' Building native extensions. This could take a while... ruby extconf.rb install character-encodings checking for ???-std=c99??? option to compiler... yes checking for ???-Wall??? option to compiler... yes checking for ???-Wextra??? option to compiler... yes checking for ???-Wwrite-strings??? option to compiler... yes checking for ???-Waggregate-return??? option to compiler... yes checking for ???-Wmissing-prototypes??? option to compiler... yes checking for ???-Wmissing-declarations??? option to compiler... yes checking for ???-Wnested-externs??? option to compiler... yes checking for ???-Wundef??? option to compiler... yes checking for ???-Wpointer-arith??? option to compiler... yes checking for ???-Wcast-align??? option to compiler... yes checking for ???-Werror??? option to compiler... yes checking for assert.h... yes checking for limits.h... yes checking for locale.h... yes checking for stdbool.h... yes checking for stddef.h... yes checking for stdint.h... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/types.h... yes checking for wchar.h... yes creating Makefile make gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c break.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c decompose.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c properties.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_aref.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_aset.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_casecmp.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_chomp.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_chop.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_collate.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_count.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_delete.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_downcase.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_each_char.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_foldcase.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_hex.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_index.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_insert.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_internal_bignum.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_internal_tr.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_justify.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_length.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_lstrip.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_normalize.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_oct.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_reverse.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_rindex.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_rstrip.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_squeeze.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_strip.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_to_i.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_tr.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c rb_utf_upcase.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c unicode.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I/opt/local/lib/ruby/1.8/i686-darwin8.6.1 -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -O -pipe -I/opt/local/include -c utf.c cc -dynamic -bundle -undefined suppress -flat_namespace -L/opt/local/lib -L"/opt/local/lib" -o utf8.bundle break.o decompose.o properties.o rb_utf_aref.o rb_utf_aset.o rb_utf_casecmp.o rb_utf_chomp.o rb_utf_chop.o rb_utf_collate.o rb_utf_count.o rb_utf_delete.o rb_utf_downcase.o rb_utf_each_char.o rb_utf_foldcase.o rb_utf_hex.o rb_utf_index.o rb_utf_insert.o rb_utf_internal_bignum.o rb_utf_internal_tr.o rb_utf_justify.o rb_utf_length.o rb_utf_lstrip.o rb_utf_normalize.o rb_utf_oct.o rb_utf_reverse.o rb_utf_rindex.o rb_utf_rstrip.o rb_utf_squeeze.o rb_utf_strip.o rb_utf_to_i.o rb_utf_tr.o rb_utf_upcase.o unicode.o utf.o -lruby -lpthread -ldl -lobjc make install /usr/bin/install -c -m 0755 utf8.bundle /opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0/lib /usr/bin/install -c -m 644 ./unicode.h /opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0/lib Successfully installed character-encodings-0.2.0 From now at bitwi.se Sat Jul 29 08:08:59 2006 From: now at bitwi.se (Nikolai Weibull) Date: Sat, 29 Jul 2006 14:08:59 +0200 Subject: [Char-encodings-development] character-encodings-0.2.0 has been released! In-Reply-To: <6f7b52d0607290013s6c2f0ab5w25192d231882dd8e@mail.gmail.com> References: <6f7b52d0607290013s6c2f0ab5w25192d231882dd8e@mail.gmail.com> Message-ID: On 7/29/06, Oliver Andrich wrote: > fitheach:/opt/local/lib/ruby/gems/1.8/gems/character-encodings-0.2.0 > /lib oa$ find . > ./unicode.h > ./utf8.bundle Hm, I know that on my machine it installs into /usr/lib64/ruby/gems/1.8/gems/character-encodings-0.2.0/lib/encoding/character/utf-8 like it's supposed to. Could someone with more extconf.rb/Rakefile/rubygems experience than I seem to have explain/provide a patch for this? On my machine, extconf.rb does the right thing when run without the workings of rubygems, as well. I have no possibility of fixing this myself, as I don't have an OS X system to try this on. Thanks. nikolai From now at bitwi.se Sat Jul 29 08:16:04 2006 From: now at bitwi.se (Nikolai Weibull) Date: Sat, 29 Jul 2006 14:16:04 +0200 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git repo In-Reply-To: <1154150041.10285.12.camel@SageWare.net> References: <1154150041.10285.12.camel@SageWare.net> Message-ID: On 7/29/06, Jordan Callicoat wrote: > Have a problem building today...worked yesterday. > > % git clone http://git.bitwi.se/ruby-character-encodings.git > got a55b1abfd073f936fd2374772d180af3dd382116 > walk a55b1abfd073f936fd2374772d180af3dd382116 > ... > % cd ruby-character-encodings > % rake --trace ... > wrong number of arguments (3 for 2) > /usr/lib/ruby/site_ruby/1.9/rake.rb:725:in `fu_check_options' > /usr/lib/ruby/site_ruby/1.9/rake.rb:725:in `sh' > /usr/lib/ruby/site_ruby/1.9/rake.rb:812:in `sh' > /usr/lib/ruby/site_ruby/1.9/rake.rb:747:in `ruby' > /usr/lib/ruby/site_ruby/1.9/rake.rb:812:in `ruby' > /mydocs/scripts/ruby/ruby-character-encodings/Rakefile:51 The problem seems that fu_check_options has changed in 1.9. It now takes an array as an argument, instead of collecting all the arguments in an *array. Rake hasn't been updated for this behavior, so Rake is basically broken for Ruby 1.9. You can try to install it under 1.8 I suppose (use ruby-config if you're on a gentoo system, otherwise I don't know haw to set that up). From monkeesage at gmail.com Sat Jul 29 09:40:56 2006 From: monkeesage at gmail.com (Jordan Callicoat) Date: Sat, 29 Jul 2006 08:40:56 -0500 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git rep Message-ID: <1154180456.25937.7.camel@SageWare.net> Yup, that worked... % ruby-config ruby18 % emerge rake rubygems % gem install rspec % rake --trace ** Invoke default (first_time) ** Invoke extensions (first_time) ** Invoke ext/encoding/character/utf-8/Makefile (first_time) ** Invoke ext/encoding/character/utf-8/extconf.rb (first_time, not_needed) ** Invoke ext/encoding/character/utf-8/depend (first_time, not_needed) ** Execute ext/encoding/character/utf-8/Makefile /usr/bin/ruby18 extconf.rb checking for ?-std=c99? option to compiler... yes checking for ?-Wall? option to compiler... yes checking for ?-Wextra? option to compiler... yes checking for ?-Wwrite-strings? option to compiler... yes ... But strangly, the extension works just fine with 1.9 when I copy it to site_lib/1.9...hope that rake updates soon! Minero Aoki's setup.rb [http://i.loveruby.net/en/projects/setup/] might be a better way to go...until then, mabye not though...I have no idea about rake! Jordan From monkeesage at gmail.com Sun Jul 30 15:24:49 2006 From: monkeesage at gmail.com (Jordan Callicoat) Date: Sun, 30 Jul 2006 14:24:49 -0500 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git rep In-Reply-To: <1154180456.25937.7.camel@SageWare.net> References: <1154180456.25937.7.camel@SageWare.net> Message-ID: <1154287489.31694.11.camel@SageWare.net> Ok, so I changed fu_check_options in rake.rb (line 725) to: fu_check_options options, [:noop, :verbose] Then everything is happy, but then... In file included from decompose.c:7: /usr/lib/ruby/1.9/i686-linux/ruby.h:154:5: "LONG_LONG_VALUE" is not defined make: *** [decompose.o] Error 1 Ok, so change ruby.h (line 154) to "#ifdef" instead of "#if"...now we're happy again...chug chug chug...ack! i686-pc-linux-gnu-gcc -I. -I/usr/lib/ruby/1.9/i686-linux -I/usr/lib/ruby/1.9/i686-linux -I. -DHAVE_ASSERT_H -DHAVE_LIMITS_H -DHAVE_LOCALE_H -DHAVE_STDBOOL_H -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDIO_H -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_SYS_TYPES_H -DHAVE_WCHAR_H -fPIC -O2 -march=i686 -pipe -fPIC -std=c99 -Wall -Wextra -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wundef -Wpointer-arith -Wcast-align -Werror -c rb_utf_internal_bignum.c rb_utf_internal_bignum.c: In function `rb_utf_to_inum_num_separator': rb_utf_internal_bignum.c:116: warning: long int format, int arg (arg 4) rb_utf_internal_bignum.c: In function `rb_utf_to_inum_digit_value': rb_utf_internal_bignum.c:138: warning: long int format, int arg (arg 4) rb_utf_internal_bignum.c:147: warning: long int format, int arg (arg 5) rb_utf_internal_bignum.c: In function `rb_utf_to_inum_as_fix': rb_utf_internal_bignum.c:184: warning: long int format, int arg (arg 3) rb_utf_internal_bignum.c: In function `rb_cutf_to_inum': rb_utf_internal_bignum.c:224: warning: long int format, int arg (arg 4) rb_utf_internal_bignum.c:248: warning: long int format, int arg (arg 3) rb_utf_internal_bignum.c:297: warning: long int format, int arg (arg 3) rb_utf_internal_bignum.c:302: warning: long int format, int arg (arg 3) make: *** [rb_utf_internal_bignum.o] Error 1 Ok, so change all the %ld format specifiers to %d in rb_utf_internal_bignum.c where it complains...and now... works! % rake test (in /mydocs/scripts/ruby/ruby-character-encodings) /usr/bin/ruby19 -Ilib:ext "/usr/lib/ruby/site_ruby/1.9/rake/rake_test_loader.rb" "tests/foldcase.rb" Loaded suite /usr/lib/ruby/site_ruby/1.9/rake/rake_test_loader Started . Finished in 0.269381 seconds. 1 tests, 1010 assertions, 0 failures, 0 errors % rake spec (in /mydocs/scripts/ruby/ruby-character-encodings) ruby -w -Ilib:ext "/usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/bin/spec" "specifications/aref.rb" "specifications/count.rb" "specifications/delete.rb" "specifications/each_char.rb" "specifications/index.rb" "specifications/insert.rb" "specifications/length.rb" "specifications/rindex.rb" "specifications/squeeze.rb" "specifications/to_i.rb" "specifications/tr.rb" /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/api/mocks/message_expectation.rb:105: warning: `*' interpreted as argument prefix /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/api/mocks/mock.rb:6: warning: undefining `__send' may cause serious problem /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/api/mocks/mock.rb:6: warning: undefining `object_id' may cause serious problem /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/api/mocks/mock.rb:6: warning: undefining `__send!' may cause serious problem /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/runner/context.rb:10: warning: `&' interpreted as argument prefix /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/runner/context.rb:22: warning: `&' interpreted as argument prefix /usr/lib/ruby/gems/1.9/gems/rspec-0.5.15/lib/spec/runner/context.rb:26: warning: `&' interpreted as argument prefix ............................................. Finished in 0.11479 seconds 45 specifications, 0 failures Yay! Just thought this might be helpful to others in getting it working with 1.9. Thanks again for the great extension Nikolai! Jordan From now at bitwi.se Sun Jul 30 16:18:02 2006 From: now at bitwi.se (Nikolai Weibull) Date: Sun, 30 Jul 2006 22:18:02 +0200 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git rep In-Reply-To: <1154287489.31694.11.camel@SageWare.net> References: <1154180456.25937.7.camel@SageWare.net> <1154287489.31694.11.camel@SageWare.net> Message-ID: On 7/30/06, Jordan Callicoat wrote: > In file included from decompose.c:7: > /usr/lib/ruby/1.9/i686-linux/ruby.h:154:5: "LONG_LONG_VALUE" is not > defined > make: *** [decompose.o] Error 1 > > Ok, so change ruby.h (line 154) to "#ifdef" instead of "#if"...now we're > happy again...chug chug chug...ack! That's a bug in ruby.h. I suggest you post that to the tracker for Ruby on Rubyforge. > rb_utf_internal_bignum.c: In function `rb_utf_to_inum_num_separator': > rb_utf_internal_bignum.c:116: warning: long int format, int arg (arg 4) : : Ah, that was actually a bug. We shouldn't be using s - str but utf_pointer_to_offset(str, s) for calculating the position we're at. Fixed in HEAD. nikolai From monkeesage at gmail.com Mon Jul 31 00:11:12 2006 From: monkeesage at gmail.com (Jordan Callicoat) Date: Sun, 30 Jul 2006 23:11:12 -0500 Subject: [Char-encodings-development] Problem building Fri, 28 Jul 2006 git rep In-Reply-To: References: <1154180456.25937.7.camel@SageWare.net> <1154287489.31694.11.camel@SageWare.net> Message-ID: <1154319072.27617.7.camel@SageWare.net> On Sun, 2006-07-30 at 22:18 +0200, Nikolai Weibull wrote: > On 7/30/06, Jordan Callicoat wrote: > > > In file included from decompose.c:7: > > /usr/lib/ruby/1.9/i686-linux/ruby.h:154:5: "LONG_LONG_VALUE" is not > > defined > > make: *** [decompose.o] Error 1 > > > > Ok, so change ruby.h (line 154) to "#ifdef" instead of "#if"...now we're > > happy again...chug chug chug...ack! > > That's a bug in ruby.h. I suggest you post that to the tracker for > Ruby on Rubyforge. Alright. Ticket #5243 [ http://rubyforge.org/tracker/?func=detail&aid=5243&group_id=426&atid=1698 ] > > rb_utf_internal_bignum.c: In function `rb_utf_to_inum_num_separator': > > rb_utf_internal_bignum.c:116: warning: long int format, int arg (arg 4) > : > : > > Ah, that was actually a bug. We shouldn't be using s - str but > utf_pointer_to_offset(str, s) for calculating the position we're at. > Fixed in HEAD. Nice. Builds fine now. :) From now at bitwi.se Mon Jul 31 08:54:44 2006 From: now at bitwi.se (Nikolai Weibull) Date: Mon, 31 Jul 2006 14:54:44 +0200 Subject: [Char-encodings-development] Planning for the future Message-ID: Hi! During August I'm going to do consulting work and try to find an apartment as I need to move out of the one I'm currently staying in. Given how hard it is to find a place to live I have the feeling that all my time is going to go to /paying/ work and trying to hustle someone out of an apartment. That means that the character-encodings project won't be getting too much attention during August. I'll do my best to find some spare time, but as most things seem to work I'm not giving it any sort of priority. Anyway, just thought I'd mention it. I'm not going away, just putting things on pause. Also, if you have, or know someone with, an apartment in central Gothenburg, please contact me. Basically anything not too expensive (my maximum is 1e6 kr / 3,500 kr/mo) is fine - I'm desperate! nikolai