From: Stuart Hughes <address@hidden>
Subject: Re: [Ltib] microwindows problem
To: "haitham akah" <address@hidden>
Cc: address@hidden
Date: Monday, October 19, 2009, 2:53 AM
Hi Haitham,
* which version of LTIB are you building from
* which target are you building.
When I build microwindows it doesn't even try to build
freetype as the default config file disables this. You
can't just enable it as it's looking in /usr/include for the
files, which are for your host not the target.
As an aside, I recommend you only install packages from
your package manager for your host machine.
Regards, Stuart
haitham akah wrote:
Hi
I'm trying to add the microwindows to my rootfs. but
it gove me the following error:
Processing: microwindows
==========================
Build path taken because: directory build, build key
set, no prebuilt rpm,
rpmbuild --dbpath /home/comp/ltib/rootfs//var/lib/rpm
--target arm --define '_unpackaged_files_terminate_build 0'
--define '_target_cpu arm' --define '__strip strip' --define
'_topdir /home/comp/ltib/rpm' --define '_prefix /usr'
--define '_tmppath /home/comp/ltib/tmp' --define '_rpmdir
/home/comp/ltib/rpm/RPMS' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define
'_localstatedir /var' -bc --short-circuit
/home/comp/ltib/dist/lfs-5.1/microwindows/microwindows.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e
/home/comp/ltib/tmp/rpm-tmp.86866
+ umask 022
+ cd /home/comp/ltib/rpm/BUILD
+ cd microwindows-0.91
+ cd src
+ make -j1 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//'
make[2]: Circular
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/lib/ <-
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/lib/
dependency dropped.
Compiling engine/font_freetype.c ...
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:14:31:
freetype/freetype.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:15:30:
freetype/ftxkern.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:16:31:
freetype/ftnameid.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:17:30:
freetype/ftxcmap.h: No such file or directory
according to this (error "You must link with freetype
lib version 1.3.x +, and not freetype 2.") I checked my SUSE
10.2 and find that it has a freetype 1 but with out the
development rpm (and no option to add it) only a dev rpm is
there for freetype2.
so I get the source of freetype 1.3.1 and try to
./configure and then make
but make gave me this error:
cd lib; make -f arch/unix/Makefile all
make[1]: Entering directory
`/home/comp/freetype-1.3.1/lib'
what should I do
how should I link microwindws to freetype 1.3 ??
yours
Haitham Akah
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib