All,
Any help on this for an oe newb is truly appreciated.

Just some background. I have been trying to compile a program for the zaurus 
for about a month now with very little success. The program is PlutoHome 
(plutohome.com). Plutohome is an open source home automation program that has 3 
parts, a Server (dhcp, file server, etc.), Media Director which runs the media 
stuff e.g. movie playing, mp3 playing etc. and the Orbiter which is the remote 
control. What I am trying to do is compile the Orbiter for a zaurus. I have a 
c1000 (akita) loaded with oz 3.5.4.1 GPE for that purpose.

I have tried compiling natively on debian pocket workstation and worked through 
a number of issues to get the dependencies compiled but ran into memory 
problems trying to compile the final package. See post here: 
http://plutohome.com/support/phpbb2/viewtopic.php?t=788

I have been fiddling with oe to see if I can compile it and with my very 
limited knowledge on this stuff (I am not a developer) I have been struggling. 

I have successfully built gpe-image and mysql so I know that bitbake works. I 
am running this on Suse 10. GCC4 seems to throw a bunch of errors so I am 
trying it using gcc3.3.5 (which is what plutohome is using) from the directions 
here:
 
http://www.tarunworld.com/index.php?option=com_content&task=view&id=26&Itemid=36

The orbiter has 4  packages that need to be compiled before the orbiter itself 
can be compiiled. SerializeClass, DCE, PlutoUtils, and DCE. I have actually 
gotten SerializeClass to build however, I get an error:

NOTE: package serializeclass-1.1.1-r0: task do_package: started
ERROR: function do_install failed
ERROR: log data follows 
(/home/oc60174/oe/build/tmp/work/serializeclass-1.1.1-r0 
/temp/log.do_install.7547)
| NOTE: make 
DESTDIR=/home/oc60174/oe/build/tmp/work/serializeclass-1.1.1-r0/ima ge install
| make: *** No rule to make target `install'.  Stop.

It looks like the binary (libSerializeClass.so) is in the 
~/oe/build/tmp/work/serializeclass-1.1.1-r0/SerializeClass directory. It also 
copied it to a file called lib (It actually belongs in a directory called lib 
but the Makefile does a cp ../lib and there is no lib directory there...) . I 
am sure I need to do something in the bb file but am not sure how to proceed. 
Here is the bb file:

LICENSE = "GPL"
DESCRIPTION = "SerializeClass try 1"
SECTION = "console/util"
MAINTAINER = "me"
SRC_URI = 
"svn://svn.plutohome.com/pluto/trunk/src;module=SerializeClass;proto=http \
           svn://svn.plutohome.com/pluto/trunk/src;module=PlutoUtils;proto=http"
S = "${WORKDIR}/SerializeClass"
inherit autotools

Koen suggested the “S = "${WORKDIR}/SerializeClass" in this post here:
http://www.oesf.org/forums/index.php?showtopic=20534

Also, here is the Makefile from SerializeClass

ROOT = ..
VIP = ../VIPShared
GDEV = ./Gen_Devices
CXXFLAGS = -Wall -g -ggdb3 -D_GNU_SOURCE
CPPFLAGS = -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ 
-I../../VIPShared -I/usr/include/mysql -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_DEVEL_DEFINES -DUSE_LZO_DATAGRID
CXX = g++
sources = SerializeClass.cpp
all: libSerializeClass.so all-recursive
libSerializeClass.so: $(sources:.cpp=.o)
        $(CXX) -shared $(CXXFLAGS) $(CPPFLAGS) -o $@ $(call cpath,$+)
        cp $@ ../lib
libSerializeClass.a: $(sources:.cpp=.o)
        $(AR) rc $@ $(call cpath,$+)
        cp $@ ../lib
clean:
        rm -f $(call cpath,$(sources:.cpp=.o) $(sources:.cpp=.d)) 
libSerializeClass.so libSerializeClass.a >/dev/null
include $(ROOT)/PlutoUtils/make.rules

SerializeClass is the easiest of the programs to compile;).  So ultimiately, 
what I need to do is download a directory structure from the plutohome svn 
(there are .h files in other packages that are required to compile), compile 
SerializeClass, PlutoUtils, DCE, then compile Orbiter. Then hopefully package 
it up into an ipk that I can install on by z.

One more thing, there are a bunch of dependent packages as well. Most are 
available through the feeds. The one that I couldn't find was libsdl-sge. It 
looks like I will have to compile that one too?

Sorry about the long note but I wanted to get all the background in.

Thanks for any help.

Rob
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to