94 | | $ cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co libtiff |
| 94 | $ cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co libtiff[[BR]] |
| 95 | $ cd libtiff[[BR]] |
| 96 | // Make a configure script[[BR]] |
| 97 | $ xemacs mylibtiffconfig.sh [[BR]] |
| 98 | // Contents of script:[[BR]] |
| 99 | |
| 100 | {{{ |
| 101 | #!/bin/sh |
| 102 | |
| 103 | # File: mylibtiffconfig.sh |
| 104 | prefix=/work/osgeo/local |
| 105 | |
| 106 | ./configure --prefix=${prefix} |
| 107 | |
| 108 | }}} |
| 109 | |
| 110 | // Make the script executable:[[BR]] |
| 111 | $ chmod 755 mylibtiffconfig.sh |
| 112 | |
| 113 | // Run the cmake command to set up the build system:[[BR]] |
| 114 | $ ./mylibtiffconfig.sh |
| 115 | |
| 116 | // Make - note the "-j 4" is to use 4 threads. I have a quad core cpu.[[BR]] |
| 117 | $ make -j 4 |
| 118 | |
| 119 | // Install to sandbox:[[BR]] |
| 120 | $ make install // Note if your sandbox was on a system slice, i.e. /usr/local you would do: "sudo make install" |
| 121 | |
| 122 | // End of libtiff |