iraf-community / x11iraf

X11/GUI utilities and applications for IRAF (xgterm, ximtool, xtapemon)
https://iraf-community.github.io/x11iraf
21 stars 8 forks source link

problems with installing x11iraf-2.1 #56

Closed crabcakies231 closed 10 months ago

crabcakies231 commented 10 months ago

I have tried to install lastest x11iraf on Ubuntu 22.04.03LTS, aka jammy.  i have followed the instructions given here:  https://iraf-community.github.io/x11iraf, and checked what i have done several times. while the x11 programs were compiled and can be run outside of the iraf environment, there appears to be no link to actions within iraf . thus, if I do  an implot dev$pix action within an xgterm,  the error msg appears stating that terminal does not support vector graphics.  same response for ximtool.

in the past i have had no problems installing x11iraf on my linux running ubuntu 21. thus, i am at a loss as to how to overcome this problem.

not sure if this is useful, but here is a screenshot of trying implot $dev$pix within xgterm Screenshot from 2023-11-07 08-13-23

olebole commented 10 months ago

You need to start IRAF within xgterm to get it running. And, on Ubuntu 22.04, you don't need to compile xgterm by itself; just doing sudo apt install xgterm also does the trick.

crabcakies231 commented 10 months ago

danke. aber das Problem bleibt. Siehe Anhang

On Tue, Nov 7, 2023 at 8:22 AM Ole Streicher @.***> wrote:

You need to start IRAF within xgterm to get it running. And, on Ubuntu 22.04, you don't need to compile xgterm by itself; just doing sudo apt install xgtern also does the trick.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799089452, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPFQ4AS3A7EHB5RVIFLYDJN4LAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGA4DSNBVGI . You are receiving this because you authored the thread.Message ID: @.***>

olebole commented 10 months ago

I am quite sure that this is the problem. The screenshot shows that in the xgterm you still are using the shell, i.e. you didn't start IRAF. Without starting IRAF, it will not work.

crabcakies231 commented 10 months ago

in this screen shot iraf is running within the xgterm and the original problem still exists and graphics does NOT work

On Tue, Nov 7, 2023 at 9:18 AM Ole Streicher @.***> wrote:

I am quite sure that this is the problem. The screenshot shows that in the xgterm you still are using the shell, i.e. you didn't start IRAF. Without starting IRAF, it will not work.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799275832, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPDRNNNFNGSFPRSLJW3YDJUPRAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGI3TKOBTGI . You are receiving this because you authored the thread.Message ID: @.***>

crabcakies231 commented 10 months ago

i am referring to the original problem, not my stupid action regarding the cl not operating

On Tue, Nov 7, 2023 at 9:18 AM Ole Streicher @.***> wrote:

I am quite sure that this is the problem. The screenshot shows that in the xgterm you still are using the shell, i.e. you didn't start IRAF. Without starting IRAF, it will not work.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799275832, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPDRNNNFNGSFPRSLJW3YDJUPRAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGI3TKOBTGI . You are receiving this because you authored the thread.Message ID: @.***>

olebole commented 10 months ago

On Giithub, you can't add an attachment via mail; it is not visible. Please go to the issue web page and insert it there.

olebole commented 10 months ago

What is proven to work on a plain Ubuntu 22.04 system (just did it myself last week):

$ sudo apt install iraf xgterm
$ xgterm -e irafcl &

and in the xgterm:

ecl> implot dev$pix

and it shows the graphics window.

crabcakies231 commented 10 months ago

those are not the instructions given in the quoted gihub page, which i followed.

On Tue, Nov 7, 2023 at 9:32 AM Ole Streicher @.***> wrote:

What is proven to work on a plain Ubuntu 22.04 system (just did it myself last week):

$ sudo apt install iraf xgterm $ xgterm -e irafcl &

and in the xgterm:

ecl> implot dev$pix

and it shows the graphics window.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799299873, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPGP7MUG5YH2PJVUXCLYDJWDNAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGI4TSOBXGM . You are receiving this because you authored the thread.Message ID: @.***>

olebole commented 10 months ago

That is the easiest way to get IRAF working on Ubuntu. And, actually, the web page says:

IRAF installation:

On some systems (Ubuntu, Debian, Mint, Mageia), IRAF can be directly installed from the package repositories.

X11IRAF:

On some systems, x11iraf can be directly installed from the package repositories:

  • Ubuntu 19.10 “Eoan Ermine” and later,

which implies that both IRAF and x11iraf can be installed with the normal package manager. And the startup of xgterm and IRAF didn't change since ages (except, that Debian uses irafcl instead of ecl to avoid conflicts with the Common Lisp compiler). You can also just start xgterm and within the xgterm window start irafcl (or ecl if you have a self-compiled system).

How exactly did you start it? And which IRAF did you use? And what exactly is the error message?

crabcakies231 commented 10 months ago

yes, indeed that version of startup works. but starting xgterm, the iraf therewithin and then implot does not work, as demonstrated.

On Tue, Nov 7, 2023 at 9:32 AM Ole Streicher @.***> wrote:

What is proven to work on a plain Ubuntu 22.04 system (just did it myself last week):

$ sudo apt install iraf xgterm $ xgterm -e irafcl &

and in the xgterm:

ecl> implot dev$pix

and it shows the graphics window.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799299873, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPGP7MUG5YH2PJVUXCLYDJWDNAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGI4TSOBXGM . You are receiving this because you authored the thread.Message ID: @.***>

crabcakies231 commented 10 months ago

thanks. however it is now started. i am back in business.

On Tue, Nov 7, 2023 at 9:32 AM Ole Streicher @.***> wrote:

What is proven to work on a plain Ubuntu 22.04 system (just did it myself last week):

$ sudo apt install iraf xgterm $ xgterm -e irafcl &

and in the xgterm:

ecl> implot dev$pix

and it shows the graphics window.

— Reply to this email directly, view it on GitHub https://github.com/iraf-community/x11iraf/issues/56#issuecomment-1799299873, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDLETPGP7MUG5YH2PJVUXCLYDJWDNAVCNFSM6AAAAAA7BORHXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGI4TSOBXGM . You are receiving this because you authored the thread.Message ID: @.***>

olebole commented 10 months ago

If you have further poblems, please use IRAF discussions instead of opening an issue.