[Gpe-list] Ask for help !

netspectrum wzc0066 at yahoo.com.cn
Mon Jan 22 12:37:35 CET 2007


Hello everyone :

Thanks for Koen Kooi-3's advice firstly. I have got the
"libbonobo_2.10.0.bb" from OE, but i still got Errors when building it .   
            
What should i do ? 
Please advise !          
Thanks all of you !

Build log:
---------------------------------------------------------------------
BB>> build libbonobo
SHELL: Building libbonobo
NOTE: Resolving missing task queue dependencies
NOTE: multiple providers are available for
virtual/arm-poky-linux-libc-for-gcc (glibc, glibc-intermediate);
NOTE: consider defining
PREFERRED_PROVIDER_virtual/arm-poky-linux-libc-for-gcc
NOTE: Preparing Runqueue
NOTE: Executing runqueue
NOTE: package libbonobo-2.10.0: started
NOTE: package libbonobo-2.10.0-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/temp/log.do_compile.11488)
| NOTE: make
ORBIT_IDL=/home/zwang/gpe-practice/poky/build/tmp/staging/i686-linux/bin/arm-poky-linux/orbit-idl-2
| make  all-recursive
| make[1]: Entering directory
`/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/libbonobo-2.10.0'
| Making all in idl
| make[2]: Entering directory
`/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/libbonobo-2.10.0/idl'
| make[2]: *** No rule to make target
`/home/zwang/gpe-practice/poky/build/tmp/staging/i686-linux/bin/arm-poky-linux/orbit-idl-2',
needed by `Bonobo.h'. Stop.
| make[2]: Leaving directory
`/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/libbonobo-2.10.0/idl'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/libbonobo-2.10.0'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/zwang/gpe-practice/poky/build/tmp/work/armv5te-poky-linux/libbonobo-2.10.0-r1/temp/log.do_compile.11488
NOTE: package libbonobo-2.10.0-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libbonobo-2.10.0: failed
ERROR: Build of
/home/zwang/gpe-practice/poky/meta/packages/gnome/libbonobo_2.10.0.bb
do_compile failed
ERROR: Task 0
(/home/zwang/gpe-practice/poky/meta/packages/gnome/libbonobo_2.10.0.bb,
do_compile) failed
ERROR:
'/home/zwang/gpe-practice/poky/meta/packages/gnome/libbonobo_2.10.0.bb'
failed
BB>>
---------------------------------------------------------------------



File of libbonobo_2.10.0.bb :
---------------------------------------------------------------------
LICENSE = "GPL"
PR = "r1"
SECTION = "x11/gnome/libs"
DESCRIPTION = "Bonobo CORBA interfaces library"
SRC_URI =
"http://altruistic.lbl.gov/mirrors/gnome/sources/libbonobo/2.10/libbonobo-${PV}.tar.bz2
\
           file://gtk-doc.m4 \
           file://gtk-doc.make"
DEPENDS = "glib-2.0 orbit2 intltool-native libxml2"
ORBIT_IDL_SRC = "${STAGING_BINDIR}/orbit-idl-2"

FILES_${PN} += "${libdir}/orbit-2.0/*.so ${libdir}/bonobo/monikers/*.so"
FILES_${PN}-dev += "${libdir}/orbit-2.0/* ${libdir}/bonobo/monikers/* \
	${libdir}/bonobo-2.0/samples"

inherit autotools pkgconfig

PARALLEL_MAKE = ""

do_configure_prepend() {
	install -d m4
	install ${WORKDIR}/gtk-doc.m4 m4/
	install ${WORKDIR}/gtk-doc.make ./
}

ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h
Bonobo_Activation_types.h \
	              bonobo-activation.h bonobo-activation-async.h
bonobo-activation-activate.h \
 		      bonobo-activation-init.h bonobo-activation-shlib.h
bonobo-activation-register.h \
 		      bonobo-activation-server-info.h bonobo-activation-version.h"

BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h
bonobo-event-source.h bonobo-exception.h \
	          bonobo-generic-factory.h bonobo-item-container.h
bonobo-item-handler.h \
	          bonobo-listener.h bonobo-main.h bonobo-macros.h
bonobo-moniker-extender.h \
		  bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h
bonobo-object.h \
		  bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \
		  bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \
	          bonobo-property-bag-client.h bonobo-shlib-factory.h 
bonobo-storage.h \
		  bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \
	          bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h
bonobo-types.h \
		  bonobo-app-client.h bonobo-application.h"

do_compile() {
	oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
}

do_stage() {
	install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation
	for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i
${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done
	install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
	for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i
${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
	install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
	install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
	install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
	oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
	oe_libinstall -so -C bonobo-activation libbonobo-activation
${STAGING_LIBDIR}
}

do_install() {
	oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
}
---------------------------------------------------------------------
-- 
View this message in context: http://www.nabble.com/Ask-for-help-%21-tf3053241.html#a8487470
Sent from the GPE mailing list archive at Nabble.com.




More information about the Gpe-list mailing list