LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-25-2018, 12:02 PM   #1
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Rep: Reputation: Disabled
Lfs 8.3 systemd programs not opening?


Hi All,
After having so much fun doing 8.3 on one of my laptops I decided to do the other.Everything went well until I installed Abiword. I'm using xfce4 for my DTE. I must have missed a program or something somewhere. Firefox works fine. When I click on Abi
it opens for about 1 second and then closes. I appreciate any and all help.
Thanks a bunch

ran abi in terminal

bash-4.4$ abiword

(process:2619): Gtk-WARNING **: 17:02:37.455: Locale not supported by C library.
Using the fallback 'C' locale.

(abiword:2619): Gtk-CRITICAL **: 17:02:37.713: gtk_render_background: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(abiword:2619): Gtk-CRITICAL **: 17:02:37.713: gtk_render_frame: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
Aborted (core dumped)
bash-4.4$

Last edited by rabidlinux; 10-25-2018 at 12:03 PM.
 
Old 10-25-2018, 01:34 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,385

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Code:
bash-4.4$ abiword

(process:2619): Gtk-WARNING **: 17:02:37.455: Locale not supported by C library.
Using the fallback 'C' locale.

(abiword:2619): Gtk-CRITICAL **: 17:02:37.713: gtk_render_background: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(abiword:2619): Gtk-CRITICAL **: 17:02:37.713: gtk_render_frame: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
Aborted (core dumped)
bash-4.4$
I would normally take those "Gtk-CRITICAL **" errors an GTK needing tranquilizers, or the software equivalent. I get it shrieking at me here and everything's fine (usually). The core dumped is a different matter. That's a miscompile or a bug.

Run 'ldd /path/to/abiword |grep found' which should return no output. If it does give anything, it will be of the nature: "libThisOrThat.so not found." Check they're available and not buried in some library directory that never gets checked, and check for newbie 32/64 bit mistakes.
 
Old 10-25-2018, 02:24 PM   #3
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
This is what showed:
ldd: /path/to/abiword: No such file or directory
 
Old 10-26-2018, 02:40 AM   #4
arch-linq
Member
 
Registered: Sep 2018
Location: Midwest, USA
Distribution: Arch,LFS,BLFS
Posts: 110

Rep: Reputation: Disabled
seeing you have a bash-4.4$ prompt tells me you skipped installing the first thing necessary for starting to build blfs packages and that's BLFS Bash Shell Startup files. The ramifications are staggering. Lucky anything works right imo.
You can try and add them now and see if it helps your build find things it needs to run right. GTK-criticals are bad... warnings or info are ok.
 
Old 10-26-2018, 03:44 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,385

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Code:
This is what showed:
ldd: /path/to/abiword: No such file or directory
/Sigh
If you typed in exactly what I wrote, that's correct. You were supposed to substitute /path/to with /usr/bin, or wherever abiword actually is. How do I know where abiword is on your box?
 
Old 10-26-2018, 05:12 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,637
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
"Aborted" (as distinct from "Segment violation") indicates that the gtk library called an abort itself after an internal test failed. In other words, it's not a bug in the code, it's a problem with your system. I would be inclined to rebuild gtk, and perhaps its main dependencies, after fixing your environment as arch-linq suggested.
 
Old 10-26-2018, 06:47 AM   #7
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Thanks to all,
I must have missed something. I will go reinstall bash startup files at the beginning of blfs. Something didn't copy and paste somewhere I guess. And rebuild GTK
 
Old 10-26-2018, 09:05 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,385

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
I will mention one other thing. Having just done LFS-8.3-systemd, but not started on BLFS yet, it seems they add a few bootscripts to LFS; the systemd vartiant doesn't want bootscripts but the systemd equivalent. That may be another issue.

I would indeed bow to hazel's superior detective work on GTK. I have learned to ignore almost everything it complains about, but it doesn't go Critical.
 
Old 10-26-2018, 09:28 AM   #9
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
I think it possibly could be this Toshiba laptop too. 8.3 Systemd worked fine on my HP laptop and I even cloned it and put it on my
AMD desktop and its doing good. But I even tried to put the clone on the Toshiba but it wouldn't work either. If it doesn't work on
the Toshiba its ok. Just a lot of time, but when you are retired I guess I got plenty of that heading in to winter. I will keep fooling with it
and maybe I will learn something new. And yes, I always pay attention to Hazel's suggestions.
 
Old 10-26-2018, 12:34 PM   #10
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Solved

That fixed it with advice from Hazel and Arch-ling.
Thanks to you all
 
Old 10-26-2018, 01:07 PM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,637
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
What exactly was the fix? I'm curious.
 
Old 10-26-2018, 05:58 PM   #12
rabidlinux
Member
 
Registered: Aug 2017
Location: Wild West
Distribution: Arch,Tumbleweed,BLFS 9.0
Posts: 227

Original Poster
Rep: Reputation: Disabled
Hey Hazel,
I went to the beginning of blfs to bash startup files and copied and pasted them again. Then I reinstalled GTK+3.24.30 with required dependencies first.
I also looked at kernel config and made sure I disabled anything with AMD checked. Rebooted and abiword was good along with a few other things.
I'm now working on video player and sound. Hope to be finished this weekend with a basic system.
Regards
Dan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My best lfs install yet! 8.3 Systemd rabidlinux Linux From Scratch 3 11-10-2018 03:52 PM
[SOLVED] Systemd LFS after SystemV install. r4yn Linux From Scratch 3 05-03-2018 01:54 PM
[SOLVED] [help] lfs 7.7 systemd dhcp setup ativg Linux From Scratch 9 11-30-2015 06:49 PM
LFS 7.6 conversion to systemd-217 Funx_88 Linux From Scratch 2 11-19-2014 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration