¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Building XEphem with RH Linux 6.2 and LessTif 0.91.0


Paolo Amoroso
 

XEphem fails to build from source with the supplied Imakefile on my Red Hat
Linux 6.2 box with LessTif 0.91.0-1 (binary RPM distribution). But the
changes required to build it are really straightforward:

1) compile `libastro' and `libip' as explained in the INSTALL file
2) move to the GUI/xephem directory in the source tree
3) copy the sample makefile `Makefile.smple' to a fresh `Makefile'
4) edit the `Makefile' created in #3 and add the following section (you may
need to change a few paths):

# Red Hat Linux 6.2 with LessTif 0.91.0-1
CC = gcc
CLDFLAGS = -ffast-math
CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I/usr/X11R6/include \
-I/usr/X11R6/LessTif/Motif1.2/include
LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L/usr/X11R6/lib \
-L/usr/X11R6/LessTif/Motif1.2/lib
XLIBS = -lXm -lXt -lXext -lX11
LIBS = $(XLIBS) $(LIBLIB) -lm

5) run `make'

XEphem works fine, and provides acceptable performance, even on my old
Pentium 200 system with 64MB of RAM. My window manager is fvwm 1.24r.

With versions 3.5.1 and earlier I got a few warnings from LessTif, usually
less than half a dozen per session. With XEphem 3.5.2 I haven't noticed any
warnings.

Thanks again to Elwood for the great software.


Paolo
--
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation

[]

Join [email protected] to automatically receive all group messages.