<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Who can give me some guide about how to compile and package a new package in ltib? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293041#M36013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I now manually building the depend packages, but I don't know which package will block me.&lt;/P&gt;&lt;P&gt;gtk+-2.0 is ok ,next is libcurl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 07:53:08 GMT</pubDate>
    <dc:creator>zhiyancao</dc:creator>
    <dc:date>2013-06-17T07:53:08Z</dc:date>
    <item>
      <title>Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293038#M36010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ltib, I can compile all package provided by ltib release L2.6.35_10.11.01_ER_source_bundle.tar.gz, it can generate a rootfs directory.&lt;/P&gt;&lt;P&gt;But, this time, Provided the rootfs is not exist. I create a new package, for example vmware-open-client, I got source tar, and create the spec, I run ./ltib -m prep -p vmware-open-client, it is ok.&lt;/P&gt;&lt;P&gt;next step, ./ltib -m scbuild -p vmware-open-client, it can not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;czy@czy-virtual-machine:~/imx51/ltib$ ./ltib -m scbuild vmware-open-client&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The options prep, scbuild, scinstall and scdeploy are only allowed when working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on a single package, not a list.&amp;nbsp; You need to supply the option -p|--pkg &amp;lt;pkg&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;czy@czy-virtual-machine:~/imx51/ltib$ ./ltib -m scbuild -p vmware-open-client&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processing: vmware-open-client&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build path taken because: directory build, build key set, no prebuilt rpm, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rpmbuild --dbpath /home/czy/imx51/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/czy/imx51/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/czy/imx51/ltib/tmp' --define '_rpmdir /home/czy/imx51/ltib/rpm/RPMS'&amp;nbsp; --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit&amp;nbsp; /home/czy/imx51/ltib/dist/lfs-5.1/vmware-open-client/vmware-open-client.spec&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Building target platforms: arm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Building for target arm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Executing(%build): /bin/sh -e /home/czy/imx51/ltib/tmp/rpm-tmp.60960&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ umask 022&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ cd /home/czy/imx51/ltib/rpm/BUILD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ cd vmware-open-client-4.5.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+ ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Configuring VMware-view-open-client 4.5.0-297975&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking build system type... i686-pc-linux-gnu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking host system type... arm-unknown-linux-gnu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking which interface to build... Gtk+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for arm-linux-pkg-config... no&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for pkg-config... /opt/freescale/ltib/usr/bin/pkg-config&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;configure: WARNING: In the future, Autoconf will not detect cross-tools&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;whose name does not start with the host triplet.&amp;nbsp; If you think this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;configuration is useful to you, please write to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:autoconf@gnu.org"&gt;autoconf@gnu.org&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking pkg-config is at least version 0.9.0... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for GLIB... configure: error: Package requirements (glib-2.0 &amp;gt;= 2.6.0 gmodule-2.0 &amp;gt;= 2.6.0) were not met:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No package 'glib-2.0' found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No package 'gmodule-2.0' found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Consider adjusting the PKG_CONFIG_PATH environment variable if you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;installed software in a non-standard prefix.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alternatively, you may set the environment variables GLIB_CFLAGS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and GLIB_LIBS to avoid the need to call pkg-config.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See the pkg-config man page for more details.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error: Bad exit status from /home/czy/imx51/ltib/tmp/rpm-tmp.60960 (%build)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RPM build errors:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/czy/imx51/ltib/tmp/rpm-tmp.60960 (%build)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build time for vmware-open-client: 1 seconds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failed building vmware-open-client&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;f_scbuild() returned an error, exiting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;traceback:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; main:560&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exiting on error or interrupt&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know the following 2 tips:&lt;/P&gt;&lt;P&gt;No package 'glib-2.0' found&lt;/P&gt;&lt;P&gt;No package 'gmodule-2.0' found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to solve it, I need to build and install glib-2.0 and gmodule-2.0 using ltib, and when they are in rootfs/usr/lib or some other directory?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 03:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293038#M36010</guid>
      <dc:creator>zhiyancao</dc:creator>
      <dc:date>2013-06-17T03:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293039#M36011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I first build glib2，then scbuild &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; vmware-open-client&lt;/SPAN&gt;, now lack gtk+-2.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 05:18:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293039#M36011</guid>
      <dc:creator>zhiyancao</dc:creator>
      <dc:date>2013-06-17T05:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293040#M36012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, zhiayn!&lt;/P&gt;&lt;P&gt;Unfortunally LTIB not supported package depends, you should be build if manually before target package.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 06:37:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293040#M36012</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2013-06-17T06:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293041#M36013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I now manually building the depend packages, but I don't know which package will block me.&lt;/P&gt;&lt;P&gt;gtk+-2.0 is ok ,next is libcurl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 07:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293041#M36013</guid>
      <dc:creator>zhiyancao</dc:creator>
      <dc:date>2013-06-17T07:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293042#M36014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Adding a new package can be a pain, because it involves installing its dependencies as you have found out. Perhaps you already know how to create a &lt;EM&gt;.spec&lt;/EM&gt; file, but take a look at this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ltib.org/documentation-LtibFaq#ref_89" title="http://ltib.org/documentation-LtibFaq#ref_89"&gt;http://ltib.org/documentation-LtibFaq#ref_89&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 15:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293042#M36014</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-06-17T15:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Who can give me some guide about how to compile and package a new package in ltib?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293043#M36015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vmware-open-client configure file check some header file, such as wchar.h, unicode/uidna.h;&lt;/P&gt;&lt;P&gt;wchar.h check is ok,&lt;/P&gt;&lt;P&gt;but unicode/uidna.h is not;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tips:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking wchar.h usability... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking wchar.h presence... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for wchar.h... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for SYS_setuid32... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for the new format of iconv... yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking whether sys/ucontext.h defines REG_EAX... no&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking unicode/uidna.h usability... no&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking unicode/uidna.h presence... no&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;checking for unicode/uidna.h... no&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;configure: error: libicu is required, but not found.&amp;nbsp; Check config.log for details.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where to find the header file when configure is running?&lt;/P&gt;&lt;P&gt;/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi/include/&lt;/P&gt;&lt;P&gt;is right?&lt;/P&gt;&lt;P&gt;But wchar.h is ok, I copy unicode directory to the above dir, but configure can not find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 09:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Who-can-give-me-some-guide-about-how-to-compile-and-package-a/m-p/293043#M36015</guid>
      <dc:creator>zhiyancao</dc:creator>
      <dc:date>2013-06-18T09:23:43Z</dc:date>
    </item>
  </channel>
</rss>

