Project

General

Profile

Actions

Bug #4503

closed

ext/win32ole writes into $srcdir during build, breaking read-only source tree builds

Added by josb (Jos Backus) almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
Backport:
[ruby-core:35495]

Description

=begin
ext/win32ole/extconf.rb writes a .document file into $srcdir, which violates the premise of a read-only source tree.

Possible workarounds:

  • check in a static .document file containing win32ole.c, and remove the code in extconf.rb that creates the .document file dynamically;

  • don't create the .document file if the extension cannot be built, by removing

    else
    create_docfile("")

    from create_win32ole_makefile in extconf.rb.

=end

Updated by nobu (Nobuyoshi Nakada) almost 14 years ago

  • Status changed from Open to Closed

=begin

=end

Updated by josb (Jos Backus) almost 14 years ago

=begin
Hi Nobu, you closed the bug but I didn't see any actions/resolution associated with it. What gives? Thanks!
=end

Updated by Eregon (Benoit Daloze) almost 14 years ago

=begin

Hi Nobu, you closed the bug but I didn't see any actions/resolution associated with it. What gives? Thanks!

Seems a bug in the automatic update from svn.

It was solved with r31121:

  • ext/win32ole/extconf.rb (create_docfile): removed. should not
    modify source directory unnecessarily, platform dependent
    documentation should be dealt with by rdoc. [ruby-core:35495]

Also, I think the updated Redmine is less clear about resolution.
=end

Updated by josb (Jos Backus) almost 14 years ago

=begin
Thanks Benoit, I didn't see that change.
And thanks Nobu, for the fix.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0