¿ªÔÆÌåÓý

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

Successful installation of XEphem from Git-hub package


 

I installed XEphem without much trouble just now on brand new hardware using Linux Mint O.S. ver. 20.1:

0) Unziped the file from and as instructed by the INSTALL file:
cd GUI/xephem

1) Downloaded and expanded the MOTIF libraries into my /usr/lib directory as a new directory /usr/lib/linux-x86-motif-dev

2) Following the recommendation on , inserted this line into Makefile above the "ifdef MOTIF" line:
MOTIF = /usr/lib/linux-x86-motif-dev
(because that's where I parked the file referred to in the step above)

3) Made Alexander Wessel's edits to Makefile, as he recommended in his 8 March 2021 e-mail:
XLIBS = -lXm -lXt -lXext -lXmu -lX11
CFLAGS := $(LIBINC) $(CFLAGS)
LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm

4) As instructed by the INSTALL file:
make MOTIF=../../libXm/linux86

5) Only one wrinkle: my /usr/bin/ld could not find -lXext and -lXmu so I just deleted those two items from the XLIBS specification and ran the "make" again. (Am I right to understand that these libraries pertain to printing?)

6) Continued with Steps 2, 3, ..., n in the INSTALL instructions.

Thanks for everybody's help,
Bernie

On 3/8/21 8:20 PM, rtolesnikov via groups.io wrote:
I've been building XEphem on Cygwin for years and I can confirm that it doesn't use libXp. My guess is that it's not the pre-processor taking care of it, it's that it's not even used anywhere. The print function is not affected as far as I can tell.
Roman Tolesnikov
On Monday, March 8, 2021, 09:25:31 PM PST, flexx via groups.io <flexx@...> wrote:
Gentoo removed the dependency via a rather simple patch:
--- a/GUI/xephem/Makefile
+++ b/GUI/xephem/Makefile
@@ -30,7 +30,7 @@
endif
# for linux and Apple OS X
-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
+XLIBS = -lXm -lXt -lXext -lXmu -lX11
CFLAGS := $(LIBINC) $(CFLAGS)
LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm
I haven't looked but since that does not break the build, I assume the preprocessor will deal with the rest. So you should be fine doing the same on ARM.
Cheers,
Alexander Wessel