¿ªÔÆÌåÓý

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

Difficulty with OSX builds post Xephem-3.7.7

 

I am by no means an expert in building xephem though I have had quite a bit of experience. I have compiled it on multiple flavors of Linux as well as Rapberry Pi (Raspian) and on the PC in Cygwin.? The latest 4.xx builds do stymie me with OSX. I have a poorly funded lab which I use for education purposes. In that lab I have a plethora of devices and veritable smorgasbord of old macs. The most recent machines are 1st generation Mac Pros running El-Capitan and quite a fe running Lion as well as a few really crusty devils running Tiger or Leopard. I usually work from the most "recent" and work backwards.? I will limit my questions to building on El-Capitan. The current build error I get is ld symbols not found for architecture x86_64. The system is a 64-bit 1st gen mac pro that lacks the uefi of the newer 2nd gen machines. The OS is 64 bit. The make version is Gnu Make 3.81 I am compiling with GCC and the version appears to be 4.2.1. I installed initially trying the old incantation of make MOTIF=../../libXm/osx. This method has worked with versions up to 3..7.7 and to check I untarred and recompiled a fresh copy of 3.7.7 on the box to test that something in my development environment hadn't changed. It worked flawlessly. Every version since breaks however even the pre ssl 4.x.x versions. I installed SSL via macports and commented out the generic section and uncommented the section specific to macports libraries in the makefile. Still no luck. I believe the ssl devel code I downloaded does work in previous iterations on other systems lacking the ssl libs the compile would break far sooner. The actual break occurs in the verbose fashion of:

d ../../libz; make
make[1]: `libz.a' is up to date.
gcc -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz -g -L../../libXm/osx -L/usr/X11R6/lib -o xephem aavso.o annotmenu.o broadcast.o calmenu.o closemenu.o compiler.o coordsmenu.o datamenu.o db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o favmenu.o formats.o fsmenu.o? ../../libXm/osx/libXm.a -lXp -lXt -lXext -lXmu -lX11 -lastro -lip -llilxml -ljpegd -lpng -lz -lm
Undefined symbols for architecture x86_64:
? "_GSCFetch", referenced from:
????? _fs_fetch in fsmenu.o
? "_GSCSetup", referenced from:
????? _fs_save in fsmenu.o
? "_PATCHLEVEL", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_UCACFetch", referenced from:
????? _fs_fetch in fsmenu.o
? "_UCACSetup", referenced from:
????? _fs_save in fsmenu.o
? "_USNOFetch", referenced from:
????? _fs_fetch in fsmenu.o
? "_USNOSetup", referenced from:
????? _fs_save in fsmenu.o
? "_XPSAsk", referenced from:
????? _av_print_cb in aavso.o
????? _e_print_cb in earthmenu.o
? "_XPSCleanStr", referenced from:
????? _e_print in earthmenu.o
? "_XPSClose", referenced from:
????? _av_print in aavso.o
????? _e_print in earthmenu.o
? "_XPSDirect", referenced from:
????? _e_print in earthmenu.o
????? _e_ps_ll in earthmenu.o
? "_XPSDrawLine", referenced from:
????? _ano_draw in annotmenu.o
? "_XPSDrawLines", referenced from:
????? _e_map in earthmenu.o
????? _add_to_polyline in earthmenu.o
? "_XPSDrawPoints", referenced from:
????? _e_drawsites in earthmenu.o
? "_XPSDrawSegments", referenced from:
????? _e_drawcross in earthmenu.o
? "_XPSDrawString", referenced from:
????? _ano_draw in annotmenu.o
????? _e_map in earthmenu.o
? "_XPSFillArc", referenced from:
????? _e_map in earthmenu.o
? "_XPSFillPolygon", referenced from:
????? _e_map in earthmenu.o
? "_XPSPixmap", referenced from:
????? _av_print in aavso.o
????? _e_map in earthmenu.o
? "_XPSXBegin", referenced from:
????? _av_print in aavso.o
????? _e_print in earthmenu.o
? "_XPSXEnd", referenced from:
????? _av_print in aavso.o
????? _e_print in earthmenu.o
? "_XPS_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_buttonAsButton", referenced from:
????? _dm_manage in datamenu.o
????? _dm_newfavs in datamenu.o
????? _dm_selection_mode in datamenu.o
????? _e_manage in earthmenu.o
????? _e_buildfavs in earthmenu.o
????? _e_set_buttons in earthmenu.o
? "_confirm", referenced from:
????? _ano_save_cb in annotmenu.o
????? _c_flistok_cb in closemenu.o
????? _dm_flistok_cb in datamenu.o
????? _db_delall_cb in dbmenu.o
????? _db_relall_cb in dbmenu.o
????? _fav_add_cb in favmenu.o
????? _fav_save_cb in favmenu.o
????? ...
? "_createFSM", referenced from:
????? _ano_manage in annotmenu.o
????? _db_create_shell in dbmenu.o
????? _fav_create in favmenu.o
? "_dateOK", referenced from:
????? _e_show_esat_stats in earthmenu.o
????? _e_map in earthmenu.o
????? _e_mktrail in earthmenu.o
? "_defaultTextFN", referenced from:
????? _ano_manage in annotmenu.o
????? _c_manage in closemenu.o
????? _dm_flist_cb in datamenu.o
????? _fav_create in favmenu.o
????? _fs_create in fsmenu.o
? "_existd", referenced from:
????? _c_flistok_cb in closemenu.o
????? _dm_flistok_cb in datamenu.o
? "_fixTextCursor", referenced from:
????? _fs_create in fsmenu.o
? "_fopend", referenced from:
????? _ano_load in annotmenu.o
????? _ano_save_cb in annotmenu.o
????? _make_flist in closemenu.o
????? _make_flist in datamenu.o
????? _cathdr_cb in dbmenu.o
????? _fav_save_cb in favmenu.o
????? _loadFavs in favmenu.o
????? ...
? "_fopenh", referenced from:
????? _db_read in db.o
? "_freeXColors", referenced from:
????? _e_setupwxpm in earthmenu.o
? "_gal_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_getPrivateDir", referenced from:
????? _db_read in db.o
????? _db_connect_fifo in db.o
? "_getShareDir", referenced from:
????? _openDB in aavso.o
????? _db_init in db.o
????? _db_read in db.o
????? _db_connect_fifo in db.o
????? _loaddei in earthmenu.o
????? _loadnei in earthmenu.o
????? _fs_create in fsmenu.o
????? ...
? "_getXRes", referenced from:
????? _db_loadinitial in db.o
? "_getXResFont", referenced from:
????? _ano_mkgcs in annotmenu.o
? "_get_color_resource", referenced from:
????? _ano_mkgcs in annotmenu.o
????? _calm_set in calmenu.o
????? _e_init_gcs in earthmenu.o
? "_get_something", referenced from:
????? _fetchAndShow in aavso.o
????? _findDAW in annotmenu.o
????? _field_log in broadcast.o
????? _calm_create in calmenu.o
????? _date_changed_cb in calmenu.o
????? _calm_newres in calmenu.o
????? _sky_point in closemenu.o
????? ...
? "_get_tracking_font", referenced from:
????? _e_init_gcs in earthmenu.o
? "_get_xmstring", referenced from:
????? _ano_load_cb in annotmenu.o
????? _do_search in closemenu.o
????? _flistok_append_cb in closemenu.o
????? _make_flist in closemenu.o
????? _c_flistok_cb in closemenu.o
????? _flistok_overwrite_cb in closemenu.o
????? _dm_colFormat in datamenu.o
????? ...
? "_gif2X", referenced from:
????? _loaddei in earthmenu.o
????? _loadnei in earthmenu.o
????? _e_setupwxpm in earthmenu.o
? "_gif2pm", referenced from:
????? _fetchAndShow in aavso.o
? "_gsc23fetch", referenced from:
????? _fs_save in fsmenu.o
????? _fs_fetch in fsmenu.o
? "_hlp_dialog", referenced from:
????? _av_help_cb in aavso.o
????? _ano_help_cb in annotmenu.o
????? _c_help_cb in closemenu.o
????? _c_helpon_cb in closemenu.o
????? _cc_help_cb in coordsmenu.o
????? _dm_help_cb in datamenu.o
????? _ds_ctl_cb in datamenu.o
????? ...
? "_httpGET", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_hzn_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_isUp", referenced from:
????? _c_update in closemenu.o
????? _cc_update in coordsmenu.o
????? _dm_update in datamenu.o
????? _db_newdb in dbmenu.o
????? _e_update in earthmenu.o
????? _e_ison in earthmenu.o
????? _e_print in earthmenu.o
????? ...
? "_jm_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_jm_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_jm_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_jm_update", referenced from:
????? _all_update in broadcast.o
? "_listing_ison", referenced from:
????? _field_log in broadcast.o
????? _any_ison in broadcast.o
? "_lst_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_lst_log", referenced from:
????? _field_log in broadcast.o
? "_lst_selection", referenced from:
????? _register_selection in broadcast.o
? "_m_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_m_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_m_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_m_update", referenced from:
????? _all_update in broadcast.o
? "_main", referenced from:
???? implicit entry/start for main executable
???? (maybe you meant: _jinit_d_main_controller)
? "_main_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_mars_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_mars_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_mars_update", referenced from:
????? _all_update in broadcast.o
? "_marsm_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_marsm_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_marsm_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_marsm_update", referenced from:
????? _all_update in broadcast.o
? "_ml_add", referenced from:
????? _e_mloop_cb in earthmenu.o
? "_ml_addacc", referenced from:
????? _e_manage in earthmenu.o
? "_ml_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_mm_get_now", referenced from:
????? _av_load in aavso.o
????? _ano_load in annotmenu.o
????? _ano_newres in annotmenu.o
????? _ano_hideall_cb in annotmenu.o
????? _ano_togglehides_cb in annotmenu.o
????? _ano_del_cb in annotmenu.o
????? _ano_hide_cb in annotmenu.o
????? ...
? "_mm_getsite", referenced from:
????? _dm_list_get in datamenu.o
????? _e_print in earthmenu.o
? "_mm_movie", referenced from:
????? _e_anim_cb in earthmenu.o
????? _e_popdown_cb in earthmenu.o
? "_mm_newcaldate", referenced from:
????? _date_changed_cb in calmenu.o
????? _today_cb in calmenu.o
? "_mm_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_mm_setll", referenced from:
????? _e_setmain_cb in earthmenu.o
? "_mm_setsite", referenced from:
????? _e_setmain_cb in earthmenu.o
? "_msg_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_ng_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_ng_newfavs", referenced from:
????? _all_newfavs in broadcast.o
? "_ng_update", referenced from:
????? _all_update in broadcast.o
????? _ds_ctl_cb in datamenu.o
? "_obj_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_obj_manage", referenced from:
????? _db_index_cb in dbmenu.o
? "_obj_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_ol_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_openh", referenced from:
????? _db_connect_fifo in db.o
????? _loaddei in earthmenu.o
????? _loadnei in earthmenu.o
????? _e_setupwxpm in earthmenu.o
? "_plot_ison", referenced from:
????? _field_log in broadcast.o
????? _any_ison in broadcast.o
? "_plt_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_plt_log", referenced from:
????? _field_log in broadcast.o
? "_plt_selection", referenced from:
????? _register_selection in broadcast.o
? "_pm_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_pm_down", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_pm_set", referenced from:
????? _fetchAndShow in aavso.o
????? _do_search in closemenu.o
????? _db_read in db.o
????? _e_setupwxpm in earthmenu.o
? "_pm_up", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_prompt_map_cb", referenced from:
????? _c_manage in closemenu.o
????? _dm_flist_cb in datamenu.o
? "_query", referenced from:
????? _c_flistok_cb in closemenu.o
????? _dm_flistok_cb in datamenu.o
????? _db_delall_cb in dbmenu.o
????? _db_relall_cb in dbmenu.o
????? _fav_add_cb in favmenu.o
????? _fav_del_cb in favmenu.o
? "_readbytes", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_recvline", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_sc_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_se_add", referenced from:
????? _cc_eyep_cb in coordsmenu.o
? "_se_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_setXRes", referenced from:
????? _dm_manage in datamenu.o
????? _dm_popdown_cb in datamenu.o
????? _db_read in db.o
????? _db_catdel in db.o
????? _e_manage in earthmenu.o
????? _e_popdown_cb in earthmenu.o
? "_set_something", referenced from:
????? _av_manage in aavso.o
????? _ano_manage in annotmenu.o
????? _calm_create in calmenu.o
????? _calm_set in calmenu.o
????? _c_manage in closemenu.o
????? _cc_manage in coordsmenu.o
????? _dm_manage in datamenu.o
????? ...
? "_set_xmstring", referenced from:
????? _av_manage in aavso.o
????? _mkPrompt in aavso.o
????? _ano_manage in annotmenu.o
????? _ano_load in annotmenu.o
????? _interact in annotmenu.o
????? _calm_set in calmenu.o
????? _c_manage in closemenu.o
????? ...
? "_setup_icon", referenced from:
????? _av_manage in aavso.o
????? _ano_manage in annotmenu.o
????? _c_manage in closemenu.o
????? _cc_manage in coordsmenu.o
????? _dm_create_shell in datamenu.o
????? _db_create_shell in dbmenu.o
????? _e_manage in earthmenu.o
????? ...
? "_sf_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_si_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sites_get_list", referenced from:
????? _e_manage in earthmenu.o
????? _e_tb_cb in earthmenu.o
????? _e_motion_eh in earthmenu.o
????? _e_drawsites in earthmenu.o
? "_sl_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sm_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sm_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_sm_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_sm_update", referenced from:
????? _all_update in broadcast.o
? "_splashMsg", referenced from:
????? _db_loadinitial in db.o
? "_sr_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sr_reg", referenced from:
????? _av_manage in aavso.o
????? _mkPrompt in aavso.o
????? _ano_manage in annotmenu.o
????? _c_manage in closemenu.o
????? _cc_manage in coordsmenu.o
????? _dm_create_shell in datamenu.o
????? _db_init in db.o
????? ...
? "_srch_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_srch_ison", referenced from:
????? _field_log in broadcast.o
????? _any_ison in broadcast.o
? "_srch_log", referenced from:
????? _field_log in broadcast.o
? "_srch_selection", referenced from:
????? _register_selection in broadcast.o
? "_srch_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_ss_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_ss_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_ss_update", referenced from:
????? _all_update in broadcast.o
? "_stopd_down", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_stopd_up", referenced from:
????? _fetchAndShow in aavso.o
????? _e_setupwxpm in earthmenu.o
? "_strnncmp", referenced from:
????? _dupchknm in db.o
????? _dup_qsort in db.o
? "_sun_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sun_update", referenced from:
????? _all_update in broadcast.o
? "_sv_all", referenced from:
????? _cc_eyep_cb in coordsmenu.o
? "_sv_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_sv_getcenter", referenced from:
????? _cc_getsky_cb in coordsmenu.o
? "_sv_loadfs", referenced from:
????? _ok_cb in fsmenu.o
????? _apply_cb in fsmenu.o
? "_sv_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_sv_point", referenced from:
????? _sky_point in closemenu.o
????? _cc_point_cb in coordsmenu.o
? "_sv_update", referenced from:
????? _all_update in broadcast.o
? "_svf_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_svh_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_svshell_w", referenced from:
????? _cc_eyep_cb in coordsmenu.o
? "_syserrstr", referenced from:
????? _openDB in aavso.o
????? _fetchAndShow in aavso.o
????? _db_read in db.o
????? _db_connect_fifo in db.o
????? _dbfifo_cb in db.o
????? _loaddei in earthmenu.o
????? _loadnei in earthmenu.o
????? ...
? "_time_fromsys", referenced from:
????? _today_cb in calmenu.o
? "_toRGB", referenced from:
????? _e_buildfavs in earthmenu.o
? "_toplevel_w", referenced from:
????? _av_manage in aavso.o
????? _fetchAndShow in aavso.o
????? _av_print in aavso.o
????? _ano_manage in annotmenu.o
????? _ano_mkgcs in annotmenu.o
????? _interact in annotmenu.o
????? _watch_cursor in broadcast.o
????? ...
? "_tr_draw", referenced from:
????? _e_drawtrail in earthmenu.o
? "_tr_getres", referenced from:
????? _e_manage in earthmenu.o
? "_tr_setres", referenced from:
????? _e_mktrail in earthmenu.o
? "_tr_setup", referenced from:
????? _e_trail_cb in earthmenu.o
? "_um_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_um_newdb", referenced from:
????? _all_newdb in broadcast.o
? "_um_selection_mode", referenced from:
????? _all_selection_mode in broadcast.o
? "_um_update", referenced from:
????? _all_update in broadcast.o
? "_v_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_wdb_cursor", referenced from:
????? _watch_cursor in broadcast.o
? "_wdb_manage", referenced from:
????? _e_webupdate_cb in earthmenu.o
? "_wtip", referenced from:
????? _av_manage in aavso.o
????? _ano_manage in annotmenu.o
????? _ano_newEntry in annotmenu.o
????? _calm_create in calmenu.o
????? _c_manage in closemenu.o
????? _cc_manage in coordsmenu.o
????? _dm_create_shell in datamenu.o
????? ...
? "_xe2chkfile", referenced from:
????? _fs_save in fsmenu.o
? "_xe2fetch", referenced from:
????? _fs_fetch in fsmenu.o
? "_xe3chkdir", referenced from:
????? _fs_save in fsmenu.o
? "_xe3fetch", referenced from:
????? _fs_fetch in fsmenu.o
? "_xe_app", referenced from:
????? _db_connect_fifo in db.o
? "_xe_cm", referenced from:
????? _av_manage in aavso.o
????? _fetchAndShow in aavso.o
????? _av_print in aavso.o
????? _ano_manage in annotmenu.o
????? _c_manage in closemenu.o
????? _cc_manage in coordsmenu.o
????? _dm_create_shell in datamenu.o
????? ...
? "_xe_msg", referenced from:
????? _openDB in aavso.o
????? _av_print_cb in aavso.o
????? _av_name_cb in aavso.o
????? _fetchAndShow in aavso.o
????? _ano_load in annotmenu.o
????? _ano_save_cb in annotmenu.o
????? _interact in annotmenu.o
????? ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [xephem] Error 1


Any help would be much appreciated and perhaps a walkthrough of an install would be helpful for other befuddled mac users at least on the github.

Thanks again
-Karl


strange characters when running xephem?

 

Appologies if this has already been covered, but I installed 3.7.7 on my Linux box (Manjaro XFCE 64-bit on a MacBook Pro) and I get these strange looking characters (see image below). I tried building 4.1.0 and I get the same issue. I don't recall having this problem in the past. I see an error on the output console indicating:

Warning: Cannot convert string "*-lucidatypewriter*medium*-12-*-iso8859-1" to type FontStruct

But upon looking through the groups.io archive, I see lots of people have reported that, and it can be ignored. So I'm not sure what I'm doing wrong here?

Any advice? Thank you so much! :)

Rick


Re: Instructions for XEphem 3.7.7 uninstall and 4.1.0 install?

 

On Wed, Dec 22, 2021 at 3:01 AM Elwood Downey <elwood.downey@...> wrote:
Put that one line in a file named /etc/XEphem.
Be sure you have put all the supporting files in a directory named /usr/local/xephem.

I wonder if there's a way that a command could be offered for that step? The root user could do something like:

echo 'XEphem.ShareDir: /usr/local/xephem' > /etc/XEphem

Offering that command for step 3b.3 would remove all ambiguity, making it clear it was a plain file (not a directory), and making it clear what its?content should be and how the content could be established.

The problem is that you can't put "sudo" in front of the command, because the redirection ">" happens right in the user's shell, with normal user permissions not root permissions.

There are ways to get around that, but they're awkward, and might eliminate the advantage of offering a readable step that shows folks what's going on. (Like:?echo 'XEphem.ShareDir: /usr/local/xephem' | sudo dd of=/etc/XEphem)

Maybe the "echo" could be given as an example of how to create the file, with the caveat that it has to be run as root, not merely with sudo.

Hmm.

Maxime ¡ª a contributor has offered Ubuntu packages for XEphem:



They might make clear to you which files go where, if you remain dissatisfied with the results of manual installation?


Re: Instructions for XEphem 3.7.7 uninstall and 4.1.0 install?

 

Put that one line in a file named /etc/XEphem.

Be sure you have put all the supporting files in a directory named /usr/local/xephem.


Re: Instructions for XEphem 3.7.7 uninstall and 4.1.0 install?

 

¿ªÔÆÌåÓý

Dear friends of XEphem,

I have made some progress initially but now I lament a big regression... I have been able to install XEphem just for myself on a fresh Ubuntu 20.04 following the steps described on https://github.com/XEphem/XEphem/blob/main/INSTALL (slightly modified to get the source code via git rather than downloading the tgz archive). It did work for myself but unfortunately it doesn't anymore (see below)...

Since I want to use XEphem with students on their own accounts, I have tried to proceed with the steps 3 for multiple users permissions. I have skipped 3a as advised. For 3b.1 and 3b.2, I have run all commands (just adding a sudo for each line). For 3b.3, I don't really understand what I shall do. I have created the text file with a single line "XEphem.ShareDir: /usr/local/xephem", but where shall I save this file? Directly in /etc/ or in a sub-directory called XEphem?

The optimistic point is that the user that I have created for this purpose (without root permissions) can launch XEphem from the terminal just by typing "xephem &". Only launch, not use (nothing apart from the green circles in Solar system view, crashes with Sky view or Data table...). The bad point is that it's not working for myself anymore (same problems).

Thank you for your help!
Maxime



Re: macOS woes -- SOLVED

 

Found it: Remove the __APPLE__ hack in xephem.c::main(), it is now harmful rather than helpful.


macOS woes

 

Hi folks,

You're going to laugh at me but I can not get the code from github to run on macOS 11.6 and XQuartz 2.8.1. My old code base still builds and works fine. I've tried building against the stuff in ../../libXm/osx and the macports stuff in /opt/local/{include,lib} but the executable fails the same way in either case with this message:

_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL

and lldb backtrace end with this:

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x100)
? * frame #0: 0x00000001006d4a71 libX11.6.dylib`XDisplayKeycodes + 4

Thanks for any tips.

BTW: is there a way to preview these posts? I tried to use the <> code control but it's not clear it's doing anything, so apologies if the above snippets look bad.

?


Re: Indi telescope

 

Let's take this offline until we converge on a solution. I'll send you a note. Thanks.


Re: Indi telescope

 

Well, I've tried to change the code.
In scope.c::sc_goto() I've easily been able to change the equinox of the position send to Indi for the Goto.
Now whatever equinox is used in XEphem, I send EOD coordinates as required by the Indi telescope property. Great !

The other thing I had to do was to convert the received EOD coordinates? from the Indi telescope property used to display the
telescope position in Skyview. I've tried to modified the code in scope.c::marker_tcb() but failed to get it work correctly.
In Skyview, I always get the scope mark at a wrong position :
- if XEphem is using J2000, the scope mark is at EOD position of the target star
- if XEphem is using EOD, the scope mark is at J2000 position of the target star
and whatever modification I make, I can't never get scope mark in the same equinox of target star...
I'm certainly misunderstanding something....

Attached is a screenshot where XEphem is in J2000, the 68 center star is the target star and the scope mark is at EOD of target star...


Re: Indi telescope

 

Glad to know where I could change it.
Should be easy.


Re: Indi telescope

 

Glad to hear of your progress.

You are correct, XEphem always sends J2000 to INDI. This decision is implemented in scope.c::sc_goto() which could be easily changed to use whatever is set in the main panel.


Re: Indi telescope

 

Thank you for your help? Elwood !
I've been able to get the property names using indi_getprop command on my Indi server.
Now I can see the scope position in Skyview and can send Gotos even if I've an issue on the
equinox reference :
? XEphem seems to read/send J2000 coordinates while the Indi properties are in EOD and
this even if I configure EOD in the main XEphem window...


Re: Indi telescope

 

Yes, thanks. It's just what I thought. You must edit the property names in the config pane to match your INDI system. The default values are just examples.


Re: Indi telescope

 

Find attached some screenshots with my telescope simulator configuration.
I've also added the inditrace file.

Hope this will help.


Re: Indi telescope

 

The configuration properties must be set to match your INDI drivers for Sky View to work. This is not required for the Control Panel to work because there they are not being intercepted, only used as raw connections. So I still think you have an incorrect configuration. Please post screen grabs of the INDI Control Panel and Configuration window showing an example of XEphem working correctly with your telescope. This should tell use what should go in the configuration.


Re: Indi telescope

 

Was using "Enable sending RA/Dec" , I've tried? "Enable sending edb" with the same result ... everything is working fine from the Indi panel but nothing on Skyview map ..


Re: Indi telescope

 

Open Sky View -> Telescope -> Configure and make sure the Host, Port and property definitions for "Enable sending edb" or "Enable sending RA/Dec" (depending on your driver) are correct.


Indi telescope

 

Hi,
I'm trying to connect my scope to XEphem using my Indi server.
First I define the Indi server address/port in the XEphem SkyView Telescope configuration panel,
then I'm able to connect to the server from the Indi panel and I can see all my devices of which my mount.
The mount information are just fine an if I set the eq. coordinates, the mount is moving and the position is updated in the panel.
The issue is that :
- I can't see the telescope position in the SkyView
- when trying to use the "telescope Goto" in SkyView, I just get an alert " Device Telescope not found"?
Any ideas ?

Thierry


Re: Instructions for XEphem 3.7.7 uninstall and 4.1.0 install?

 

¿ªÔÆÌåÓý

Patience ? je te r¨¦ponds demain pour la proc¨¦dure extr¨¨mement simple !
Serge.
On 10/12/2021 11:09, Maxime GOMMEAUX wrote:
Dear friends of XEphem,

Given the recently renewed interest in this great software, I am planning to have my Bachelor students use it again in the next academic term. However, I would appreciate it greatly if someone could give me newbie-level instructions for version 3.7.7 uninstall and version 4.1.0 install, because I don't really understand what's on GitHub.

If I remember correctly the setting in my Department's computer room and what the IT people told me, the PCs are currently on Ubuntu 20.04 and XEphem was installed from Elwood's CD (after some hack-up for the missing libraries, which should no longer pose problems).

Yours,
Maxime

-- 
Serge Montagnac + GPG Key 0xDF083D7B + 
    Nature, Not Human Activity, Rules the Climate.


Instructions for XEphem 3.7.7 uninstall and 4.1.0 install?

 

Dear friends of XEphem,

Given the recently renewed interest in this great software, I am planning to have my Bachelor students use it again in the next academic term. However, I would appreciate it greatly if someone could give me newbie-level instructions for version 3.7.7 uninstall and version 4.1.0 install, because I don't really understand what's on GitHub.

If I remember correctly the setting in my Department's computer room and what the IT people told me, the PCs are currently on Ubuntu 20.04 and XEphem was installed from Elwood's CD (after some hack-up for the missing libraries, which should no longer pose problems).

Yours,
Maxime