2007-06-17 11:19:18 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2004-08-01 16:00:18 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2007-06-17 11:19:18 +00:00
|
|
|
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
|
|
|
|
<meta name="keywords" content="Virtual Screen, Open Source, Software" />
|
|
|
|
<meta name="description" content="Mouse and Keyboard Sharing" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="synergy.css" media="screen" />
|
|
|
|
<title>Building and Installing Synergy</title>
|
2004-08-01 16:00:18 +00:00
|
|
|
</head>
|
|
|
|
<body class="main">
|
|
|
|
<p>
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><h3>Prerequisites for building</h3><p>
|
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
To build synergy from the sources you'll need the following:
|
|
|
|
<ul>
|
|
|
|
<li>Windows
|
2007-06-17 11:19:18 +00:00
|
|
|
<ul>
|
2007-09-06 05:01:11 +00:00
|
|
|
<li>Microsoft Windows SDK for Vista; or
|
|
|
|
<li>VC++ 6.0 or up should work
|
2007-06-17 11:19:18 +00:00
|
|
|
</ul>
|
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
<li>Unix
|
2007-06-17 11:19:18 +00:00
|
|
|
<ul>
|
|
|
|
<li>gcc 2.95 or up
|
|
|
|
<li>X11R4 or up headers and libraries
|
|
|
|
</ul>
|
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
<li>Mac OS X
|
2007-06-17 11:19:18 +00:00
|
|
|
<ul>
|
2007-09-06 05:01:11 +00:00
|
|
|
<li>gcc 2.95 or up
|
2007-06-17 11:19:18 +00:00
|
|
|
<li>Carbon development headers and libraries
|
|
|
|
</ul>
|
2004-08-01 16:00:18 +00:00
|
|
|
</ul>
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
|
|
|
</p><h3>Configuring the build</h3><p>
|
|
|
|
</p><p>
|
2007-09-06 05:01:11 +00:00
|
|
|
This step is not necessary on Windows.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
To configure the build for your platform use the configure script:
|
|
|
|
<pre>
|
|
|
|
./configure
|
|
|
|
</pre>
|
|
|
|
For a list of options to configure use:
|
|
|
|
<pre>
|
|
|
|
./configure --help
|
|
|
|
</pre>
|
|
|
|
On Solaris you may need to use:
|
|
|
|
<pre>
|
|
|
|
<nobr>./configure --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib</nobr>
|
|
|
|
</pre>
|
|
|
|
so synergy can find the X11 includes and libraries.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
|
|
|
</p><h3>Building</h3><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
<ul>
|
|
|
|
<li>Windows
|
2007-09-06 05:01:11 +00:00
|
|
|
<p>
|
|
|
|
Open a command prompt window (cmd.exe or command.exe). If necessary
|
|
|
|
run vcvars.bat, created when VC++ or Visual Studio was installed. (Use
|
|
|
|
search to find it.) It's necessary to run the file if you didn't have
|
|
|
|
the installer set up environment variables for you. Then enter:
|
|
|
|
<pre>
|
2007-09-06 05:07:29 +00:00
|
|
|
nmake /nologo /f Makefile.win
|
2007-09-06 05:01:11 +00:00
|
|
|
</pre>
|
|
|
|
This will build the programs into <span class="code">build\Release</span>.
|
|
|
|
</p>
|
|
|
|
<li>Unix or Mac OS X
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
Simply enter:
|
|
|
|
<pre>
|
|
|
|
make
|
|
|
|
</pre>
|
|
|
|
This will build the client and server and leave them in their
|
|
|
|
respective source directories.
|
2007-09-06 05:01:11 +00:00
|
|
|
</p>
|
2004-08-01 16:00:18 +00:00
|
|
|
</ul>
|
2007-09-06 05:01:11 +00:00
|
|
|
<p>
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><h3>Installing</h3><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
<ul>
|
|
|
|
<li>Windows
|
2007-09-06 05:01:11 +00:00
|
|
|
<p>
|
|
|
|
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>,
|
|
|
|
the Nullsoft Scriptable Install System. As in the building on Windows
|
|
|
|
description above, enter:
|
|
|
|
<pre>
|
2007-09-06 05:07:29 +00:00
|
|
|
nmake /nologo /f Makefile.win installer
|
2007-09-06 05:01:11 +00:00
|
|
|
</pre>
|
|
|
|
to build <span class="code">build\Release\SynergyInstaller.exe</span>. Run
|
|
|
|
this to install synergy.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
Alternatively, you can simply copy the following files from the
|
2007-09-06 05:01:11 +00:00
|
|
|
<span class="code">build\Release</span>
|
2004-08-01 16:00:18 +00:00
|
|
|
directory to a directory you choose (perhaps under the
|
|
|
|
<span class="code">Program Files</span> directory):
|
|
|
|
<ul class="code">
|
|
|
|
<li>synergy.exe
|
|
|
|
<li>synergyc.exe
|
|
|
|
<li>synergys.exe
|
|
|
|
<li>synrgyhk.dll
|
|
|
|
</ul>
|
2007-09-06 05:01:11 +00:00
|
|
|
</p>
|
|
|
|
<li>Unix or Mac OS X
|
|
|
|
<p>
|
2004-08-01 16:00:18 +00:00
|
|
|
<pre>
|
|
|
|
make install
|
|
|
|
</pre>
|
|
|
|
will install the client and server into
|
|
|
|
<span class="code">/usr/local/bin</span> unless you
|
|
|
|
specified a different directory when you ran configure.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p>
|
2004-08-01 16:00:18 +00:00
|
|
|
</body>
|
2007-06-17 11:19:18 +00:00
|
|
|
|
2004-08-01 16:00:18 +00:00
|
|
|
</html>
|