OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Frozen-bubble For Gpe
ShiroiKuma
post Jun 2 2006, 04:32 PM
Post #1





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I'd like to compile frozen-bubble. All of the dependencies are allready present in GPE, except for SDL_perl.

Tried compiling SDL_perl-1.19.2 but just get an "unknown error" when configuring, and can't trace it...

I've seen lots of references of people having probs with SDL_perl while compiling etc. so it seems it's not an easy task?

Can someone do it? Or is it compiled somewhere already for 3.5.4.1?
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 2 2006, 10:23 PM
Post #2





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Don't know how I could have overlooked it, but Bitbake has a recipe for frozen-bubble.

Am compiling right now smile.gif So all's fine...
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 3 2006, 10:17 AM
Post #3





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Hmmm... OE built it, I installed all ipkgs.

But now get:
CODE
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
QSocket::writeBlock: Socket is not open
No Qt/Embedded server appears to be running.
If you want to run perl as a server,
add the "-qws" command-line option.

Running "frozen-bubble -qws" doesn't do anything? Can anyone advise me what the problem-solution is?

Thanks.
Go to the top of the page
 
+Quote Post
Hrw
post Jun 4 2006, 01:12 AM
Post #4





Group: Members
Posts: 1,376
Joined: 11-January 04
From: Poznań, Poland
Member No.: 1,413



Looks like you have SDL built for OPIE not for X11 enviroments. Remove libsdl0 package and install one from feed/x11/
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 4 2006, 07:58 AM
Post #5





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(Hrw @ Jun 4 2006, 10:12 AM)
Looks like you have SDL built for OPIE not for X11 enviroments. Remove libsdl0 package and install one from feed/x11/
*

Maybe it's associated with my Bitbake configuration. In local.conf I have:
CODE
PREFERRED_PROVIDERS = "vitrual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"

since I noted that it also compiled libopiecore when compiling frozen-bubble, somehow it's probably thinking that I'm using Opie. It didn't build libsdl0 though, only libsdl-1.2.0...

I've searched the OpenEmbedded wiki, but can't see what to do to specify not Opie but GPE.

Should I set something else in my local.conf and rebuild maybe?
Go to the top of the page
 
+Quote Post
JohnX
post Jun 4 2006, 01:43 PM
Post #6





Group: Members
Posts: 126
Joined: 4-May 05
From: Lynnwood, WA, US
Member No.: 7,070



Just change those lines around to what I have here and you should be on your way:
#PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"

There's no need to delete or change any other lines...just the one referring to sdl. Good luck!
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 4 2006, 02:11 PM
Post #7





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(JohnX @ Jun 4 2006, 10:43 PM)
Just change those lines around to what I have here and you should be on your way:
#PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"

There's no need to delete or change any other lines...just the one referring to sdl. Good luck!
*

What about the libqpe-opie line? Should I delete it?
Go to the top of the page
 
+Quote Post
JohnX
post Jun 4 2006, 03:30 PM
Post #8





Group: Members
Posts: 126
Joined: 4-May 05
From: Lynnwood, WA, US
Member No.: 7,070



There's no need to. It won't interfere with anything. From what I understand, when you see a line like this:
CODE
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"

it's saying "when a package asks for virtual/libsdl I should try and use libsdl-x11 to provide it." No GPE package would depend on virtual/qte or virtual/qpe so it won't get in your way.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 6 2006, 03:46 AM
Post #9





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(JohnX @ Jun 5 2006, 12:30 AM)
There's no need to. It won't interfere with anything. From what I understand, when you see a line like this:
CODE
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"

it's saying "when a package asks for virtual/libsdl I should try and use libsdl-x11 to provide it." No GPE package would depend on virtual/qte or virtual/qpe so it won't get in your way.
*

I've done the change and am recompiling now, but I've just noticed that it's building libqpe-opie still, so something is surely wrong. I think it's not gonna run... But I've removed the opie reference.

Is there anything else I should do?

Well, I'll wait till it's finished, but I doubt it'll be right...
Go to the top of the page
 
+Quote Post
lardman
post Jun 6 2006, 06:04 AM
Post #10





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



You need to remove the files created by the original opie version of SDL. So bitbake clean frozen bubble and sdl.

Bitbake -c clean package_name

iirc.


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Jun 6 2006, 06:26 AM
Post #11





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ Jun 6 2006, 03:04 PM)
You need to remove the files created by the original opie version of SDL. So bitbake clean frozen bubble and sdl.

Bitbake -c clean package_name
*

I did remove them. But did this again just to make sure.

It's still doing this, complains that:
CODE
preferred version 1.2.2 of libopie2 not available
and then proceeds to build libsdl-qpe...

So something must be wrong, I can't seem to see what.
Go to the top of the page
 
+Quote Post
lardman
post Jun 6 2006, 09:46 AM
Post #12





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Try using bitbake -b path/to/file.bb to build the x11 based SDL directly, then continue with your usual bitbake of frozen bubbles.

There's probably some dep remaining.


Si
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th November 2014 - 01:46 PM