Hi,
Im facing some problems when building the ltib image. I was able to build it initially but added Gnome support, and had run into several issues.
The latest one is under GConf-dbus. This is the output shown:
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for DEPENDENT... configure: error: Package requirements (glib-2.0 > 2.8.0 gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 dbus-glib-1 >= 0.60) were not met:
No package 'dbus-glib-1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DEPENDENT_CFLAGS
and DEPENDENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
error: Bad exit status from /home/mario/ltib/ltib-v.04/ltib/tmp/rpm-tmp.24977 (%build)
RPM build errors:
Bad exit status from /home/mario/ltib/ltib-v.04/ltib/tmp/rpm-tmp.24977 (%build)
Build time for GConf-dbus: 7 seconds
Failed building GConf-dbus
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Thu Feb 23 12:59:26 2012
Ended: Thu Feb 23 12:59:36 2012
Elapsed: 10 seconds
These packages failed to build:
GConf-dbus
Build Failed
----------------------------------------------
Any ideas on how can i get this solved?
Thanks!
Hi,
This is also the same as I told above.
Development Files for gnome-vfs are missing on your Host.
Regards :: Krishna Pavan
Hi Krishna
Thanks, I didn't realize that the required library didn't selected itself. I included it in the build. After that there was another error shown:
(cd .libs/libhttp.lax/libneon.a && ar x /home/mario/ltib/ltib-v.03/rpm/BUILD/gnome-vfs-2.24.1/modules/../imported/neon/.libs/libneon.a)
ar cru .libs/libhttp.a http-neon-method.o http-proxy.o .libs/libhttp.lax/libneon.a/ne_redirect.o .libs/libhttp.lax/libneon.a/ne_alloc.o .libs/libhttp.lax/libneon.a/ne_utils.o .libs/libhttp.lax/libneon.a/ne_basic.o .libs/libhttp.lax/libneon.a/ne_request.o .libs/libhttp.lax/libneon.a/ne_207.o .libs/libhttp.lax/libneon.a/ne_dates.o .libs/libhttp.lax/libneon.a/ne_props.o .libs/libhttp.lax/libneon.a/ne_uri.o .libs/libhttp.lax/libneon.a/ne_string.o .libs/libhttp.lax/libneon.a/ne_xmlreq.o .libs/libhttp.lax/libneon.a/ne_auth.o .libs/libhttp.lax/libneon.a/ne_gnomevfs.o .libs/libhttp.lax/libneon.a/ne_locks.o .libs/libhttp.lax/libneon.a/ne_xml.o .libs/libhttp.lax/libneon.a/ne_md5.o .libs/libhttp.lax/libneon.a/ne_acl.o .libs/libhttp.lax/libneon.a/ne_compress.o .libs/libhttp.lax/libneon.a/ne_session.o
arm-linux-ranlib .libs/libhttp.a
rm -fr .libs/libhttp.lax
creating libhttp.la
(cd .libs && rm -f libhttp.la && ln -s ../libhttp.la libhttp.la)
mv -f .deps/ftp-method.Tpo .deps/ftp-method.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -export_dynamic -avoid-version -module -no-undefined -o libftp.la -rpath /usr/lib/gnome-vfs-2.0/modules ftp-method.lo -pthread -L/home/mario/ltib/ltib-v.03/rootfs/usr/lib -lgmodule-2.0 -lgthread-2.0 -lrt -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../libgnomevfs/libgnomevfs-2.la -lutil -lrt -lrt
gcc -shared .libs/ftp-method.o -Wl,--rpath -Wl,/home/mario/ltib/ltib-v.03/rpm/BUILD/gnome-vfs-2.24.1/libgnomevfs/.libs -L/home/mario/ltib/ltib-v.03/rootfs/usr/lib -lgmodule-2.0 -lgthread-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../libgnomevfs/.libs/libgnomevfs-2.so -lutil -lrt -pthread -Wl,-Bsymbolic-functions -Wl,-soname -Wl,libftp.so -o .libs/libftp.so
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make[2]: *** [libftp.la] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/sftp-method.Tpo .deps/sftp-method.Plo
make[2]: Leaving directory `/home/mario/ltib/ltib-v.03/rpm/BUILD/gnome-vfs-2.24.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mario/ltib/ltib-v.03/rpm/BUILD/gnome-vfs-2.24.1'
make: *** [all] Error 2
error: Bad exit status from /home/mario/ltib/ltib-v.03/tmp/rpm-tmp.33250 (%build)
RPM build errors:
Bad exit status from /home/mario/ltib/ltib-v.03/tmp/rpm-tmp.33250 (%build)
Build time for gnome-vfs: 78 seconds
Failed building gnome-vfs
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Fri Feb 24 11:43:26 2012
Ended: Fri Feb 24 11:47:35 2012
Elapsed: 249 seconds
These packages failed to build:
gnome-vfs
Do you have any suggestion to built this package?
Thanks!
Hi,
Clearly, it shows the graphic libraries that are required are absent on your Host!
Install them
Regards :: Krishna Pavan