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 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. |
See doinst.sh
You may need to put this section Code:
if [ -e usr/share/glib-2.0/schemas ]; then |
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. :o |
it was missing / since it must be able to run during installation where chroot is used
|
All times are GMT -5. The time now is 01:30 PM. |