[Rubyinstaller-devel] Installer3 rake compile problem

Luis Lavena luislavena at gmail.com
Sun Apr 20 13:21:50 EDT 2008


On Sun, Apr 20, 2008 at 12:15 PM, Gordon Thiesfeld <gthiesfeld at gmail.com> wrote:
> I've been having a problem with the compile step in installer3
>
>  compiling openssl
>  C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:197:in `initialize':
>  Permission denied - mkmftmp1.log (Errno::EACCES)
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:197:in `open'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:197:in `open'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:228:in `postpone'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:201:in `open'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:224:in `postpone'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:591:in
>  `checking_for'
>         from C:/ruby/repo/oci_187/sandbox/ruby_1_8/lib/mkmf.rb:695:in
>  `have_func'
>         from ../../../ruby_1_8/ext/openssl/extconf.rb:73
>         from ../ruby_1_8/ext/extmk.rb:168:in `load'
>         from ../ruby_1_8/ext/extmk.rb:168:in `extmake'
>         from ../ruby_1_8/ext/extmk.rb:441
>         from ../ruby_1_8/ext/extmk.rb:440:in `each'
>         from ../ruby_1_8/ext/extmk.rb:440
>  make: *** [all] Error 1
>  rake aborted!
>  Command failed with status (2): ["C:/ruby/repo/oci_187/sandbox/msys/bin/bas...]
>
>  (See full trace by running task with --trace)
>
>  If I run it again, it might get past openssl, but fail on another
>  extension.  So I just keep running it until it finishes.  If I comment
>  out line 234 of ruby_1_8\lib\mkmf.rb it runs all the way through, but
>  this seems suboptimal.  Is anyone else seeing this?
>

Mmm, looks like the OS is blocking the .log file when compiling the extension.

Can you cleanup ruby_build/ext/openssl (remove folder) and also the
.ext/i386-mingw32/openssl.so ?

Also, check for a mkmf*.log in your %TEMP%.

Sometimes some antivirus software block these files.

HTH,
-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams


More information about the Rubyinstaller-devel mailing list