Hi,

Sean Russell <ser / germane-software.com> wrote:
> REXML 1.2.2 is available for download at the usual place:
> 
>         http://www.germane-software.com/~ser/software/rexml

I cannot install it, because cannot create dtd dir.

# ruby install.rb 
rexml/xpath.rb -> /usr/local/lib/ruby/site_ruby/1.6/rexml/xpath.rb
chmod 0644 /usr/local/lib/ruby/site_ruby/1.6/rexml/xpath.rb
rexml/dtd/notationdecl.rb -> /usr/local/lib/ruby/site_ruby/1.6/rexml/dtd/notationdecl.rb
No such file or directory - "/usr/local/lib/ruby/site_ruby/1.6/rexml/dtd/notationdecl.rb"


Here is a patch.

%diff -u install.rb~ install.rb
--- install.rb~ Sun Dec  9 05:05:14 2001
+++ install.rb  Sat Dec 15 12:57:49 2001
@@ -19,6 +19,7 @@
                File.makedirs( DESTDIR )
                Find.find(SRC) { |file|
                        dst = File.join( INSTDIR, file )
+                       File.makedirs(File.dirname(dst))
                        File.install(file, dst, 0644, true) if file =~ /\.rb$/ and not /\.svn/
                }
        rescue



Hope this helps,

TAKAHASHI 'Maki' Masayoshi     E-mail: maki / open-news.com