For latest poppler from git, on Ubuntu, I do ./autogen --host=i586-mingw32msvc. <div>Then I got:</div><div>..............<br><div><div>checking for FREETYPE... yes</div><div>checking for FONTCONFIG... yes</div><div>checking for CAIRO... yes</div>
<div>checking fcntl.h usability... yes</div><div>checking fcntl.h presence... yes</div><div>checking for fcntl.h... yes</div><div>checking sys/mman.h usability... no</div><div>checking sys/mman.h presence... no</div><div>
checking for sys/mman.h... no</div><div>checking for sys/stat.h... (cached) yes</div><div>checking for cairo blend modes support... no</div><div>checking for POPPLER_GLIB... yes</div><div>checking for glib-mkenums... /usr/bin/glib-mkenums</div>
<div>checking for gtkdoc-check... no</div><div>checking for gtkdoc-rebase... no</div><div>checking for gtkdoc-mkpdf... no</div><div>checking whether to build gtk-doc documentation... no</div><div>checking for GDK... yes</div>
<div>checking for Qt headers... no</div><div>checking for Qt libraries... no</div><div>checking for POPPLER_QT4... no</div><div>checking for GTK_TEST... yes</div><div>checking for ABIWORD... yes</div><div>checking for LCMS... no</div>
<div>...............</div><div><br></div><div>Then after make I got</div></div><div><div>checking for FREETYPE... yes</div><div>checking for FONTCONFIG... yes</div><div>checking for CAIRO... yes</div><div>checking fcntl.h usability... yes</div>
<div>checking fcntl.h presence... yes</div><div>checking for fcntl.h... yes</div><div>checking sys/mman.h usability... no</div><div>checking sys/mman.h presence... no</div><div>checking for sys/mman.h... no</div><div>checking for sys/stat.h... (cached) yes</div>
<div>checking for cairo blend modes support... no</div><div>checking for POPPLER_GLIB... yes</div><div>checking for glib-mkenums... /usr/bin/glib-mkenums</div><div>checking for gtkdoc-check... no</div><div>checking for gtkdoc-rebase... no</div>
<div>checking for gtkdoc-mkpdf... no</div><div>checking whether to build gtk-doc documentation... no</div><div>checking for GDK... yes</div><div>checking for Qt headers... no</div><div>checking for Qt libraries... no</div>
<div>checking for POPPLER_QT4... no</div><div>checking for GTK_TEST... yes</div><div>checking for ABIWORD... yes</div><div>checking for LCMS... no</div><div>...........</div><div><br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 7:53 PM, Vincent Torri <span dir="ltr"><<a href="mailto:vtorri@univ-evry.fr">vtorri@univ-evry.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
<br>
On Thu, 10 Sep 2009, Shen Liang wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For poppler 0.10.5, it said can't find <a href="http://libfreetype.la" target="_blank">libfreetype.la</a>.<br>
</blockquote>
<br></div>
add in LDFLAGS the path where freetype lib is installed<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For latest poppler from git, on Ubuntu, I do ./configure<br>
--host=i586-mingw32msvc as you told me.<br>
I got<br>
<br>
./configure: line 22478: syntax error near unexpected token `FREETYPE,'<br>
./configure: line 22478: `PKG_CHECK_MODULES(FREETYPE, freetype2,'<br>
make: *** [config.status] Error 2<br>
</blockquote>
<br></div>
add in PKG_CONFIG_PATH the path where the freetype2.pc is and don't forget to update the 'prefix' variable in freetype.pc.<br><font color="#888888">
<br>
Vincent Torri<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Help Si Chuan Students<br>帮助四川灾区学生<br><a href="http://www.sichuanteachers.org">www.sichuanteachers.org</a><br>四川教师志愿者组织<br>
</div></div></div>