couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1197) trunk no longer builds on Windows
Date Sat, 16 Jul 2011 04:27:59 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066361#comment-13066361
] 

Dave Cottlehuber commented on COUCHDB-1197:
-------------------------------------------

Thanks Randall, last set of commits fixes it. As I mentioned there is still a hack needed
for cygwin's libtool to correctly compile snappy C++ on windows. I don't yet have a permanent
fix for this obscene hackery:

./configure generates a custom libtool in $COUCH_TOP from the system supplied one in /bin/libtool.
    mv libtool libtool.dist
    more libtool.dist | sed -E -e 's/ \\\$\{wl\}--enable-auto-image-base -Xlinker --out-implib
-Xlinker \\\$lib//'  -e 's/(-shared -nostdlib)/-dll \1/' > libtool
the make etc as usual.

NB this is the second type of shenanigans we have - see COUCHDB-439 as well - some housework
reqd.

> trunk no longer builds on Windows
> ---------------------------------
>
>                 Key: COUCHDB-1197
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1197
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System, JavaScript View Server
>         Environment: Windows 7 Enterprise x64
> Cygwin
> MS Visual Studio 2008 Express
>            Reporter: Dave Cottlehuber
>            Assignee: Randall Leeds
>              Labels: cygwin, windows
>             Fix For: 1.2
>
>         Attachments: COUCHDB-1197_fix_ejson_v3.patch, COUCHDB-1197_fix_icu_v3.patch,
COUCHDB-1197_fix_includes_v3.patch, COUCHDB-1197_fix_libcurl_v3.patch, COUCHDB-1197_fix_snappy_v3.patch
>
>
> ./configure fails
> - can no longer correctly find libcurl (after COUCHDB-1042) and instead compiles against
cygwin's curl which is *bad*. Patch attached to resolve this.
> - finds jsapi.h correctly but can no longer use it. Work by dch to identify when it broke
and how to fix this underway.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message