sakachin2 / XE

SPF line Editor xe
25 stars 4 forks source link

FATAL:gio/gio.h is not found and required when --enable-libgnome2=no. Install libglib2.0-dev #4

Open jvanderes opened 3 years ago

jvanderes commented 3 years ago

Great project! Very usefull, as I have some former mainframe files to browse/edit under Linux (Redhat).

Here's the problem: after starting ./configure I got some errors that all good be fixed with yum installs. But in the end I got stuck with an error regarding glib2, it cannot find gio/gio.h, even though it is present in the folder where I expect it. ( /usr/include/glib-2.0/gio/gio.h ) Experimenting with cflags to change include path, and copying gio.h to other locations did not help. More people (in other projects) seam to have had issues with glib-2.0 and the call to gio.h. Does anyone have suggestions for a solution? Thanx in advance!

RonSMeyer commented 3 years ago

I don't know if this will help you or not. I'm coming from Linux Mint and I'm unfamiliar with Redhat. But I hope the package situation is similiar on both Linux versions.

I had to reinstall XE on a clean installation not too long ago and I documented the packages I needed for the install complete. These packages also install a ton of other dependencies so they take a while. But a lot of other stuff use them as well. They seem to be pretty common.

I had a little problem with glib as well but the #4 package below is what made it work.

Please let me know if you receive this email -- I don't always know if these list responses go anywhere.

These are the packages I had to pre-install for XE Editor

  1. build-essential - this is the compiler and basic stuff
  2. lib64ncurses-dev:i386
  3. libcups2-dev
  4. libappstream-glib-dev
  5. libdbusmenu-gtk3-dev

./configure --enable-libgnome2=no

On side note, when I had to move from mainframe to unix, trying to use VI after years of ISPF just about gave me a nervous breakdown. The XE editor saved me months of frustration and increased productivity by immeasurably.

I'll tell you XE is very close to ISPF but there are some differences. There are some expanded commands and a few commands work a bit differently but it is well worth keeping documentation handy and referring to it especially when you are first starting.

Note: f - find is case-sensitive, i - is insensitive find. Sort also - read the manual. For example: to sort 1 thru 10 descending the command is 'sort 1-10/r' instead of 'sort 1 10 d'. Read also for hex find and editting.

Basically, now I cannot live without it.

Good Luck

On 10/16/20 9:18 AM, jvanderes wrote:

Great project! Very usefull, as I have some former mainframe files to browse/edit under Linux (Redhat).

Here's the problem: after starting ./configure I got some errors that all good be fixed with yum installs. But in the end I got stuck with an error regarding glib2, it cannot find gio/gio.h, even though it is present in the folder where I expect it. ( /usr/include/glib-2.0/gio/gio.h ) Experimenting with cflags to change include path, and copying gio.h to other locations did not help. More people (in other projects) seam to have had issues with glib-2.0 and the call to gio.h. Does anyone have suggestions for a solution? Thanx in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sakachin2/XE/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZMFH3I4ATOOKZLTR3VA73SLBI3LANCNFSM4STMZYQQ.

jvanderes commented 3 years ago

Hi Ron, thanx for the response! I also noticed a lot of sub-dependencies were installed. I recognise most package you mention, but I will re-check the list. Also thanx for the tips for using ISPF, we have been working on the mainframe for many years so really hope we'll get it to work regards Johan van der Es Hijum

On 16-10-2020 19:13, RonSMeyer wrote:

don't know if this will help you or not. I'm coming from Linux Mint and I'm unfamiliar with Redhat. But I hope the package situation is similiar on both Linux versions.

I had to reinstall XE on a clean installation not too long ago and I documented the packages I needed for the install complete. These packages also install a ton of other dependencies so they take a while. But a lot of other stuff use them as well. They seem to be pretty common.

I had a little problem with glib as well but the #4 package below is what made it work.

Please let me know if you receive this email -- I don't always know if these list responses go anywhere.

These are the packages I had to pre-install for XE Editor

  1. build-essential - this is the compiler and basic stuff
  2. lib64ncurses-dev:i386
  3. libcups2-dev
  4. libappstream-glib-dev
  5. libdbusmenu-gtk3-dev

./configure --enable-libgnome2=no

On side note, when I had to move from mainframe to unix, trying to use VI after years of ISPF just about gave me a nervous breakdown. The XE editor saved me months of frustration and increased productivity by immeasurably.

I'll tell you XE is very close to ISPF but there are some differences. There are some expanded commands and a few commands work a bit differently but it is well worth keeping documentation handy and referring to it especially when you are first starting.

Note: f - find is case-sensitive, i - is insensitive find. Sort also - read the manual. For example: to sort 1 thru 10 descending the command is 'sort 1-10/r' instead of 'sort 1 10 d'. Read also for hex find and editting.

Basically, now I cannot live without it.

Good Luck

On 10/16/20 9:18 AM, jvanderes wrote:

Great project! Very usefull, as I have some former mainframe files to browse/edit under Linux (Redhat).

Here's the problem: after starting ./configure I got some errors that all good be fixed with yum installs. But in the end I got stuck with an error regarding glib2, it cannot find gio/gio.h, even though it is present in the folder where I expect it. ( /usr/include/glib-2.0/gio/gio.h ) Experimenting with cflags to change include path, and copying gio.h to other locations did not help. More people (in other projects) seam to have had issues with glib-2.0 and the call to gio.h. Does anyone have suggestions for a solution? Thanx in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sakachin2/XE/issues/4, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AMZMFH3I4ATOOKZLTR3VA73SLBI3LANCNFSM4STMZYQQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sakachin2/XE/issues/4#issuecomment-710246193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4FDZSBDZJ5G7XK2XECTU3SLB5L3ANCNFSM4STMZYQQ.

-- vr. gr. Johan van der Es Wallinga's-trye 2 9054 KX Hijum 0518-842220 jvanderes@gmail.com

sakachin2 commented 3 years ago

Not Redhat but, I tried to install v1.29P on Fedora33 on VMWare. . missing term.h ==>yum install ncurses-devel .missing cups/cups.h ==> yum install cups-devel .install GTK2 or GTK3 ==>yum install gtk3-devel .install libgnome2 OR --enable-libgnome2=no with glib2.0 installed ==>./configure --enable-libgnome2=no ==>completed succssfully. (glib2.0(including gio.h) is installed by dependency of gtk3-devel)

Check it that gio.h is refered by "pkg-config --cflags glib-2.0"

larson9999 commented 3 months ago

I change the configuration so that case sensitive find is 'I' and normal find is 'f'.

larson9999 commented 3 months ago

Not Redhat but, I tried to install v1.29P on Fedora33 on VMWare. . missing term.h ==>yum install ncurses-devel .missing cups/cups.h ==> yum install cups-devel .install GTK2 or GTK3 ==>yum install gtk3-devel .install libgnome2 OR --enable-libgnome2=no with glib2.0 installed ==>./configure --enable-libgnome2=no ==>completed succssfully. (glib2.0(including gio.h) is installed by dependency of gtk3-devel)

Check it that gio.h is refered by "pkg-config --cflags glib-2.0"

This did not work for me on kubuntu 24.04 but DID work on 22.04. For now i'm using the windows version via wine.

sakachin2 commented 3 months ago

About this issue, I did not yet tried on Kubuntu 24, but it was fixed at v1.29U, i think.

Pls try latest version on Github.

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

From: "larson9999" @.***>

To: "sakachin2/XE" @.***>

Cc: "sakachin2" @.>; "Comment" @.>

Date: 2024/05/28 火 22:57

Subject: Re: [sakachin2/XE] FATAL:gio/gio.h is not found and required when --enable-libgnome2=no. Install libglib2.0-dev (#4)

Not Redhat but, I tried to install v1.29P on Fedora33 on VMWare. . missing term.h ==>yum install ncurses-devel .missing cups/cups.h ==> yum install cups-devel .install GTK2 or GTK3 ==>yum install gtk3-devel .install libgnome2 OR --enable-libgnome2=no with glib2.0 installed ==>./configure --enable-libgnome2=no ==>completed succssfully. (glib2.0(including gio.h) is installed by dependency of gtk3-devel)

Check it that gio.h is refered by "pkg-config --cflags glib-2.0"

This did not work for me on kubuntu 24.04 but didn't on 22.04. For now i'm using the windows version via wine.

Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.Message ID: @.***>