ImageMagick 를 compile 설치 했더니,

.pc 파일들이  /usr/local/lib/pkgconfig/  에 생성되었다.


시스템에 설치된 pkg-config 를 사용하면

default 로 /usr/share/pkgconfig/ 를 참조해서

위에서 생성된 .pc 파일들을 참조하지 못하는 문제가 발생.



pkg-config man-page 를 보고

아래와 같이 환경 변수를 잡아주니 해결되었다.

export PKG_CONFIG_PATH=/usr/share/pkgconfig/:/usr/local/lib/pkgconfig/




cf.

http://linux.die.net/man/1/pkg-config 
http://people.freedesktop.org/~dbn/pkg-config-guide.html 

 

'opensource' 카테고리의 다른 글

apache 1.3.42 - fedora 14  (0) 2012.02.19
svn - Unrecognized URL scheme  (0) 2012.02.07
mcrypt libmcrypt  (0) 2011.02.21
hadoop  (0) 2010.06.28
Pureftpd - FTP over SSH  (0) 2010.06.22
Latest update: 2012. 1. 3. 13:35

Work expands so as to fill the time available for its completion.
Parkinson's Law 1958


The demand upon a resource tends to expand to match the supply of the resource.

The amount of time which one has to perform a task is the amount of time it will take to complete the task. 
 



 

'life' 카테고리의 다른 글

우리은행 급여이체통장 수수료면제 유지방법  (0) 2011.01.11
세벌식 자판 배열을 사용하기 시작했습니다.  (0) 2010.06.23
신용 평점 영향 요소  (0) 2010.05.26
인감도장! 공짜~  (0) 2010.05.25
2010-05-23  (0) 2010.05.25
Latest update: 2011. 12. 6. 10:49
                                       *modeline* *vim:* *vi:* *ex:* *E520*
There are two forms of modelines.  The first form:
        [text]{white}{vi:|vim:|ex:}[white]{options}

[text]          any text or empty
{white}         at least one blank character (<Space> or <Tab>)
{vi:|vim:|ex:}  the string "vi:", "vim:" or "ex:"
[white]         optional white space
{options}       a list of option settings, separated with white space or ':',
                where each part between ':' is the argument for a ":set"
                command (can be empty)


Example:
   vi:noai:sw=3 ts=6 ~

The second form (this is compatible with some versions of Vi):
        
        [text]{white}{vi:|vim:|ex:}[white]se[t] {options}:[text]

[text]          any text or empty
{white}         at least one blank character (<Space> or <Tab>)
{vi:|vim:|ex:}  the string "vi:", "vim:" or "ex:"
[white]         optional white space 
se[t]           the string "set " or "se " (note the space)
{options}       a list of options, separated with white space, which is the
                argument for a ":set" command
:               a colon
[text]          any text or empty


Example:
   /* vim: set ai tw=75: */ ~

The white space before {vi:|vim:|ex:} is required.  This minimizes the chance
that a normal word like "lex:" is caught.  There is one exception: "vi:" and
"vim:" can also be at the start of the line (for compatibility with version
3.0).  Using "ex:" at the start of the line will be ignored (this could be
short for "example:").

적용이 안된다면, 아래 설정으로 on/off 할 수 있고, :e! 로 파일을 다시 읽으면 적용된다.

set modeline

or

se ml



'vim' 카테고리의 다른 글

vim - 여러 개 파일을 각각 탭으로 열기  (0) 2010.12.23
Latest update: 2011. 11. 29. 11:27