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

2009-09-10 Thread Albert Astals Cid
A Dijous, 10 de setembre de 2009, Shen Liang va escriure:
 Is it possible compile poppler with mingw+msys on windows or with mingw on
 linux?
 I git the latest source.
 When I compiled with mingw+msys, I always got error about freetype.
 
 I installed mingw 32 on Ubuntu, and run:
 
 export CC=i586-mingw32msvc-gcc
 export CXX=i586-mingw32msvc-g++
 export LD=i586-mingw32msvc-ld
 export AR=i586-mingw32msvc-ar
 export AS=i586-mingw32msvc-as
 export NM=i586-mingw32msvc-nm
 export STRIP=i586-mingw32msvc-strip
 export RANLIB=i586-mingw32msvc-ranlib
 export DLLTOOL=i586-mingw32msvc-dlltool
 export OBJDUMP=i586-mingw32msvc-objdump
 export RC=i586-mingw32msvc-windres
 
 after autogen.sh, ./configure and make, I compiled successfully, but it's
 still for linux not for windows.
 

Not me, poppler on windows is totally outside my scope of interest, i merge 
patches from time to time of people that reports problems but that's all.

Albert
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


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

2009-09-10 Thread Shen Liang
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 vto...@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
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


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

2009-09-09 Thread Shen Liang
Is it possible compile poppler with mingw+msys on windows or with mingw on
linux?
I git the latest source.
When I compiled with mingw+msys, I always got error about freetype.

I installed mingw 32 on Ubuntu, and run:

export CC=i586-mingw32msvc-gcc
export CXX=i586-mingw32msvc-g++
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export NM=i586-mingw32msvc-nm
export STRIP=i586-mingw32msvc-strip
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export RC=i586-mingw32msvc-windres

after autogen.sh, ./configure and make, I compiled successfully, but it's
still for linux not for windows.

-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


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

2009-09-09 Thread Vincent Torri


On Thu, 10 Sep 2009, Shen Liang wrote:

 Is it possible compile poppler with mingw+msys on windows or with mingw on
 linux?
 I git the latest source.
 When I compiled with mingw+msys, I always got error about freetype.

which error ?

 I installed mingw 32 on Ubuntu, and run:

 export CC=i586-mingw32msvc-gcc
 export CXX=i586-mingw32msvc-g++
 export LD=i586-mingw32msvc-ld
 export AR=i586-mingw32msvc-ar
 export AS=i586-mingw32msvc-as
 export NM=i586-mingw32msvc-nm
 export STRIP=i586-mingw32msvc-strip
 export RANLIB=i586-mingw32msvc-ranlib
 export DLLTOOL=i586-mingw32msvc-dlltool
 export OBJDUMP=i586-mingw32msvc-objdump
 export RC=i586-mingw32msvc-windres

 after autogen.sh, ./configure and make, I compiled successfully, but it's
 still for linux not for windows.

don't export all those vars and run:

./configure --host=i586-mingw32msvc

Be sure to have the required poppler dependencies for windows (the 
gnuwin32 project has some, I think)

Vincent Torri
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


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

2009-09-09 Thread Shen Liang
I got

cd .  /bin/sh /h/projects/poppler/poppler/missing --run autoconf
Can't locate object method path via package Autom4te::Request (perhaps
you forgot to load Autom4te::Request?) at /usr/bin/autom4te line 81.
make: *** [configure] Error 1

after autogen.sh and make with mingw+msys on windows.


On Thu, Sep 10, 2009 at 1:07 PM, Vincent Torri vto...@univ-evry.fr wrote:



 On Thu, 10 Sep 2009, Shen Liang wrote:

  Is it possible compile poppler with mingw+msys on windows or with mingw on
 linux?
 I git the latest source.
 When I compiled with mingw+msys, I always got error about freetype.


 which error ?

  I installed mingw 32 on Ubuntu, and run:

 export CC=i586-mingw32msvc-gcc
 export CXX=i586-mingw32msvc-g++
 export LD=i586-mingw32msvc-ld
 export AR=i586-mingw32msvc-ar
 export AS=i586-mingw32msvc-as
 export NM=i586-mingw32msvc-nm
 export STRIP=i586-mingw32msvc-strip
 export RANLIB=i586-mingw32msvc-ranlib
 export DLLTOOL=i586-mingw32msvc-dlltool
 export OBJDUMP=i586-mingw32msvc-objdump
 export RC=i586-mingw32msvc-windres

 after autogen.sh, ./configure and make, I compiled successfully, but it's
 still for linux not for windows.


 don't export all those vars and run:

 ./configure --host=i586-mingw32msvc

 Be sure to have the required poppler dependencies for windows (the gnuwin32
 project has some, I think)

 Vincent Torri




-- 
Help Si Chuan Students
帮助四川灾区学生
www.sichuanteachers.org
四川教师志愿者组织
___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler


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

2009-09-09 Thread Vincent Torri



On Thu, 10 Sep 2009, Shen Liang wrote:


I got

cd .  /bin/sh /h/projects/poppler/poppler/missing --run autoconf
Can't locate object method path via package Autom4te::Request (perhaps
you forgot to load Autom4te::Request?) at /usr/bin/autom4te line 81.
make: *** [configure] Error 1


you said that the error was related to freetype...

Vincent Torri



after autogen.sh and make with mingw+msys on windows.


On Thu, Sep 10, 2009 at 1:07 PM, Vincent Torri vto...@univ-evry.fr wrote:




On Thu, 10 Sep 2009, Shen Liang wrote:

 Is it possible compile poppler with mingw+msys on windows or with mingw on

linux?
I git the latest source.
When I compiled with mingw+msys, I always got error about freetype.



which error ?

 I installed mingw 32 on Ubuntu, and run:


export CC=i586-mingw32msvc-gcc
export CXX=i586-mingw32msvc-g++
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export AS=i586-mingw32msvc-as
export NM=i586-mingw32msvc-nm
export STRIP=i586-mingw32msvc-strip
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export RC=i586-mingw32msvc-windres

after autogen.sh, ./configure and make, I compiled successfully, but it's
still for linux not for windows.



don't export all those vars and run:

./configure --host=i586-mingw32msvc

Be sure to have the required poppler dependencies for windows (the gnuwin32
project has some, I think)

Vincent Torri





--
Help Si Chuan Students

www.sichuanteachers.org
ÿÿ

--
Ce message a ?t? v?rifi? par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ?t? trouv?.
Message d?livr? par le serveur de messagerie de l'Universit? d'Evry.

___
poppler mailing list
poppler@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler