Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Howto] Using Bootsplash on PPC in 9 easy steps
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
keg_71
n00b
n00b


Joined: 22 Nov 2005
Posts: 8

PostPosted: Thu Nov 24, 2005 2:27 am    Post subject: Reply with quote

Alright i got the patch installed correctly and an 'emerge klibc' went off wihout a hitch.

Here's the kicker though, when i run 'emerge splashutils', as was the reason for all this noise, its seems like it finds, gets, and unpacks source for an older version of klibc (Which enevitably fails on 'Make'). However, the version i just patched is klibc-1.1.1-ppc, so isn't this the one that emerge should be "depending" on?

Maybe i need to send an argument along with 'emerge splashutils' in order for it to use the klibc which has been patched on my system.

I'm getting really close, i think, so i appreciate your help
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Nov 24, 2005 3:02 am    Post subject: Reply with quote

Which version of splashutils are you trying?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
keg_71
n00b
n00b


Joined: 22 Nov 2005
Posts: 8

PostPosted: Thu Nov 24, 2005 3:31 am    Post subject: Reply with quote

This is how i'm attempting to get splashutils

Code:


ice / # emerge splashutils
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/splashutils-1.1.9.8 to /


Exiting on signal 2
ice / # emerge splashutils
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/splashutils-1.1.9.8 to /
>>> md5 files   ;-) splashutils-1.1.9.9.ebuild
>>> md5 files   ;-) splashutils-1.1.9.8.ebuild
>>> md5 files   ;-) splashutils-1.1.9.10.ebuild
>>> md5 files   ;-) splashutils-1.1.9.9-r1.ebuild
>>> md5 files   ;-) files/digest-splashutils-1.1.9.9-r1
>>> md5 files   ;-) files/digest-splashutils-1.1.9.8
>>> md5 files   ;-) files/digest-splashutils-1.1.9.9
>>> md5 files   ;-) files/digest-splashutils-1.1.9.10
>>> md5 files   ;-) files/splashutils-1.1.9.9-external-klibc.patch
>>> md5 src_uri ;-) splashutils-lite-1.1.9.8.tar.bz2
>>> md5 src_uri ;-) splashutils-gentoo-0.1.12.tar.bz2
>>> md5 src_uri ;-) miscsplashutils-0.1.3.tar.bz2
>>> md5 src_uri ;-) libpng-1.2.8.tar.bz2
>>> md5 src_uri ;-) jpegsrc.v6b.tar.gz
>>> md5 src_uri ;-) freetype-2.1.9.tar.bz2
>>> md5 src_uri ;-) zlib-1.2.1.tar.bz2
>>> md5 src_uri ;-) klibc-1.0.8.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14-gentoo-r2
>>> Unpacking source...
>>> Unpacking splashutils-lite-1.1.9.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking splashutils-gentoo-0.1.12.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking miscsplashutils-0.1.3.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking libpng-1.2.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking freetype-2.1.9.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking zlib-1.2.1.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Unpacking klibc-1.0.8.tar.bz2 to /var/tmp/portage/splashutils-1.1.9.8/work
>>> Source unpacked.
  MAKE    klibc
In file included from globals.c:6:
../include/errno.h:6:23: asm/errno.h: No such file or directory
make[1]: *** [globals.o] Error 1
make: *** [klibc] Error 2

!!! ERROR: media-gfx/splashutils-1.1.9.8 failed.
!!! Function src_compile, Line 119, Exitcode 2
!!! failed to build splashutils
!!! If you need support, post the topmost build error, NOT this status message.


Thanks
Back to top
View user's profile Send private message
keg_71
n00b
n00b


Joined: 22 Nov 2005
Posts: 8

PostPosted: Thu Nov 24, 2005 3:46 am    Post subject: Reply with quote

It is important to note my previous patching of klibc-1.1.1-ppc by the following, whereas i believe that splashutils uses v1.0.8
It be great if i could get splashutils to depend on v1.1.1

Code:

ice work # patch -p0 < klibc-1.1.1-ppc-2.6.14.patch
patching file klibc-1.1.1/MCONFIG
ice work # emerge klibc
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/klibc-1.1.1 to /
>>> md5 files   ;-) klibc-1.0.14-r1.ebuild
>>> md5 files   ;-) klibc-1.1.ebuild
>>> md5 files   ;-) klibc-1.1.1.ebuild
>>> md5 files   ;-) files/klibc-1.0.14-nostdlib.patch
>>> md5 files   ;-) files/digest-klibc-1.0.14-r1
>>> md5 files   ;-) files/klibc-1.1-mips32.patch
>>> md5 files   ;-) files/digest-klibc-1.1.1
>>> md5 files   ;-) files/klibc.m4
>>> md5 files   ;-) files/digest-klibc-1.1
>>> md5 src_uri ;-) klibc-1.1.1.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14-gentoo-r2
>>> Checking klibc-1.1.1.tar.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
make[1]: Entering directory `/var/tmp/portage/klibc-1.1.1/work/klibc-1.1.1/klibc'

/* A BUNCH OF COMPILATION */

.
.
.
.

>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> dev-libs/klibc-1.1.1 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Nov 24, 2005 5:43 am    Post subject: Reply with quote

Emerge sync, then
Code:
# echo "=media-gfx/splashutils-1.1.9.10 ~ppc" >> /etc/portage/package.keywords


You should then emerge the latest version of splashutils instead of the old one you're trying to install now.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Thu Nov 24, 2005 5:46 am    Post subject: Reply with quote

I'm pretty sure I had the same problem as you. I got around it by emerging the ~ppc splashutils. It then complained about freetype, so I had to emerge the ~ppc freetype. Now splashutils works and I have my fbsplash back.
_________________
--Aaron
Back to top
View user's profile Send private message
keg_71
n00b
n00b


Joined: 22 Nov 2005
Posts: 8

PostPosted: Thu Nov 24, 2005 7:01 pm    Post subject: Reply with quote

Thanks for that Jose, I ended up doing that last night. Then when i ran emerge splashutils, it complained about not being able to find some header file LOL. So i figured i'd try a dirty hack and replace the header file

Code:

ice / # cp /usr/include/asm/errno.h /usr/lib/klibc/include/asm/errno.h


and I changed the header file to reflect the following

Code:

ice / # cat /usr/lib/klibc/include/errno.h
/*
 * errno.h
 */

#include <klibc/extern.h>
#include "asm/errno.h"

__extern int errno;


Anyway, emerge splashutils didn't complain after that and it compiled! :>

Thanks, I'm sure i'll be back seeking out help from other mac gentoo enthusiasts.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Nov 25, 2005 5:30 pm    Post subject: Reply with quote

The latest ~ppc in portage should have a fix for the missing header problem, perhaps it hadn't yet reached your mirror when you synced.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
wingrunr21
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 91

PostPosted: Mon Jun 19, 2006 3:45 am    Post subject: Reply with quote

I've got gensplash working for the most part in PPC. I just have one problem. I have a slot-loading G3 iMac, meaning I have a Rage Ultra 128 16 mb in it. This means I have to use atyfb128 for my video. Here's yaboot.conf:

Code:

iMac etc # cat yaboot.conf
## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda2
device=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux
        label=Linux-2.6.16-gentoo-r7
        read-only
        append="video=atyfb128:1024x768-32@60 splash=silent,theme=emergence CONSOLE=/dev/tty1"
        initrd=/boot/fbsplash-emergence-1024x768

image=/boot/vmlinux
        label=Linux Regular
        read-only

#CD-ROM boot
enablecdboot


I cannot get the splash to start up in anything but 8bpp mode. It will (sometimes) put the proper splash behind the boot text, but all of the colors are messed up for the silent logo. Anyone know why it is only using 8bpp mode? I followed the wiki and the posts in this thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum