Bug 33627 - Bite-sized changes making progress towards compilation on Cygwin
Summary: Bite-sized changes making progress towards compilation on Cygwin
Status: RESOLVED WONTFIX
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.0.53
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2005-02-18 01:19 UTC by Max Bowsher
Modified: 2016-08-11 12:32 UTC (History)
0 users



Attachments
Patch (1.80 KB, patch)
2005-02-18 01:23 UTC, Max Bowsher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Bowsher 2005-02-18 01:19:29 UTC
This patch contains three independently-reviewable changes that do not
entirely fix the build on Cygwin, but do make important progress in that
direction.

* build/install.sh: Automagically append .exe - this is needed because
    libtool will not pass unknown options to an install program, so we
    are unable to use "-e .exe" in this case.

* build/instdso.sh: Like OS/2, on Cygwin we can't rename DLLs. Additionally,
    on Cygwin we need the .la files installed to allow DSOs built by other
    software packages to link against installed DSOs
     - e.g. mod_dav_svn -> mod_dav.
    So, disable the latter part of instdso.sh, just like on OS/2.

* modules/dav/fs/config6.m4: Cygwin is a DLL platform too. Add it to the
    list alongside OS/2.
Comment 1 Max Bowsher 2005-02-18 01:23:24 UTC
Created attachment 14309 [details]
Patch
Comment 2 William A. Rowe Jr. 2005-02-18 20:00:58 UTC
I'm not happy with build/install.sh because it sounds like an issue
with libtool, not with our build.  We need to try to quit fixing libtool
issues with gross hacks, and push the fix/patch back at the libtool devs.

Can you validate that this patch really belongs in our build schema?
Comment 3 Max Bowsher 2005-02-18 20:25:37 UTC
I can quite understand why you would ask, but this change does belong in httpd.

The Libtool manual specifies that install mode is for use with a "cp" or
BSD-compatible "install" program. Since Apache uses neither, but fits a script
of it's own devising into this role, said script needs to follow the documented
interfaces of libtool, which means not adding additional arguments.

You might say that libtool is being overly restrictive - perhaps so, but in that
case Apache should create and push upstream changes to loosen that interface
first, before introducing a script which requires a looser interface.


Also, it's not really a gross hack. It's concise and achieves what it needs to
safely and without overcomplication.
Comment 4 Luca Toscano 2016-08-11 12:32:55 UTC
After all this time I am inclined to close this bug request as wontfix. Please re-open it if something is missing.