首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在mac上安装pdf2image和pdf2json

在mac上安装pdf2image和pdf2json
EN

Stack Overflow用户
提问于 2012-01-03 12:51:36
回答 1查看 1.7K关注 0票数 0

我有问题,使源代码和安装的2个程序在mac的狮子。

有没有显示错误的线索,或者我可以使用的替代转换工具?

我正在使用http://flexpaper.devaldi.com/default.jsp发布pdfs。

pdf2image:

代码语言:javascript
复制
~/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:

代码语言:javascript
复制
~/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'.
EN

回答 1

Stack Overflow用户

发布于 2012-02-27 04:44:01

在我的苹果机上,freetype2

代码语言:javascript
复制
 /usr/local/

而不是在

代码语言:javascript
复制
 /opt/local
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8708054

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档