Installing neon (webdav) on Ubuntu Linux
neon:According to webdav.org,
"neon is an HTTP and WebDAV client library, with a C interface. Featuring:
- High-level interface to HTTP and WebDAV methods (PUT, GET, HEAD etc)
- Low-level interface to HTTP request handling, to allow implementing new methods easily.
- persistent connections
- RFC2617 basic and digest authentication (including auth-int, md5-sess)
- Proxy support (including basic/digest authentication)
- SSL/TLS support using OpenSSL (including client certificate support)
- Generic WebDAV 207 XML response handling mechanism
- XML parsing using the expat or libxml parsers
- Easy generation of error messages from 207 error responses
- WebDAV resource manipulation: MOVE, COPY, DELETE, MKCOL.
- WebDAV metadata support: set and remove properties, query any set of properties (PROPPATCH/PROPFIND).
- autoconf macros supplied for easily embedding neon directly inside an application source tree.
neon is free software, distributed under the GNU Library GPL."
Before starting, please check to see if there is a latest version available to download. Visit http://www.webdav.org/neon/ to find out about the available versions. IMPORTANT: See "Configuring Ubuntu Linux After Installation" to install the development tools required to compile and install neon from source code. Also, see Installing Libxml2 on Ubuntu Linux and Installing OpenSSL on Ubuntu Linux before installing neon.
Steps to download, compile, and install are as follows. Note: Replace 0.25.4 with your version number:
Downloading neon:Run the command below,
Extracting files from the downloaded package:
tar xvzf neon-0.25.4.tar.gzNow, enter the directory where the package is extracted.
Configuring neon Library:
LIBS="-ldl" ./configure --prefix=/usr/local/neon --with-ssl=openssl --with-libxml2 --with-libs=/usr/local/openssl/:/usr/local/libxml2/ --without-zlibReplace "/usr/local/neon" with the directory path where you want to copy neon's files and folders, "/usr/local/openssl/" with the path to OpenSSL and "/usr/local/libxml2/" with the path to libxml2. Note: check for any error message.
Note: check for any error message.
As root (for privileges on destination directory), run the following.With sudo,
sudo make installWithout sudo,
Note: check for any error messages.
That’s it. Library has been successfully installed.
Please feel free to use the comments form below if you have any questions or need more explanation on anything. Use the icons below to share this tutorial with your friends.