Prosody installation guide: build environment

After having checked the list of prerequisites you need to set up the build environment before you can build anything.

Setting up the build environment differs slightly depending on the operating stystem.

For Linux only: Set the environment variable TiNGTARGET to the value LINUX. For example, use the shell commands:

	TiNGTARGET=LINUX_V6
	export TiNGTARGET

For QNX only: Set the environment variable TiNGTARGET to the value QNX_PPC or QNX_X86 depending on the target system type. For example, use the shell commands:

	export TiNGTARGET=QNX_PPC

For Windows NT only: Set the environment variable TiNGTARGET to the value WINNT. For example, at a DOS prompt, use:

	set "TiNGTARGET=WINNT_V6"
Note that TiNGTARGET contains a lowercase i, so the quotes are necessary to prevent it being converted into a capital letter. It does not appear to be possible to set the environment variable from the control panel, because it changes the name into all capitals.

You're now ready to do the first-time build.