Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/xmtel/xmtel-7.1/INSTALL
Дата изменения: Thu Jun 18 19:34:27 2015
Дата индексирования: Sun Apr 10 02:12:59 2016
Кодировка:

Summary
-------

1. Does your system have Motif? If not, install the development package
for your version of Linux.

2. Download and uncompress the XmTel source.

3. Compile the lilxml library in liblilxml. The library in this
directory is used by some other programs.
It is not needed by xmtel1, however.

4. Compile xpatel, xmtel1, and xmtel.
Copy the binaries to /usr/local/bin. If you do not use /dev/ttyS0 for
serial connections, modify "TELSERIAL" in the protocol.h file of
your choice to point to the port you will use.

Alternatively, to use the control panel without XPA,
compile only xmtel1 (not xmtel) and copy it to /usr/local/bin. If you
have different mounts or options, then name the executables uniquely.

5. Create /usr/local/observatory with subdirectories last, prefs, and status.
Copy prefs.tel to prefs/ and edit prefs.tel to meet your needs.
Files in the observatory directory should be writable by any
user who will be operating the telescope. During operation, the software
will attempt to save its current status information in status/.

6. Check the serial port device permissions and fix if necessary:

ls -l /dev/ttyS0
crw-rw-rw- 1 root uucp 4, 64 2008-09-12 19:04 /dev/ttyS0

In some distributions you may need to set the permission as a boot.local
option so that when the system is rebooted the port is world rw.

7. Download and install XEphem if you do not have it already. It is highly
recommended that you purchase the complete catalogs for XEphem, but you
may run quite well with the catalogs that are provided in the
free version.

8. Check that the XEphem app-defaults file points to the place where the
fifo and catalog files are located.

9. Create (e.g "make") the fifos in the xephem/fifos/ directory referred to
by the app-defaults file. Fifo's are used by xmtel1 but not by xmtel.

10. Turn on your telescope.

11. Start the server with the command

xpatel

If you are also using a camera, the command would be

xpatel
xpaccd

and other similar daemons, one for each device, to run everything.

12. Start the user interface with the command

xmtel

Alternatively, you may run the telescope, camera and dome from the command
line using xpaget and xpaset once the xpa servers are running.

For XEphem's Sky View to show the telescope's pointing and for xmtel to
accept goto's from XEphem you need the fifo's in /usr/local/xephem/fifos.

13. The programs xmtel1 (not xmtel) and xmccd1 (not xmccd) do not use the xpa
server. They connect directly to the telescope and camera hardware.

These versions may be useful when you are running at the console and want
to operate the observatory without the features that the server-client
model offer.



Send your comments
------------------

Please let me know how this is working for you and what features you would
like to see added.


John Kielkopf (kielkopf@louisville.edu)
June 20, 2014