curl 7.36 released

Installing a new DA / CentOS 5 -64bits now, and it

libtool: link: gcc -O2 -Wno-system-headers -o .libs/curl curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-strdup.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o -L/usr/kerberos/lib64 ../lib/.libs/libcurl.so -lz -lrt
curl-tool_operate.o: In function `operate':
tool_operate.c:(.text+0x2c09): undefined reference to `hugehelp'
collect2: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.36.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.36.0/src'
make: *** [all-recursive] Error 1

Any idea?
 
Well for the records, yes, I did run all pre-required installations. This is not the first time to build a new DA server, that we have done hundreds times :)
 
I think your problem might be related to this bug: http://curl.haxx.se/mail/tracker-2014-03/0086.html - it says it is fixed in git, and that page link to this: https://github.com/bagder/curl/commit/38d582ff5

Edit: Here is the first email in the email thread: http://curl.haxx.se/mail/tracker-2014-03/0083.html (the one I linked to above is one of many replies to this email).

Edit2: By the way, have upgraded curl on all my servers and did not have any problems. I am only running CentOS 6.x. But maybe it is only happening on new curl installs, or CentOS 5.x.
 
Last edited:
I'm having the same error. One some servers curl updates without errors, but on some others not. All the servers run Centos 5.9

Solution anyone?
 
You should try to apply the patch I linked to in reply #7, I think that patch will fix it. If not, you should wait for the next version of curl to be released, or maybe DirectAdmin support will apply the patch to curl in custombuild. However "gate2vn" has not yet confirmed that the patch fixes it (but I think it does).
 
I just tried to upgrade on an existing CentOS 5 machine, it went fine. The issue is just happening with fresh installations. Tried with both 32 and 64 bits, the same error.

On the other hand, I checked in build script, and config.log in curl, but it seems curl was not built with --disable-manual option. The built-in manual is set to no, however.
 
Last edited:
@gate2vn, thanks for the update. If it only happens on new installs, maybe a work around could be to change versions.txt to install curl 7.35, and then do a upgrade to 7.36. Anyway, all my servers upgraded without any problems, and I am out of ideas, so I am out. :)
 
Hello,

I've added the patch to our curl-7.36.0.tar.gz file on files1.
Existing installs may see a failed md5sum for curl 7.36.0, so don't worry about that error, it will grab a new one.
New installs wont get that warning.
Should be in all files mirrors within 24 hours.

John
 
Not building on FreeBSD 8
hostcheck.c: In function 'hostmatch':
hostcheck.c:64: error: storage size of 'si6' isn't known
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0/lib.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0/lib.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0.

*** The make has failed, would you like to try to make again? (y,n):
n
 
I tried to download new file at http://files1.directadmin.com/services/custombuild/curl-7.36.0.tar.gz but still the same error. It's happening with multiple CentOS 5 - 64 bits servers now.


I've added the patch to our curl-7.36.0.tar.gz file on files1.
Existing installs may see a failed md5sum for curl 7.36.0, so don't worry about that error, it will grab a new one.
New installs wont get that warning.
Should be in all files mirrors within 24 hours.

John
 
Not building on FreeBSD 8

Same for me too.

Trying to make cURL...
Making all in lib
make all-am
/usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -I/usr/local/include -fvisibility=hidden -O2 -Wno-system-headers -MT libcurl_la-hostcheck.lo -MD -MP -MF .deps/libcurl_la-hostcheck.Tpo -c -o libcurl_la-hostcheck.lo `test -f 'hostcheck.c' || echo './'`hostcheck.c
libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -I/usr/local/include -fvisibility=hidden -O2 -Wno-system-headers -MT libcurl_la-hostcheck.lo -MD -MP -MF .deps/libcurl_la-hostcheck.Tpo -c hostcheck.c -fPIC -DPIC -o .libs/libcurl_la-hostcheck.o
^Xhostcheck.c: In function 'hostmatch':
hostcheck.c:64: error: storage size of 'si6' isn't known
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0/lib.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0/lib.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/curl-7.36.0.
 
I've confirmed the compile issue as well. As the 1.36.0 seems to have issues, I did try the 1.37.0-20140401 snapshot, and it ran through without any issues.
http://curl.haxx.se/snapshots/curl-7.37.0-20140401.tar.gz
I've put it on files1.directadmin.com as well.

If you'd like to try it, type:
Code:
cd /usr/local/directadmin/custombuild
wget http://curl.haxx.se/snapshots/curl-7.37.0-20140401.tar.gz
perl -pi -e 's/curl:.*/curl:7.37.0-20140401:af816f2c93249ab8376e0efce2106a97/' versions.txt
./build curl
/usr/local/bin/curl --version
If there are enough reports of issues, I may actually consider putting this into the versions.txt as the standard installed version.
The only reason I'd even consider doing that is because, with the compile issues, the fixes from the release of 7.36.0 until now would main just be for the compile issues, and it's a lower likelihood of them adding any new features quite yet (not impossible, but less likely).
Here is the ChangeLog for after 7.36.0 until April 1st:
http://curl.haxx.se/dev/release-notes.html
Code:
o mkhelp: generate code for --disable-manual as well [1]o hostcheck: added a system include to define struct in_addr
o winbuild: added warnless.c to fix build
o smtp: Fixed login denied when server doesn't support AUTH capability [2]
o curl: stop interpreting IPv6 literals as glob patterns
o http2: remove _DRAFT09 from the NPN_HTTP2 enum
o http2: let openssl mention the exact protocol negotiated
where the "hostcheck" and "mkhelp" fixes are what we're after.

Anyway, we can see how this snapshot goes for everyone, and make a decision later on if we want to include it into the versions.txt.

John
 
"./build curl" seems still to download 7.36, even I double checked in versions.txt, it's 7.37. In fact, it deleted 7.37 file and re-downloaded 7.36.
 
Yep, that works.

Code:
# /usr/local/bin/curl --version
curl 7.37.0-20140401 (i686-pc-linux-gnu) libcurl/7.37.0-20140401 OpenSSL/0.9.8b zlib/1.2.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp 
Features: IPv6 Largefile NTLM NTLM_WB SSL libz
 
Back
Top