Commits

camlspotter committed ea59297

removed old Make document

  • Participants
  • Parent commits 3a88642

Comments (0)

Files changed (1)

 
  To install CamlImages library, you need the following softwares:
 
-        * ocaml 3.11.x or higher
-	* findlib (aka ocamlfind, 
+        * OCaml 4.00.1 or higher 
+          (OCaml 3.11 and above might work with small trivial fixes, 
+           but never tested)
+	* Findlib (aka ocamlfind, 
 	  	   http://www.camlcity.org/archive/programming/findlib.html)
-        * omake (http://omake.metaprl.org/index.html)
+        * OMake (http://omake.metaprl.org/index.html)
 
 Note that this is the minimum requirement: you can read/write BMP or
 PXM (PPM, PGM, PBM) image formats but no other formats. If you want to
                 The Independent JPEG Group's software
                 ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
 
+        * libexif for EXIF tags in JPEG files
+
         * libtiff for TIFF format
                 http://www.libtiff.org/
                 ftp://ftp.remotesensing.org/pub/libtiff/
                 http://sourceforge.net/projects/freetype/
 
         * libungif for GIF format
-                Because of the GIF patent problem of Unisys, we do not
-                recommend to use GIF file format. If you really want to
-                use GIF, do it in your own risk.
-
-                Libungif, a library for using GIFs without compression.
+                Libungif, a library for using GIFs
                   http://sourceforge.net/projects/libungif/
 
         * ghostscript for PS format
 *** Installation procedure by omake
 
  % yes no | omake --install 
- % omake
+ % omake --configure <configuration options>
  % omake install
 
-*** OLD installation procedure by automake (not supported any more)
+At omake --configure, you can specify CFLAGS and LDFLAGS 
+to add extra header and library search paths respectively. For example,
 
- * GNU make
- * automake (1.7.9 does not work. 1.9.6 works)
+    % omake --configure CFLAGS="-I /usr/include/libexif" LDFLAGS="-L/opt/blah"
 
- Generating build scripts
- ------------------------
-  This is only needed if you're using CVS version directly.
-
-  * make sure ocaml autoconf macros, available from bazar-ocaml/autoconf
-   directory, are present in aclocal macro search path, by any of the following 
-   solution:
-   - export ACLOCAL='aclocal -I <directory>' before invoking autoreconf
-   - set up a dirlist file in automake macro directory, as explained in aclocal
-     documentation
-  * run autoreconf --install
-
- Configuration
- -------------
-
-  Just run the standard configure script:
-        % ./configure
-
-  If the script can't find some installed external libraries, this is probably
-  because they are installed in locations not included in linker or
-  preprocessor configuration. You'll have to passe proper flags while running
-  configure script:
-        %./configure CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib 
-        %./configure CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
-
-  If problems persist, check config.log for failure details.
-  
-  The script allow some user configuration. Check help output for details:
-        % ./configure --help
-
- Compilation
- -----------
- type
-
-        % make
-
-and wait.
-
- Test
- ----
+Test
+----
   Before you actually install the library, you can check that it
 really works, by running examples in the test directory. For the test
 programs,
         % cd test
         % make
         % ./test
-        % ./test.byt
+        % ./test.run
 
-(./test.byt is the bytecode executable and ./test the binary
+(./test.run is the bytecode executable and ./test the binary
 executable).
-
- Installation
- ------------
-
-  If there is no compilation error and the test works fine,
-install the library,
-
-        % make install
-
-This installs all the required files into the $(LIBDIR) directory
-specified in Makefile.config (usually /usr/local/lib/ocaml/camlimages
-or /usr/lib/ocaml/camlimages).
-
-  If you want to create a toplevel with camlimages, type in
-
-        % make top
-
-that creates a toplevel named "customtop". Then,
-
-        % toplevel
-
-executes customtop with the appropriate options.
-
- Example applications
- --------------------
-
-  In the examples directory you can find several example applications
-using Camlimages.
-
-  Some of the programs use the lablgtk GUI (in particular liv and
-gifanim): you cannot compile them if the lablgtk library has not
-been installed.
-
-  To compile the examples execute:
-
-        % cd examples
-        % make