Hi,
I am using imx53 QSB and development host running in Ubuntu 10.10 + ltib (I am not using the vmware VM_UBUNTU.zip lucid ) . I started with "preconfig min profile" and the u-boot,kernel and rootfs is ok, flashed inside the MicroSD and tested with the board fine. Just that it got no X like the one Ubuntu 10.04(Lucid) demo images inside the MicroSD card which came with the imx53 QSB. So, my goal is to build a rootfs with Desktop. The "preconfig min profile" got no X so what I did next is I remove everything and reinstall ltib and I choose "FSL gnome release package". The reason I reinstall ltib is because the ./ltib -c seem not allowing us to go back to select Package profile screen.
During the build, I am also having exactly same problem as highlighted by David Viana of "cannot find -lgssapi_krb5". My guess is the FSL gnome release package does not include krb5 package (CONFIG_PKG_KRB5 flag inside defconfig.dev is not set). So, After the build failure, I go on with "./ltib -m config" and from the package list, I select the "[ * ] Kerberos 5 authentication" and do "./ltib" to build it again. The build process start configuring Kerberos 5 authentication and it stopped at the below:
=======================================================
checking for res_search... no
checking for res_search in -lresolv... no
configure: error: Cannot find resolver support routine res_search in -lresolv.
error: Bad exit status from /home/freescale/training_mx53/linux/ltib/tmp/rpm-tmp.81031 (%build)
=======================================================
I do have /lib/libresolv-2.12.1.so and also inside the LTIB toolchain. I don't know why the error above occur but my guess is that the "res_search in -lresolv...no" has something do with krb5 dns lookup so I just trying proceed to add "--disable-dns" inside the following file configure section:
/home/freescale/training_mx53/linux/ltib/dist/lfs-5.1/krb5/krb5.spec //Added --disable-dns
Then I proceed to ./ltib again and the build process for krb5 still failed after a while.
So, I proceed to disable the kerberos checking inside the following file using a patch from http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg01573.html.
/home/freescale/training_mx53/linux/ltib/dist/lfs-5.1/gnome-vfs/gnome-vfs.spec //Added - --disable-kerberos
/home/freescale/training_mx53/linux/ltib/rpm/BUILD/gnome-vfs-2.24.1/configure.in //Patched
Unfortunately, somehow running ./ltib will not use the modified configure.in, I don't know why, maybe it got from some configure cache of something. So, I proceed with "./ltib -m distclean" and opps ! everything gone, so I got to run ./ltib -c again to start from the beginning. The only different this time is that I select "FSL gnome release package" straight away and manually adding "[ * ] Kerberos 5 authentication". At the time of this writting, the ltib has been running for 5 hours + ..... and haven't reach the gnome vfs section yet, not sure it will fail again or ok........
Some Questions:
============================
1. Anyone who has successfully built "FSL gnome release package", appreciate if you could share your method.
2. Anyone know how to add on which packages on top of the "preconfig min profile" to get minimum X desktop working, appreciate if you could share it also. Thanks.
3. Anyone from Freescale or elsewhere know how the Ubuntu 10.04 desktop (Lucid) inside the microSD card is built with what LTIB configuration, appreciate if you could share it.Perhap, from there , I can use the similiar method for Ubuntu 10.10.
Many thanks in advance.