View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004137||unreal||installing||public||2012-10-26 18:46||2013-01-09 09:10|
|Platform||OS||GNU/Linux, *BSD||OS Version||Many|
|Target Version||Fixed in Version||3.2.10|
|Summary||0004137: curlinstall fails if libssh2 devel is available on the system.|
RE: 1) *NIX: Use the ./curlinstall script, see if it delivers a working curl that can be used during ./Config
It seems that on GNU/Linux and *BSD (and probably OS X), if libssh2 devel is available, cURL's configure will fail with "libssh2.h:443: error: previous declaration of 'libssh2_free' was here." The resolution to fix this is to append --without-libssh2 to cURL's configure line in the curlinstall script.
|Steps To Reproduce||Install libssh2 development packages on your GNU/Linux or *BSD system, then try the curlinstall script.|
|Additional Information||If libssh2 devel isn't available, or we append --without-libssh2 to cURL's configure line, then the curlinstall script appears to be WAI.|
I've tested on several GNU/Linux distribution releases and FreeBSD.
Also, maybe we should simply disable any cURL features that are unnecessary for UnrealIRCd?
|Tags||No tags attached.|
|3rd party modules|
curlinstall.patch (447 bytes)
Thanks for testing, we certainly want a workable curlinstall script ;)
Hmmm.. so basically we should workaround a curl bug.
I was going to say, let's add the --disable- feature to the command if it's a non-used protocol, but ssh:// sounds pretty neat (I wasn't aware of it), so that would be a shame.
I see the curlinstall script uses http://www.unrealircd.com/files/curl-latest.tar.gz
Interesting.. I haven't updated that file since July 2010.
I now replaced it with the current latest curl, could you check if the curlinstall script works now?
Ideally the curlinstall script should fetch curl from the curl site itself.
Perhaps leave the bug open as a TODO item for that.
Tested on debian 6 with libssh devel package & updated, works now.
Let me know if you have the same result(s).
||It seems to work on FreeBSD 9.0-RELEASE and various GNU/Linux distribution releases in my VirtualBox. Thanks, Syzop. :)|
I successfully ran curlinstall on OS X.8 w/ the following pre-requisites:
- Mercurial OS X port from their website
- MacPorts 2.1.2
- XCode from Apple AppStore
- Command Line Tools from Download Tab in preferences.
- (in terminal) 'port install wget'
From there, an hg clone can be preformed and curlinstall will build in it's entirety.
|2012-10-26 18:46||warg||New Issue|
|2012-10-26 18:46||warg||File Added: curlinstall.patch|
|2012-10-28 09:04||syzop||Note Added: 0017213|
|2012-10-28 09:54||syzop||Note Added: 0017215|
|2012-10-29 02:24||warg||Note Added: 0017217|
|2012-10-29 14:50||xaero||Note Added: 0017218|
|2013-01-09 09:09||syzop||Status||new => resolved|
|2013-01-09 09:09||syzop||Fixed in Version||=> 3.2.10|
|2013-01-09 09:09||syzop||Resolution||open => fixed|
|2013-01-09 09:09||syzop||Assigned To||=> syzop|