LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 12-02-2009, 11:05 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
install directFB path problem


Hi all,
I've been trying to follow some tutorials on compiling directFB on ARM. All seems well except a couple of libs it uses (which I have already cross compiled) are calling my system libs from configure rather than my cross compile libaries.
Configure shows

PNG yes -I/usr/include/libpng14 -lpng14

Building Font Modules:
FreeType2 yes -I/usr/include/freetype2 -lfreetype

But it should show my cross compiled build, which are in
/root/DirectFBArm/staging/usr/......

I've set paths and also used PKG_CONFIG_PATH & PKG_CONFIG_SYSROOT_DIR with my configure but it still shows my "host" libs. I call the configure with


LDFLAGS=-L/root/DirectFBArm/staging/usr/lib CPPFLAGS=-I/root/DirectFBArm/staging/usr/include PKG_CONFIG_PATH=/root/DirectFBArm/staging/usr/lib/pkgconfig/ PKG_CONFIG_SYSROOT_DIR=/root/DirectFBArm/staging/ PATH=/root/DirectFBArm/staging/usr/bin:$PATH CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/usr --with-gfxdrivers=none --with-inputdrivers=keyboard,linuxinput

I presume it won't work because it's calling the wrong libs/includes, can anyone advise? Thanks in advance
 
Old 12-04-2009, 03:45 AM   #2
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Well I've found one answer pkg config will not config on older version <0.23. So basically Debian and Ubuntu users need to download source and build for the command to work
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which package to install to use mplayer under console (tty) with fbdev / directfb ? frenchn00b Debian 1 09-20-2009 06:05 AM
DirectFB problem on Fedora HarryBoy Linux - Software 1 05-01-2008 09:28 AM
problem in installing directfb? fariborz Linux - Software 1 04-23-2008 03:02 AM
Problem with directfb-fusion. Lockywolf Slackware 2 07-22-2007 11:26 AM
ati, directfb, and tv-out problem lukebeales Linux - Software 1 05-18-2004 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration