On 4/14/07, Kouhei Sutou <kou@cozmixng.org> wrote:
[snip]
>
> Could you show me the following directories too?
>
> * C:\Projects\Subversion\dist\svn-win32-trunk\ruby
> * C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext
> * C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext\svn
> * C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext\svn\ext
Sure:
Directory of C:\Projects\Subversion\dist\svn-win32-trunk\ruby
04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM <DIR> ext
04/14/2007 04:34 PM <DIR> lib
Directory of C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext
04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM <DIR> svn
Directory of C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext\svn
04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM <DIR> ext
Directory of C:\Projects\Subversion\dist\svn-win32-trunk\ruby\ext\svn\ext
04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM 127,054 libapr.dll
04/14/2007 04:34 PM 36,953 libapriconv.dll
04/14/2007 04:34 PM 168,023 libaprutil.dll
04/14/2007 04:34 PM 155,740 libsvn_client-1.dll
04/14/2007 04:34 PM 86,106 libsvn_delta-1.dll
04/14/2007 04:34 PM 45,144 libsvn_diff-1.dll
04/14/2007 04:34 PM 208,980 libsvn_fs-1.dll
04/14/2007 04:34 PM 356,436 libsvn_ra-1.dll
04/14/2007 04:34 PM 122,970 libsvn_repos-1.dll
04/14/2007 04:34 PM 319,576 libsvn_subr-1.dll
04/14/2007 04:34 PM 180,308 libsvn_wc-1.dll
>
>
> And could you add some debug prints and show me the result?
>
> ...
> target_dirs.each do |dir|
> next unless File.basename(dir) == "ruby"
> base_dir = File.expand_path(dir)
> $LOAD_PATH.unshift(File.join(base_dir, "ext"))
> $LOAD_PATH.unshift(File.join(base_dir, "lib"))
> end
>
> +p target_dirs
> +p target_dirs.collect {|dir| File.basename(dir)}
> +p target_dirs.collect {|dir| File.expand_path(dir)}
> +p $LOAD_PATH
>
Here's the output:
make_dist: Creating ruby gem
["C:\\Projects\\Subversion\\dist\\svn-win32-trunk\\README.txt",
"C:\\Projects\\Subversion\\dist\\svn-win32-trunk\\ruby",
"C:\\Projects\\Subversion\\dist\\svn-win32-trunk\\licenses",
"C:\\Projects\\Subversion\\dist\\svn-win32-trunk\\share"]
["README.txt", "ruby", "licenses", "share"]
["C:/Projects/Subversion/dist/svn-win32-trunk/README.txt",
"C:/Projects/Subversion/dist/svn-win32-trunk/ruby",
"C:/Projects/Subversion/dist/svn-win32-trunk/licenses",
"C:/Projects/Subversion/dist/svn-win32-trunk/share"]
["C:/Projects/Subversion/dist/svn-win32-trunk/ruby/lib",
"C:/Projects/Subversion/dist/svn-win32-trunk/ruby/ext",
"c:/Ruby18/lib/ruby/site_ruby/1.8",
"c:/Ruby18/lib/ruby/site_ruby/1.8/i386-msvcrt",
"c:/Ruby18/lib/ruby/site_ruby", "c:/Ruby18/lib/ruby/1.8",
"c:/Ruby18/lib/ruby/1.8/i386-mswin32", "."]
c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- svn/ext/core
(LoadError)
from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from C:/Projects/Subversion/dist/svn-win32-trunk/ruby/lib/svn/error.rb:2
from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from C:/Projects/Subversion/dist/svn-win32-trunk/ruby/lib/svn/core.rb:6
from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from C:/Projects/Subversion/build/win32/make_gem.rb:45
Thanks!
DJ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 15 18:47:02 2007