Line 1: |
| Make a folder to install into
| | Make a folder to install into
|
|
| |
|
- | [<html>]<code>export PREFIX=/opt/mjpegtools/
| + | [<html>]<code>export PREFIX=/opt/mjpegtools/<br />
|
Line 6: |
| Get libjpeg from http://www.ijg.org/ and build
| | Get libjpeg from http://www.ijg.org/ and build
|
|
| |
|
- | [<html>]<code>export PREFIX=/opt/mjpegtools/
| + | [<html>]<code>export PREFIX=/opt/mjpegtools/<br />
|
- | cd $PREFIX
| + | cd $PREFIX<br />
|
- | wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz
| + | wget http://www.ijg.org/files/jpegsrc.v8d.tar.gz<br />
|
- | tar -zxf jpegsrc.v8d.tar.gz
| + | tar -zxf jpegsrc.v8d.tar.gz<br />
|
- | cd jpeg-8d/
| + | cd jpeg-8d/<br />
|
- | ./configure --prefix=/opt/mjpegtools
| + | ./configure --prefix=/opt/mjpegtools<br />
|
- | make -j2
| + | make -j2<br />
|
Line 17: |
| Get mjpegtools from http://sourceforge.net/projects/mjpeg/ and build
| | Get mjpegtools from http://sourceforge.net/projects/mjpeg/ and build
|
|
| |
|
- | [<html>]<code>export PREFIX=/opt/mjpegtools/
| + | [<html>]<code>export PREFIX=/opt/mjpegtools/<br />
|
- | cd $PREFIX
| + | cd $PREFIX<br />
|
- | wget http://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.0.1rc1/mjpegtools-2.0.1RC1.tar.gz
| + | wget http://downloads.sourceforge.net/project/mjpeg/mjpegtools/2.0.1rc1/mjpegtools-2.0.1RC1.tar.gz<br />
|
- | CPPFLAGS="-I$PREFIX/include" \
| + | tar -zxf mjpegtools-2.0.1RC1.tar.gz<br />
|
- | LDFLAGS="-L$PREFIX/lib" \
| + | cd mjpegtools-2.0.1RC1/<br />
|
- | ./configure \
| + | CPPFLAGS="-I$PREFIX/include" \<br />
|
- | --prefix=$PREFIX
| + | LDFLAGS="-L$PREFIX/lib" \<br />
|
- | make -j2
| + | ./configure \<br />
|
| | + | --prefix=$PREFIX<br />
|
| | + | make -j2<br />
|
Line 27: |
| sudo make install</code>[</html>]
| | sudo make install</code>[</html>]
|
- |
| | |