[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] DirectFB.spec
From: |
Paulista UnB |
Subject: |
[Ltib] DirectFB.spec |
Date: |
Fri, 7 Nov 2008 11:13:01 -0200 |
Hi, all !
I tryed to compile DirectFB and I got this error:
log:
---------------------------------------------------------------------------------
+ export FREETYPE_CONFIG=/home/eduardo/PDK/ltib-imx31modular-20080102/rootfs/usr/bin/freetype-config
+ /home/eduardo/PDK/ltib-imx31modular-20080102/rootfs/usr/bin/freetype-config --prefix=/home/eduardo/PDK/ltib-imx31modular-20080102/rootfs//usr --cflags
+ export FREETYPE_CFLAGS=-I/home/eduardo/PDK/ltib-imx31modular-20080102/rootfs//usr/include/freetype2 -I/home/eduardo/PDK/ltib-imx31modular-20080102/rootfs//usr/include
export: 1: -I/home/eduardo/PDK/ltib-imx31modular-20080102/rootfs//usr/include: bad variable name
error: Bad exit status from /home/eduardo/PDK/ltib-imx31modular-20080102/tmp/rpm-tmp.50652 (%build)
---------------------------------------------------------------------------------
I fixed it making a small change in the DirectFB.spec.
I changed the lines below:
--------------------------------
export FREETYPE_CONFIG=${DEV_IMAGE}/usr/bin/freetype-config
export FREETYPE_CFLAGS=`${FREETYPE_CONFIG} --prefix=${DEV_IMAGE}/%{_prefix} --cflags`
export FREETYPE_LIBS=`${FREETYPE_CONFIG} --prefix=${DEV_IMAGE}/%{_prefix} --libs`
-------------------------------
by
-----------------------------
export FREETYPE_CONFIG=${DEV_IMAGE}/usr/bin/freetype-config
export FREETYPE_CFLAGS="`${FREETYPE_CONFIG} --prefix=${DEV_IMAGE}/%{_prefix} --cflags`"
export FREETYPE_LIBS="`${FREETYPE_CONFIG} --prefix=${DEV_IMAGE}/%{_prefix} --libs`"
-----------------------------
This change could affect the program ?!
Thanks,
Eduardo Silva
www.ihouse.com.br
- [Ltib] DirectFB.spec,
Paulista UnB <=