diff options
author | Bryan Ischo <bryan@ischo.com> | 2008-08-08 10:39:05 +0000 |
---|---|---|
committer | Bryan Ischo <bryan@ischo.com> | 2008-08-08 10:39:05 +0000 |
commit | 65bf04902ec7a6e47e9564c63518c2d29875b35f (patch) | |
tree | bf0bb373e4123b837df9d05c1d42b99731bcb791 /INSTALL | |
parent | cec9b06bc4fee869da98ed284a9fa1b6e3352a4f (diff) | |
download | ceph-libs3-65bf04902ec7a6e47e9564c63518c2d29875b35f.tar.gz |
* Fixed a bunch of Windows build stuff
* Added a Windows "install" target
* Changed trunk version number to "trunk.trunk"
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 58 |
1 files changed, 52 insertions, 6 deletions
@@ -2,6 +2,11 @@ To install libs3 on a POSIX system (except Microsoft Windows): -------------------------------------------------------------- +Note that all POSIX builds have prerequisites, such as development libraries +that libs3 requires and that must be installed at the time that libs3 is +built. The easiest way to find out what those are, is to run the build +command and then observe the results. + *** For RPM-based systems (Fedora Core, Mandrake, etc) *** * rpmbuild -ta <libs3 archive> @@ -20,15 +25,56 @@ This will produce a Debian package in the build/pkg directory. *** For all other systems *** -* make install - -Note that additionally, the installation directory can be specified (it -defaults to /usr): +* make [DESTDIR=destination root] install -* DESTDIR=/usr/local make install +DESTDIR defaults to /usr To install libs3 on a Microsoft Windows system: ----------------------------------------------- -(TBD) +*** Using MingW *** + +* libs3 can be built on Windows using the MingW compiler. No other tool + is needed. However, the following libraries are needed to build libs3: + + - curl development libraries + - libxml2 development libraries + - openssl development libraries + + These projects are independent of libs3, and their release schedule and + means of distribution would make it very difficult to provide links to + the files to download and keep them up-to-date in this file, so no attempt + is made here. + + curl and libxml2 libraries and their associated files can be placed in: + c:\libs3-libs\bin + c:\libs3-libs\include + + The openssl libraries and associated files can be placed in: + c:\openssl + c:\openssl\include + + If the above locations are used, then the GNUmakefile.mingw will work with + no special caveats. If the above locations are not used, then the following + environment variables should be set: + CURL_LIBS should be set to the MingW compiler flags needed to locate and + link in the curl libraries + CURL_CFLAGS should be set to the MingW compiler flags needed to locate and + include the curl headers + LIBXML2_LIBS should be set to the MingW compiler flags needed to locate and + link in the libxml2 libraries + LIBXML2_CFLAGS should be set to the MingW compiler flags needed to locate and + include the libxml2 headers + OPENSSL_LIBS should be set to the MingW compiler flags needed to locate and + link in the openssl libraries + OPENSSL_CFLAGS should be set to the MingW compiler flags needed to locate and + include the openssl headers + +* mingw32-make [DESTDIR=destination] -f GNUmakefile.mingw install + +DESTDIR defaults to libs3-<version> + +* DESTDIR can be zipped up into a .zip file for distribution. For best + results, the dependent libraries (curl, openssl, etc) should be included, + along with their licenses. |