ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] ncurses or .gvfs failed?


From: Daniel.Li
Subject: Re: [Ltib] ncurses or .gvfs failed?
Date: Fri, 10 Jul 2009 19:32:56 +0800

On Fri, 2009-07-10 at 11:44 +0100, Stuart Hughes wrote:
> Hi Daniel,
> 
> I mean which host distro (Debian, Fedora, Ubuntu etc) are you on?

I'm using ubuntu 9.04(Jaunty). :)


Well, tech support from Freescale, they ask me to try other distro. Is
there any compatibility issue with ltib?


> 
> The latest I just checked in (and sent to you, see below) should fix the 
> issue.

OK, I will check it out later and feed back to you when there is any
result :)

Thanks.


> 
> Regards, Stuart
> 
> Daniel.Li wrote:
> > On Fri, 2009-07-10 at 10:20 +0100, Stuart Hughes wrote:
> >> Hi Daniel,
> >>
> >> What distro are you on? 
> > 
> > I'm using ltib-mpc837xerdb-20081113, which is directly downloaded form
> > Freescale
> > http://www.freescale.com/webapp/sps/site/prod_summary.jsp?ProdMetaId=PID
> > %2FDT%
> > 2FMPC8377ERDB&isAdvanceSearch=false&showCustomCollateral=false&RELEVANCE=true&fromTrng=false&showAllCategories=false&fpsp=1&fromPSP=true&SelectedAsset=Downloads&&assetLocked=false&leftNavCode=1&assetLockedForNavigation=true&code=MPC8377ERDB&isResult=false&componentId=2&searchSessionId=1ab53021247220442690.0&fromDAP=false&fromWebPages=false&tab=Design_Tools_Tab&isTree=false&isFromFlex=false&isComparison=false&Downloads=Downloads/020JOVEXKHR6%60%60Run-time%20Software/030JOVF8C9UN%60%60Board%20Support%20Packages&
> >  
> > 
> > The difference between ncurses.spec from Freescale and CVS, see
> > attachment. 
> > 
> > Well, I don't know much. Hope it can help. Please let me know if there
> > is any thing that I can provide. 
> > 
> > 
> > Thanks very much.
> > 
> > 
> > 
> >> I'm not able to reproduce this.  It must be some 
> >> difference in what configure is detecting in your distro's environment.
> >>
> >> I'm going to check in this patch to Savannah CVS which I believe will 
> >> fix this problem.  If you can, please try it.
> >>
> >> Regards, Stuart
> >>
> >>
> >> Daniel.Li wrote:
> >>> On Fri, 2009-07-10 at 06:44 +0800, Daniel.Li wrote:
> >>>> On Thu, 2009-07-09 at 15:51 +0100, Stuart Hughes wrote:
> >>>>> The other failure is odd, I've not see this before.  What it looks
> >>>>> like 
> >>>>> is that the %build section worked okay, but in the %install section
> >>>>> it 
> >>>>> has decided to build the ada95 stuff, not sure why.
> >>>> Well, I think I find something in Makefile, see below. That's why it's
> >>>> going to build ada95 stuff.
> >>>>
> >>>> libs \
> >>>> install.libs \
> >>>> uninstall.libs ::
> >>>>         cd Ada95 && $(MAKE) $(CF_MFLAGS) $@
> >>>>
> >>> Well, I have located the problem. The top level Makefile is going to
> >>> build Ada95, and gen is build for fresscale CPU
> >>>
> >>> ~/work/ltib-mpc837xerdb-20081113/rpm/BUILD/ncurses-5.3/Ada95/gen
> >>>
> >>> gen: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV),
> >>> dynamically linked (uses shared libs), for GNU/Linux 2.6.10, with
> >>> unknown capability 0x41000000 = 0x11676e75, with unknown capability
> >>> 0x10000 = 0x90401, not stripped
> >>>
> >>> Apparently, this file is not for Freescale CPU, it's for host. So I have
> >>> modify the Makefile, it works now. but I don't know how to fix it in
> >>> ltib.
> >>>
> >>>
> >>> ----- LOG below------------
> >>> Preparing...                ###########################################
> >>> [100%]
> >>>    1:ncurses                ###########################################
> >>> [100%]
> >>>
> >>> Processing deployment operations
> >>>
> >>> .... bla.... bla.....
> >>>
> >>> Build Succeeded
> >>> ----- LOG above------------
> >>>
> >>>
> >>> Is there any way to add a patch or something to solve this kind of
> >>> problem in ltib? 
> >>>
> >>> I know this is a foolish question. But I wanna quickly locate an example
> >>> and related references that can let me do the job faster.
> >>>
> >>>
> >>> Thanks again.
> >>>
> >>>
> >> plain text document attachment (ncurses-noada.txt)
> >> Index: dist/lfs-5.1/ncurses/ncurses.spec
> >> ===================================================================
> >> RCS file: /sources/ltib/ltib/dist/lfs-5.1/ncurses/ncurses.spec,v
> >> retrieving revision 1.1.1.5
> >> diff -u -r1.1.1.5 ncurses.spec
> >> --- dist/lfs-5.1/ncurses/ncurses.spec      18 Mar 2009 17:53:25 -0000      
> >> 1.1.1.5
> >> +++ dist/lfs-5.1/ncurses/ncurses.spec      10 Jul 2009 09:19:46 -0000
> >> @@ -31,11 +31,11 @@
> >>  then
> >>  ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
> >>      --with-install-prefix=$RPM_BUILD_ROOT --mandir=%{_mandir} \
> >> -    --with-shared  --without-debug --without-cxx-binding
> >> +    --with-shared  --without-debug --without-cxx-binding --without-ada 
> >>  else
> >>  ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
> >>      --with-install-prefix=$RPM_BUILD_ROOT --mandir=%{_mandir} \
> >> -    --without-shared  --without-debug --without-cxx-binding
> >> +    --without-shared  --without-debug --without-cxx-binding --without-ada
> >>  fi
> >>  make -j1 HOSTCC="$BUILDCC"
> >>  
> >>
-- 
Daniel Li






reply via email to

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