ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] ncurses or .gvfs failed?


From: Stuart Hughes
Subject: Re: [Ltib] ncurses or .gvfs failed?
Date: Thu, 09 Jul 2009 15:51:09 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Daniel,

You can safely ignore the .gvfs 'error', it doesn't cause a problem. It's a bug with gnome virtual filesystem on some distros IIRC, I thought you could mitigate this with: export GVFS_DISABLE_FUSE=1, however you need to google to check.

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.

Anyhow, for support with Freescale BSPs you should really to talk to them. However suspect if you edit dist/lfs-5.1/ncurses/ncurses.spec and locate the 'make install' section in %Install is will look like this (all one line).

make -j1 install DESTDIR=$RPM_BUILD_ROOT/%{pfx} includedir=%{_prefix}/include/ncurses libdir=%{_prefix}/lib mandir=%{_mandir}

Try changing it so the BUILDCC is used for building host components, e.g:

make -j1 install DESTDIR=$RPM_BUILD_ROOT/%{pfx} includedir=%{_prefix}/include/ncurses libdir=%{_prefix}/lib mandir=%{_mandir} HOSTCC="$BUILDCC"

Ideally you should try to work out why something that was not built in the %Build section is suddenly wanted in %Install. Let me know if you find anything.

Regards, Stuart


Daniel.Li wrote:
Dear List,

I have got this in host_config.log, it seems there is something wrong
with .gvfs, but it's really nothing to do with ltib. Is there anyone
familiar with this error?

And from output, we have LOG 2, see below for details, it says,
ncurses-5.3 can't be successfully compiled. Did anyone meet this before?


Really no idea about how this BSP works? Any help is really appreciated.
Thanks in advance.


make[1]: Entering directory
`/home/daniel/work/ltib-mpc837xerdb-20081113/rpm/BUILD/ncurses-5.3/Ada95'
for d in gen src samples; do \
                (cd $d ; make  all) ;\
        done
make[2]: Entering directory
`/home/daniel/work/ltib-mpc837xerdb-20081113/rpm/BUILD/ncurses-5.3/Ada95/gen'
gcc -I. -I../../include -DHAVE_CONFIG_H -I. -O2  -c -o gen.o ./gen.cD
gcc -I. -I../../include -DHAVE_CONFIG_H -I. -O2  gen.o
-Wl,-rpath,/home/daniel/work/ltib-mpc837xerdb-20081113/rpm/BUILD/ncurses-5.3/lib
  -o gen -L../../lib -lncurses
./gen '' B K >Key_Definitions
/bin/sh: ./gen: cannot execute binary file
make[2]: *** [Key_Definitions] Error 126
make[2]: Leaving directory




reply via email to

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