This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin-setup & rebaseall

Satish Balay wrote:

> Q: Does cygwin setup run rebaseall either during initial install or
> during subsequent updates? [guessing no]

No, setup has no clue about rebaseall.

> Q: Is it safe to say: 'if cygwin is installed from scratch - rebaseall
> is not required'

That's not quite correct.  Whether a rebase is required depends on
several factors - which packages you've selected, and whether those
packages have been compiled with --enable-auto-image-base.  As you have
noted, the rebase is only required for certain packages, particularly
those that use dynamically loaded modules such as python or perl.  Many
people use Cygwin all the time and never run into the problem because
most programs don't suffer from this.

Additionally, maintainers of these packages have (I believe) recently
started compiling them with --enable-auto-image-base which should
eliminate (or reduce) the need to rebase.

> [for our tools] cygwin/python is a pre-requisite - and our users
> appear to stumble across this issue regularly. And asking users to
> always run rebaseall is an extra hurdle]

Always running rebase after any setup operation seems like overkill.  It
should only be necessary if you upgrade python or a dynamic library that
python might load at runtime, and then only if python wasn't compiled
with the above flag -- I don't know the current status of which
maintainers are doing that.

So, it seems to me like it would be a lot easier just to say "Run rebase
if you get an "Unable to remap" error" instead of "Run rebase
religiously after any setup operation."  Or, if you know that python
triggers this problem then perhaps it should be, "Always run rebaseall
after a clean install, and then don't worry about it again unless you
get the "unable to remap" error."


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]