[poppler] Any one compile poppler with mingw for windows?

Shen Liang shenzhuxi at gmail.com
Thu Sep 10 06:25:49 PDT 2009


For latest poppler from git, on Ubuntu, I do
./autogen --host=i586-mingw32msvc. Then I got:
..............
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for sys/stat.h... (cached) yes
checking for cairo blend modes support... no
checking for POPPLER_GLIB... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GDK... yes
checking for Qt headers... no
checking for Qt libraries... no
checking for POPPLER_QT4... no
checking for GTK_TEST... yes
checking for ABIWORD... yes
checking for LCMS... no
...............

Then after make I got
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for sys/stat.h... (cached) yes
checking for cairo blend modes support... no
checking for POPPLER_GLIB... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GDK... yes
checking for Qt headers... no
checking for Qt libraries... no
checking for POPPLER_QT4... no
checking for GTK_TEST... yes
checking for ABIWORD... yes
checking for LCMS... no
...........


On Thu, Sep 10, 2009 at 7:53 PM, Vincent Torri <vtorri at univ-evry.fr> wrote:

>
>
> On Thu, 10 Sep 2009, Shen Liang wrote:
>
>  For poppler 0.10.5, it said can't find libfreetype.la.
>>
>
> add in LDFLAGS the path where freetype lib is installed
>
>  For latest poppler from git, on Ubuntu, I do ./configure
>> --host=i586-mingw32msvc as you told me.
>> I got
>>
>> ./configure: line 22478: syntax error near unexpected token `FREETYPE,'
>> ./configure: line 22478: `PKG_CHECK_MODULES(FREETYPE, freetype2,'
>> make: *** [config.status] Error 2
>>
>
> add in PKG_CONFIG_PATH the path where the freetype2.pc is and don't forget
> to update the 'prefix' variable in freetype.pc.
>
> Vincent Torri
>



-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/poppler/attachments/20090910/34205153/attachment.html 


More information about the poppler mailing list