[poppler] Trouble building with MinGW
Leo Alekseyev
dnquark at gmail.com
Mon Dec 19 21:16:51 PST 2011
Thanks for the suggestion. First, this alerted me to the fact that
mingw make is actually called mingw32-make (typing "make" used to
invoke cygwin's make).
Second, I see the problem: what breaks is the invocation of
libtool: link: (cd .libs/libpoppler.lax/libgoo.a && ar x
"/cygdrive/c/home/leo/tmp/poppler/poppler-0.18.2/poppler/../goo/.libs/libgoo.a")
/cygdrive/c/home/leo/tmp/poppler/poppler-0.18.2/poppler/../goo/.libs/libgoo.a:
No such file or directory
The reason is that ar doesn't understand unix-style path names (which
is surprising; I was under the impression that all mingw tools could
understand unix path names correctly). If anyone knows of a quick
workaround, I'd love to hear it.
2011/12/19 suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp>:
> Hi,
>
> Could you post "make V=1" result? It will generate the exact commands
> to be executed, so it would be helpful for the subscribers to guess
> what goes wrong.
>
> Regards,
> mpsuzuki
>
> Leo Alekseyev wrote:
>> Greetings all,
>> I tried compiling Poppler 0.18.1 and 0.18.2 under MinGW using the
>> following command line:
>> ./configure --disable-utils -disable-gtk-test --enable-poppler-glib
>> --prefix=/cygdrive/c/home/leo/pkg/mingw
>>
>> It fails:
>>
>> CXX XpdfPluginAPI.lo
>> CXXLD libpoppler.la
>> /cygdrive/c/home/leo/tmp/poppler/poppler-0.18.2/poppler/../goo/.libs/libgoo.a:
>> No such file or directory
>> C:\home\leo\pkg\mingw\bin\ar.exe: Makefile:797: recipe for target
>> `libpoppler.la' failed
>> make[3]: *** [libpoppler.la] Error 9
>>
>> However, the file
>> /cygdrive/c/home/leo/tmp/poppler/poppler-0.18.2/poppler/../goo/.libs/libgoo.a
>> is in fact present (it gets built by make earlier). Can someone point
>> me in the right direction in terms of fixing this?
>>
>> Thanks!
>> _______________________________________________
>> poppler mailing list
>> poppler at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/poppler
>
More information about the poppler
mailing list