티스토리 뷰

perl 에서 module 설치하는 방법
 
http://www.perlmonks.org/index.pl?node_id=128077#basics
 
Window 에서 설치
C:\> perl Makefile.PL
C:\> nmake
C:\> nmake test

참고:
만약 cygwin 의 link 프로그램이 visual studio 의 link 프로그램과 같이 설치되어 있는 경우에는 visual studio link 로 nmake 가 실행되어야 한다. 그렇지 않은 경우에는 link error 가 날 수 있다. 이 경우에는 Makefile 에서 $(LD) 를 찾아서 앞에 경로를 덧붙여 주자.
 
win32-api 에는 2개의 Makefile 이 존재한다.
- Win32-API-0.59\Makefile
- Win32-API-0.59\Callback\Makefile
2개의 link 경로를 모두 수정해 줘야 한다.
C:\> nmake install
댓글