sakachin2 / XE

SPF line Editor xe
26 stars 4 forks source link

Compiling GXE on Manjaro ARM (Raspberry Pi 4B) #3

Open Ravenmire opened 4 years ago

Ravenmire commented 4 years ago

configure: error: "FATAL:ncursesw/ncurses.h not found. Install ncursesw-devel." This ./configure doesn't work for Manjaro ARM on a Raspberry Pi 4B. I installed ncurses5-compat-libs, then ncurses6. Nothing worked.

sakachin2 commented 3 years ago

By --enable-ncursesw=no option, V129P was successfully installed on Manjaro on VMWare. e.g. ./configure --enable-ncursesw=no if "lingnome-2 required" is issued, specify also --enable-libgnome2=no --enable-ncursesw=no Try for raspberryPi.

Ravenmire commented 3 years ago

Thank you!

It compiled on my Raspberry Pi 4B (8Gb memory) with no problems.

I had to use ./configure -enable-libgnome2=no --enable-ncursesw=no for the compile.

Is the XE version displayed anywhere? Like V1.29P

English lesson: If there's one line excluded, it's '1 line'; otherwise it's 'n lines', where n can be any value, even zero.

Ted, M∴ M∴

GnuPG/PGP key: 0xbf44cb3c

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, December 8, 2020 9:04 PM, sakachin2 notifications@github.com wrote:

By --enable-ncursesw=no option, V129P was successfully installed on Manjaro on VMWare. e.g. ./configure --enable-ncursesw=no if "lingnome-2 required" is issued, specify also --enable-libgnome2=no --enable-ncursesw=no Try for raspberryPi.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sakachin2 commented 3 years ago

Thank you for your lesson.

 ----- Original Message -----

From: Ravenmire notifications@github.com To: sakachin2/XE XE@noreply.github.com Cc: sakachin2 sakachin2@yahoo.co.jp; Comment comment@noreply.github.com Date: 2020/12/9, Wed 12:33 Subject: Re: [sakachin2/XE] Compiling GXE on Manjaro ARM (Raspberry Pi 4B) (#3)

Thank you!

It compiled on my Raspberry Pi 4B (8Gb memory) with no problems.

I had to use ./configure -enable-libgnome2=no --enable-ncursesw=no for the compile.

Is the XE version displayed anywhere? Like V1.29P

English lesson: If there's one line excluded, it's '1 line'; otherwise it's 'n lines', where n can be any value, even zero.

Ted, M∴ M∴

GnuPG/PGP key: 0xbf44cb3c

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, December 8, 2020 9:04 PM, sakachin2 notifications@github.com wrote:

By --enable-ncursesw=no option, V129P was successfully installed on Manjaro on VMWare. e.g. ./configure --enable-ncursesw=no if "lingnome-2 required" is issued, specify also --enable-libgnome2=no --enable-ncursesw=no Try for raspberryPi.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

SaiSridhargithub commented 3 years ago

I am on a linux-image-5.4.0-1023-raspi - Linux kernel image for version 5.4.0 on ARMv8 SMP running on a Raspberry Pi 4. This is a headless install and GTK dees not exist.

I was able to install XE, without gxe and without print support by doing the following. Setting the following environment variables;

export CHK_EXIST_GTK2_PRINT_LIBS=NO export CHK_EXIST_GLIB2_LIBS=NO export CHK_EXIST_GTK2_PRINT_CFLAGS=NO export CHK_EXIST_GLIB2_CFLAGS=NO

I guess any non-zero length value of the above would have also worked.

Configuration command

./configure --enable-gxe=no --enable-print=no -enable-libgnome2=no --enable-ncursesw=no

was able to make and create xe after that.

Thanks very much Sakachin2 for a wonderful editor. for a mainframer like me it has been so helpful to use the same in a Linux environment.

Has anyone tried this on a MacOS?

Ravenmire commented 3 years ago

I always use braces ('{' and '}') for if-else statements AND every 'if' has an 'else' clause.

if (x == 1) { foo } else { bar }

Then, in xe:

x all;f '{' all;f '}' all

shows matching (or non-matching!) braces.

sakachin2 commented 3 years ago

Find cmd dose not check pairing. Alt+.(period) key searches paired parenthesis when cursor is on at (, ), {, }, [, ], <, >, /, /, #, and move cursor. (# is to search paring of #if, #else, #endif)

sakachin2 commented 3 years ago

P.S. Alt+/(slash) is for xml tag paring search. Put cursor on top of <abc ...>, then press "/" with Alt, cursor move to and vice versa.