couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dipesh Patel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-961) "curl_config --libs" output is ignored
Date Fri, 21 Jan 2011 20:23:44 GMT

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

Dipesh Patel commented on COUCHDB-961:
--------------------------------------

Hi 

I've written a patch for this. See attached.

Also can find it here on github if that's easier. I've tested on a box running ubuntu, but
its such a small fix so pretty so it will work on other flavours ( famous last words )...

https://github.com/dipthegeezer/couchdb/commit/48ef8916a57aa5398a7ff3a57e267202161409e3

Dip

> "curl_config --libs" output is ignored
> --------------------------------------
>
>                 Key: COUCHDB-961
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-961
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0.1
>         Environment: Unix (tested on CentOS 5.5, but applies to anyone who wants to use
a non-default Curl library)
>            Reporter: Pasi Eronen
>            Priority: Minor
>         Attachments: patch.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> "configure" runs "curl-config --libs" to find out where the Curl libraries are (and sets
CURL_LIBS).
> It's possible to use a custom Curl installation by setting CURL_CONFIG environment variable.
> However, the actual compilation (in src/couchdb/priv/Makefile.am) uses CURL_LDFLAGS,
> which configure.ac sets to plain "-lcurl" (which uses the default Curl installation,
if such exists,
> and not the one checked in m4/ac_check_curl.m4).
> Probably configure.ac should set CURL_LDFLAGS to $(CURL_LIBS) instead...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message