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: Fri, 10 Jul 2009 10:20:42 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Daniel,

What distro are you on? 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.


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"
 

reply via email to

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