Okay! Success! As the young folks nowadays say --- woot!
Quote:
Aha! This crossed my mind the other day and I meant to mention it, but then it slipped my mind...
|
I know the feeling! To paraphrase an old joke, someone once asked me if I believe in the hereafter. I replied, "I sure do --- every time I walk into a room I have to ask myself, 'Now, what am I here after?'"
Quote:
You need to recreate all the conf files -the easiest way to do (and remember how to) is to run 'autoreconf -if' in the sources before running the configure script.
|
Okay, the water is getting less muddy!
Last night I found a grub slackbuild script at slacky.eu for version 11.0, and that script contained the commands autoconf, aclocal, automake. Those additional commands ini my build script failed to produce a splash image, although I likely did not implement correctly.
Quote:
Here's a block of code from src2pkg which shows a typical list of commands:
|
I modified and added your commands to my build script.
Quote:
After patching the sources, run './configure --help' and *notice* that there is no option for '--enable-graphics'. Then, run the commands as above and re-run './configure --help', now you should see the '--enable-graphics' option.
|
I ran the following command on the unpatched files:
grep graphics ./configure
Nothing --- as expected.
Next, in my build script, which is a modified stock Slackware build script from extras, I temporarily added an
exit command before the .configure command. I added your mods as previously described. I ran the build script and again grepped the configure file. I did not find the
--enable-graphics command. My grep results:
--disable-graphics disable graphics terminal support
# Check whether --enable-graphics was given.
if test "${enable_graphics+set}" = set; then
enableval=$enable_graphics;
if test "x$enable_graphics" != xno; then
I searched the diff file and the phrase
--disable-graphics is added, not
--enable-graphics. I'm not nit-picking! Your explanation still makes sense in context, but I thought I'd clarify for future visitors of this thread.
Since the
--disable-graphics option is not in my build script, I presumed the splash image support was enabled by default. I therefore ran the build script in entirety, installed the package, ran
grub-install /dev/hda, and grepped the stage2 file for the word splash. Finally! I received the message
Binary file /boot/grub/stage2 matches.
Of course, the final test was rebooting. Gilbert, you brought a fine smile to my face!
Quote:
Don't feel bad, I had the same trouble more than once when working on the patches and forgetting to update the conf files.
|
I don't feel bad --- I have way too much to learn about compiling software!
Anyway, for those who prefer to use a modified Slackware build script I intend to post a mini how-to at my web site, along with my modified build script and a link to this thread.
My apologies for not trying src2pkg. I have your package downloaded, but with a new box, I have many items on my to-do list. The list shrinks significantly each weekend and eventually that will mean more time to experiment with src2pkg. However, I still need to find a how-to to understand the basics of compiling software (big picture stuff). Although I realized the patches were not merging, I never would have figured out to remake the config files as you explained. Then again, now I've been exposed to the idea and will be more aware in the future.
This was a very productive thread. Thanks much Gilbert!