[t:/]$ 지식_

DirectFB 1.4.9 build note.

2010/12/08

간만에 하니까 다시 기록해봅시다~

arm-generic-gnueabi-linux 이런 건 귀찮으니 전부 심볼릭 링크로 변환 후 작업할 것.

jpeg-8b

CC=arm-linux-gcc ./configure -prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --enable-static --enable-shared

zlib

CC=arm-linux-gcc ./configure -prefix=/home/keeptalk/NXP2120/work/dfb_build/

pkg-config를 인스톨 할 것.

libpng

CC=arm-linux-gcc ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build 
--host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux 
--with-pkgconfigdir=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig

libiconv

PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig CC=arm-linux-gcc ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux 

gettext  // 아래 작업 하지 말고 그냥 호스트에 gettext를 깐다.

CC=arm-linux-gcc PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux

atk

PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig CC=arm-linux-gcc ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux

libxml2

PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig CC=arm-linux-gcc ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --with-iconv=/home/keeptalk/NXP2120/work/dfb_build/lib

freetype

PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig CC=arm-linux-gcc ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux 

fontconfig

apt-get install autoconf
apt-get install libtool

./autogen.sh

PKG_CONFIG_PATH=/home/keeptalk/NXP2120/work/dfb_build/lib/pkgconfig CC=arm-linux-gcc CFLAGS='-I/home/keeptalk/NXP2120/work/dfb_build/include' LDFLAGS=-L/home/keeptalk/NXP2120/work/dfb_build/lib ./configure --prefix=/home/keeptalk/NXP2120/work/dfb_build --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --with-arch=arm --with-freetype-config=/home/keeptalk/NXP2120/work/dfb_build/bin/freetype-config --enable-libxml2 

liboil

PKG_CONFIG_PATH=/home/qtlibs/oss/lib/pkgconfig CFLAGS="-I/home/qtlibs/oss/include -L/home/qtlibs/oss/lib" LDFLAGS='-liconv' CC=arm-linux-gcc ./configure --prefix=/home/qtlibs/oss --build=i686-pc-linux-gnu --host=arm-linux --target=arm-linux

bzip2 / Makefile 을 고침

openSSL build

Configure 파일의 linux-elf -> linux-elf-arm gcc -> arm-linux-gcc 고침
./Configure linux-elf-arm --prefix=/home/qtlibs/oss/lib/openssl-arm --openssldir=/home/qtlibs/oss/lib/openssl-arm -L/home/qtlibs/oss/lib shared no-threads no-asm

libsoup

PKG_CONFIG_PATH=/home/qtlibs/oss/lib/pkgconfig CFLAGS="-I/home/qtlibs/oss/lib/openssl-arm/include" LDFLAGS="-L/home/qtlibs/oss/lib/openssl-arm/lib" ./configure --build=i686-pc-linux-gnu --target=arm-linux --host=arm-linux --prefix=/home/qtlibs/oss --disable-ssl --without-gnome

ssl 다시
./Configure linux-elf-arm --prefix=/home/qtlibs/oss -L/home/qtlibs/oss/lib shared no-threads no-asm

gstreamer

bison 설치
flex 설치

gst-plugin-base
PKG_CONFIG_PATH=/home/qtlibs/oss/lib/pkgconfig CC=arm-linux-gcc CFLAGS="-I/home/qtlibs/oss/include" LDFLAGS="-L/home/qtlibs/oss/lib" ./configure --build=i686-pc-linux-gnu --target=arm-linux --host=arm-linux --prefix=/home/qtlibs/oss --disable-ogg --disable-vorbis

gst-plugins-good

PKG_CONFIG_PATH=/home/qtlibs/oss/lib/pkgconfig CC=arm-linux-gcc CFLAGS="-I/home/qtlibs/oss/include" LDFLAGS="-L/home/qtlibs/oss/lib" ./configure --build=i686-pc-linux-gnu --target=arm-linux --host=arm-linux --prefix=/home/qtlibs/oss --disable-shout2

http://powergi.tistory.com/entry/zlib-openssl-openssh-%ED%81%AC%EB%A1%9C%EC%8A%A4%EC%BB%B4%ED%8C%8C%EC%9D%BCarm%EC%9A%A9

libical

libtool 에 문제가 있으니.. glib 에 있는 것을 카피해온다.

PKG_CONFIG_PATH=/home/qtlibs/oss/lib/pkgconfig CC=arm-linux-gcc CFLAGS="-I/home/qtlibs/oss/include" LDFLAGS="-L/home/qtlibs/oss/lib" ./configure --build=i686-pc-linux-gnu --target=arm-linux --host=arm-linux --prefix=/home/qtlibs/oss

libcurl 에서 ./configure 하다가 에러나면 .. 그 부분 제거

libxml++

libglibmm (너무 최신 버전 쓰면 안 된다. glib 에러 남)

glibc 경로 못 찾으면 심볼릭 링크 만들어줌

libsigc++




공유하기













[t:/] is not "technology - root". dawnsea, rss