2012-01-03 3 views
0

소스를 만들고 Mac 프로그램에서 2 개의 프로그램을 설치하는 데 문제가 있습니다.
표시 할 수있는 오류에 대한 단서 또는 사용할 수있는 대체 변환 도구가 있습니까?
나는 http://flexpaper.devaldi.com/default.jsp을 사용하여 pdfs를 게시하고 있습니다.Mac에서 pdf2image 및 pdf2json 설치

pdf2image :

~/Downloads/pdf2image-0.51 Tue Jan 03 12:36:04>make 
cd goo; make 
make[1]: Nothing to be done for `all'. 
cd fofi; make 
make[1]: Nothing to be done for `all'. 
cd splash; make 
make[1]: Nothing to be done for `all'. 
cd xpdf; make 
g++ -I/opt/local/include/freetype2 -I/opt/local -I/Users/Tagent1/freetype.win32/include/ -I/opt/local/lib/ -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I./../splash -I.   -o pdftops Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Outline.o Object.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o SplashOutputDev.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o pdftops.o \ 
     -L../goo -lGoo -L../splash -lsplash -lfreetype -lGoo -L../fofi -lfofi -L../goo -lGoo -lm 
ld: library not found for -lfreetype 
collect2: ld returned 1 exit status 
make[1]: *** [pdftops] Error 1 
make: *** [all] Error 2 

pdf2json :

내 맥에
~/Downloads/pdf2json-0.50-source Tue Jan 03 12:31:30>make 
cd goo; make 
make[1]: Nothing to be done for `all'. 
cd fofi; make 
make[1]: Nothing to be done for `all'. 
cd splash; make 
make[1]: Nothing to be done for `all'. 
cd xpdf; make 
make[1]: Nothing to be done for `all'. 
cd src; make 
make[1]: Nothing to be done for `all'. 

답변

1

, freetype2

/usr/local/ 

및하지에서

/opt/local 
0

사용 Homebrew는 pdf2image 및 pdf2json를 설치합니다 :

 
brew install pdf2image 
brew install pdf2json 

그것은 모든 의존성을 처리!