ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] error while compiling pango-1.20 and gtk+-2.18 by ltib


From: Stuart Hughes
Subject: Re: [Ltib] error while compiling pango-1.20 and gtk+-2.18 by ltib
Date: Fri, 11 Jun 2010 10:28:01 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Just to be clear, can you confirm that you are trying to upgrade version
of gtk2, cairo, pango ?

If this is the case, then it's a matter of working through the issues.
This is a packaging problem of gtk2, not an LTIB domain problem. You
need to debug the failure, and figure out where the "cross compiling"
message is coming from and then decide how to override this.  Often
there are controls you can pass to configure that pre-answer the tests.
 Doing this prevents a test being run and so avoids failures.  If you run:
grep ac_cv dist/lfs-5.1/*/*.spec

You will see some examples of what I mean.  If there is nothing to
control this action, you'll need to patch configure to avoid the
failure.  However, you must make sure that whatever the test was trying
to do is still achieved (e.g. pre-decide the outcome you want).

Regards, Stuart

super spirit wrote:
> Stuart thanks for your replay. i am using freshly downloaded BSP from
> ltib.org <http://ltib.org>. By default  ltib BSP comes with gtk+-2.12.1,
> to be clear i want webkit-1.15  for my application and webkit needs min
> gtk+-2.18.7, cairo 1.6, pango >1.20. if i need to apply patch for
> gtk+-2.18.7 where should i get it  also can u pls  elaborate ac_cv_..=no
> is that for gtk or ltib.
> 
> thanks
> 
> 
> On Fri, Jun 11, 2010 at 1:18 PM, Stuart Hughes <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     The version of gtk2 in Savannah LTIB is 2.12.1, so I don't know.  Looks
>     like it needs a patch or an ac_cv_....=no to fix this.  Where did you
>     get this BSP?  maybe they can help.
> 
>     Regards, Stuart
> 
>     super spirit wrote:
>     > Hi all, i am tryng to compile gtk+-2.18 , pango-1.20.2 with cairo-1.6.
>     > the error i am getting is
>     > " checking if gio can sniff png... configure: error: in
>     > `/home/irode/ltib/rpm/BUILD/gtk+-2.18.7':
>     > configure: error: cannot run test program while cross compiling. ".
>     > i am listing part of log file, pls have a look. people can u
>     suggest me
>     > a wht might be the problem.
>     >
>     > thanks
>     >
>     > =========================================================
>     > + cd pango-1.20.2
>     > + rm -rf /home/irode/ltib/tmp/pango
>     > + exit 0
>     > Executing(--clean): /bin/sh -e /home/irode/ltib/tmp/rpm-tmp.19554
>     > + umask 022
>     > + cd /home/irode/ltib/rpm/BUILD
>     > + rm -rf pango-1.20.2
>     > + exit 0
>     > Build time for pango: 101 seconds
>     >
>     > sudo /opt/ltib/usr/bin/rpm --root /home/irode/ltib/rootfs --dbpath
>     > /var/lib/rpm -e --allmatches --nodeps --noscripts --define '_tmppath
>     > /tmp/ltib' pango 2>/dev/null
>     > sudo /opt/ltib/usr/bin/rpm --root /home/irode/ltib/rootfs --dbpath
>     > /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs
>     > --noscripts --define '_tmppath /tmp/ltib'
>     > /home/irode/ltib/rpm/RPMS/arm/pango-1.20.2-1.arm.rpm
>     > Preparing...              
>      ###########################################
>     > [100%]
>     >    1:pango                
>      ###########################################
>     > [100%]
>     >
>     > Processing: gtk2
>     > ==================
>     > Build path taken because: directory build, no prebuilt rpm,
>     > scbuild/scdeploy already unpacked package
>     >
>     > Processing: gtk2
>     > ==================
>     > Build path taken because: directory build, build key set, no
>     prebuilt rpm,
>     >
>     > rpmbuild --dbpath /home/irode/ltib/rootfs//var/lib/rpm --target arm
>     > --define '_unpackaged_files_terminate_build 0' --define '_target_cpu
>     > arm' --define '__strip strip' --define '_topdir /home/irode/ltib/rpm'
>     > --define '_prefix /usr' --define '_tmppath /home/irode/ltib/tmp'
>     > --define '_rpmdir /home/irode/ltib/rpm/RPMS'  --define '_mandir
>     > /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
>     > /var' -bc --short-circuit
>      /home/irode/ltib/dist/lfs-5.1/gtk2/gtk2.spec
>     > Building target platforms: arm
>     > Building for target arm
>     > Executing(%build): /bin/sh -e /home/irode/ltib/tmp/rpm-tmp.26460
>     > + umask 022
>     > + cd /home/irode/ltib/rpm/BUILD
>     > + cd gtk+-2.18.7
>     > ...
>     > ..
>     > .
>     > checking for libpng12... yes
>     > checking pixbuf loaders to build...
>     > checking if gio can sniff png... configure: error: in
>     > `/home/irode/ltib/rpm/BUILD/gtk+-2.18.7':
>     > configure: error: cannot run test program while cross compiling
>     > See `config.log' for more details.
>     > error: Bad exit status from /home/irode/ltib/tmp/rpm-tmp.26460
>     (%build)
>     > ..
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > LTIB home page: http://ltib.org
>     >
>     > Ltib mailing list
>     > address@hidden <mailto:address@hidden>
>     > http://lists.nongnu.org/mailman/listinfo/ltib
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]