0

我在制作源代码并在 mac lion 上安装 2 个程序时遇到问题。
关于错误显示的任何线索,或我可以使用的替代转换工具?
我正在使用http://flexpaper.devaldi.com/default.jsp发布 pdf。

pdf2图像:

~/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'.
4

2 回答 2

1

在我的 Macfreetype2上,在

 /usr/local/

而不是在

 /opt/local
于 2012-02-26T20:44:01.227 回答
0

使用Homebrew安装 pdf2image 和 pdf2json:

冲泡安装pdf2image
冲泡安装pdf2json

它处理所有依赖项!

于 2012-08-02T14:22:23.400 回答