블로그 이미지
언제나 늘 푸른 소나무처럼. 자신의 의지로 오롯이 서기
예섬수진

공지사항

최근에 받은 트랙백

글 보관함

calendar

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

'opensource'에 해당되는 글 3

  1. 2010.08.09 OpenSource]Hwo to build Cairo
  2. 2010.05.04 OpenSource-Python]How to build source
  3. 2010.05.04 OpenSource]How to Get Python Source

OpenSource]Hwo to build Cairo

2010.08.09 23:57 | Posted by 예섬수진
1. Build Environment : Cent OS

2. Required package [you can download package using sudo apt-get install]
  - autoconf : make configuration file 
  - automake : create makefile using created configuration file 
  - libtool : support cross compile * originally, makefile does not consider cross compile
  - gettext

3. Download source codes with git
  - git clone git://anongit.freedesktop.org/git/cairo
  - git clone git://anongit.freedesktop.org/git/pixman.git
* To update source, you can use "git pull" command

4. Build source
  1) build pixman
    - In pixman folder, 
       a) run "./autogen.sh" to make config file and makefile
       b) run "make" to create obj files
       c) run "make install" to install shared object(=dll) on local PC [location : /usr/local/lib]
  
   2) build cairo  
    - In cairo folder, 
       a) run "./autogen.sh" to make config file and makefile
       b) run "make" to create obj files
       c) run "make install" to install shared object(=dll) on local PC [location : /usr/local/lib/cairo]

5. To run cairo using created library [so]
  - modify LD_LIBRARY_PATH variable
       export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

  * how to find required library on linux
      1. find library on specified path [ static ]  
      2. find library on LD_LIBRARY_PATH
      3. find library on system path
        => If system can not find library, system shows message [can not find specific so file]

'컴퓨터 > 기타' 카테고리의 다른 글

알고리즘]WERTYU  (0) 2011.02.08
Cairo]Hello, World  (0) 2010.08.11
OpenSource]Hwo to build Cairo  (0) 2010.08.09
단축키 모음  (0) 2010.06.08
Makefile 의문  (0) 2010.03.23
ODBC for MySQL  (1) 2010.02.07

OpenSource-Python]How to build source

2010.05.04 08:04 | Posted by 예섬수진
(1) Create Makefile
./configure --prefix=/dev/null --with-pydebug

(2) Compile Python
make -s


'컴퓨터 > Python' 카테고리의 다른 글

OpenSource-Python]How to build source  (0) 2010.05.04
OpenSource]How to Get Python Source  (0) 2010.05.04
Python]ConfigParser를 이용한 ini 파일 읽기  (0) 2010.01.20
Python]한글 입력  (0) 2010.01.20
Python] 다른 프로그램 실행  (0) 2010.01.19
Python] Linux에서 Python 설치  (0) 2009.10.21

OpenSource]How to Get Python Source

2010.05.04 00:21 | Posted by 예섬수진
1. 사전 준비
  (1) OS : Ubuntu 4.4
  (2) Subversion
      apt-get install subversion
  (3) OpenSSL
      apt-get install openssl
  * apt-get update : /etc/apt/sources.list 갱신

2. SVN으로 소스 다운받기 
   svn checkout <URL> [PATH]
 For Read only Checkout URL  For Read Write Checkout URL
 http://svn.python.org/projects/  svn+ssh://pythondev@svn.python.org/

Repository read-only read-write
PEPs http://svn.python.org/projects/peps/trunk svn+ssh://pythondev@svn.python.org/peps/trunk
2.6 http://svn.python.org/projects/python/branches/release26-maint svn+ssh://pythondev@svn.python.org/python/branches/release26-maint
2.7 (trunk) http://svn.python.org/projects/python/trunk svn+ssh://pythondev@svn.python.org/python/trunk
3.1 http://svn.python.org/projects/python/branches/release31-maint svn+ssh://pythondev@svn.python.org/python/branches/release31-maint
3.2 http://svn.python.org/projects/python/branches/py3k svn+ssh://pythondev@svn.python.org/python/branches/py3k
  * source update : svn update



'컴퓨터 > Python' 카테고리의 다른 글

OpenSource-Python]How to build source  (0) 2010.05.04
OpenSource]How to Get Python Source  (0) 2010.05.04
Python]ConfigParser를 이용한 ini 파일 읽기  (0) 2010.01.20
Python]한글 입력  (0) 2010.01.20
Python] 다른 프로그램 실행  (0) 2010.01.19
Python] Linux에서 Python 설치  (0) 2009.10.21
이전 1 다음

티스토리 툴바