[buildroot 0000754]: "prefix" path is used to retrieve data files by directfb
bugs at busybox.net
bugs at busybox.net
Thu Apr 6 17:49:17 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=754
======================================================================
Reported By: vspaceg
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 754
Category: Architecture Specific
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-23-2006 09:43 PST
Last Modified: 04-06-2006 10:49 PDT
======================================================================
Summary: "prefix" path is used to retrieve data files by
directfb
Description:
Directfb is using the "prefix" path to retrieve data files.
So the host path of the build appears as missing when I execute on the
target.
Work-around:
I patched directfb this way, in order to have "prefix" having two
different values when compiling and when installing:
(note: look for "--prefix="):
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
(cd $(DIRECTFB_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
ac_cv_header_linux_wm97xx_h=no \
ac_cv_header_linux_sisfb_h=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--with-gfxdrivers=cle266,unichrome \
--enable-jpeg \
[...]
(note: look for "prefix=")
$(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
$(MAKE) -C $(DIRECTFB_DIR) install prefix=$(STAGING_DIR)/usr
$(MAKE) -C $(DIRECTFB_DIR)/lib/fusion install prefix=$(STAGING_DIR)/usr
$(MAKE) -C $(DIRECTFB_DIR)/lib/direct install prefix=$(STAGING_DIR)/usr
touch -c $(STAGING_DIR)/lib/libdirectfb.so
======================================================================
----------------------------------------------------------------------
andersen - 04-06-06 10:49
----------------------------------------------------------------------
This problem is now fixed
Issue History
Date Modified Username Field Change
======================================================================
02-23-06 09:43 vspaceg New Issue
02-23-06 09:43 vspaceg Status new => assigned
02-23-06 09:43 vspaceg Assigned To => uClibc
04-06-06 10:49 andersen Note Added: 0001230
04-06-06 10:49 andersen Status assigned => closed
04-06-06 10:49 andersen Resolution open => fixed
======================================================================
More information about the uClibc-cvs
mailing list