Skip to content

Commit

Permalink
Create INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wolkykim committed Mar 22, 2014
1 parent 51d580a commit 192943d
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Installing qDecoder

## Get qDecoder Package

The latest version of qDecoder can be found at https://github.com/wolkykim/qdecoder

## Configure

Configure compile option by executing included "configure" script.

```
$ ./configure
```

qDecoder can be FastCGI enabled at the compile time, use --enable-fastcgi option and put the directory path where the "fcgi_stdio.h" is located.

```
$ ./configure --enable-fastcgi=/usr/local/include
```

By default qDecoder will be install on /usr/local/{include,lib}, so use --prefix option if you want to change the installation path.

```
$ ./configure --prefix=/usr/local/qdecoder
```

To see detailed configure options, use --help option.

```
$ ./configure --help
```

## Compile

Type make to compile the source codes.

```
$ make
```

## Install

This command will install qDecoder on your system. By default, the directory prefix is "/usr/local" so it will be install on /usr/local/include and /usr/local/lib.

```
$ make install
```

This will only install header files and library(archive; static and dynamic) files.
The Examples and Documentations will not be installed, so make a copy of it by yourself if you want to keep it.

## Uninstall

qDecoder can be completely removed from the system.

```
$ make uninstall
```

## Test

Sample sources and API document are provided with the package in the "examples" and "doc" directories.

The examples also can be compiled by typing "make" command in the "examples" directory.
And "index.html" file is provided for your tests.

Analyzing the example codes is probably best starting point.
But be aware that the examples were written as simple as it can be just to give you straight-forward ideas, so please refer included API document for more details.

0 comments on commit 192943d

Please sign in to comment.