LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-10-2015, 08:48 PM   #1
pzognar
Member
 
Registered: Jun 2015
Distribution: Debian Jessie 64
Posts: 163
Blog Entries: 9

Rep: Reputation: Disabled
ghex slackbuild


Attempted to make a ghex slackbuild. Looked to be the usual "configure make make install" system, so making the slackbuild seemed straightforward enough.

I manually ran a ./configure and make before making the slackbuild, to make sure I had no hidden problems to deal with.

That ran without error. So I made the slackbuild. No errors during the building of the tgz nor in the actual installpkg.

Only problem is, the program won't run. D'oh.

Code:
$ /usr/local/bin/ghex

(ghex:18781): GLib-GIO-ERROR **: Settings schema 'org.gnome.GHex' is not installed

Trace/breakpoint trap
If there was a dependency, would not the ./configure or make have aborted?

edit: googling indicates that there might be a dependency on a "gsettings-desktop-schemas" package. I have not followed up on this. I guess then the thrust of my question is, how to alter the build process so it *checks* for this.


p.s. The location of the program in /usr/local/bin instead of /usr/bin is not an error. I like to keep added programs separate from the programs that come with Slackware, so I edit my slackbuilds accordingly.

Last edited by pzognar; 12-10-2015 at 08:52 PM.
 
Old 12-11-2015, 12:03 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
See doinst.sh

You may need to put this section
Code:
if [ -e usr/share/glib-2.0/schemas ]; then
  if [ -x /usr/bin/glib-compile-schemas ]; then
    /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
  fi
fi
 
1 members found this post helpful.
Old 12-11-2015, 07:23 AM   #3
pzognar
Member
 
Registered: Jun 2015
Distribution: Debian Jessie 64
Posts: 163

Original Poster
Blog Entries: 9

Rep: Reputation: Disabled
Wow, that worked (well, had to put in a leading / and adjust for usr/local but you get the idea). Thank you very much.

I would never have figured that out.
 
Old 12-11-2015, 10:16 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
it was missing / since it must be able to run during installation where chroot is used
 
  


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
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
OO 3.01 slackbuild ? brodo Slackware 4 02-01-2009 04:06 PM
ghex install problems (ubuntu 6.06) avaleriu Linux - Software 0 03-14-2007 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:03 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