Trying to compile the new version of Curl (curl-7.49.0.tar.gz) to update my current verions:
I expected the following
Compilation of this is done automatically via custombuild from DirectAdmin, this is actually the first time that it fails.
[curl -V output perhaps?]
Curl that I'm trying to compile is curl-7.49
LibSSH2 version 1.2.9-1.el5.rf
CloudLinux Server release 5.11
ssh.c: In function 'ssh_statemach_act':
ssh.c:1624: error: 'LIBSSH2_SFTP_STATVFS' undeclared (first use in this function)
ssh.c:1624: error: (Each undeclared identifier is reported only once
ssh.c:1624: error: for each function it appears in.)
ssh.c:1624: error: expected ';' before 'statvfs'
ssh.c:1627: error: 'statvfs' undeclared (first use in this function)
make: *** [libcurl_la-ssh.lo] Error 1
make: Leaving directory /usr/local/directadmin/custombuild/curl-7.49.0/lib' make: *** [all] Error 2 make: Leaving directory/usr/local/directadmin/custombuild/curl-7.49.0/lib'
make: *** [all-recursive] Error 1
The text was updated successfully, but these errors were encountered:
I assume the version I use is the one that is installed. No way to get the version of the library? Installed Packages Name : libssh2 Arch : x86_64 Version : 1.2.9 Release : 1.el5.rf Size : 830 k Repo : installed Summary : Library implementing the SSH2 protocol URL : http://www.libssh2.org/ License : BSD Description: libssh2 is a library implementing the SSH2 protocol as defined by : Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), : SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, : SECSH-DHGEX(04), and SECSH-NUMBERS(10).
Is that an old version? It's the one in the repository.
No newer version in the most used repo's of EL5. Still one year before it's EOL.
Could I use alt-libssh2?
Available Packages Name : alt-libssh2 Arch : x86_64 Version : 1.4.3 Release : 8.el5 Size : 130 k Repo : cloudlinux-x86_64-server-5 Summary : A library implementing the SSH2 protocol License : BSD Description: libssh2 is a library implementing the SSH2 protocol as defined by : Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), : SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, : SECSH-DHGEX(04), and SECSH-NUMBERS(10).