There''s a minor problem when fontconfig is built with --disable-shared for MinGW. The install attempts to install the DLL anyway: libtool: install: i686-pc-mingw32-ranlib <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a /usr/bin/install -c .libs/libfontconfig.dll.a <snip>/mxe/usr/i686-pc-mingw32/lib /usr/bin/install: cannot stat ?.libs/libfontconfig.dll.a?: No such file or directory make[5]: *** [install-libtool-import-lib] Error 1 The workaround is to remove "install-data-local:.*,install-data-local:" from Makefile.in, but maybe this would not be too hard to fix before version 3. By the way, this problem predates 2.9.91. Mark
On 06/13/2012 10:26 AM, Mark Brand wrote:> There''s a minor problem when fontconfig is built with --disable-shared for > MinGW. The install attempts to install the DLL anyway: > > libtool: install: i686-pc-mingw32-ranlib > <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a > /usr/bin/install -c .libs/libfontconfig.dll.a <snip>/mxe/usr/i686-pc-mingw32/lib > /usr/bin/install: cannot stat ?.libs/libfontconfig.dll.a?: No such file or > directoryThat''s not a DLL. It''s a static library. At any rate, this can only be a libtool bug. What are the contents of your .libs/ directory? behdad
On Wed, 13 Jun 2012, Behdad Esfahbod wrote:> On 06/13/2012 10:26 AM, Mark Brand wrote: >> There''s a minor problem when fontconfig is built with --disable-shared for >> MinGW. The install attempts to install the DLL anyway: >> >> libtool: install: i686-pc-mingw32-ranlib >> <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a >> /usr/bin/install -c .libs/libfontconfig.dll.a <snip>/mxe/usr/i686-pc-mingw32/lib >> /usr/bin/install: cannot stat ??.libs/libfontconfig.dll.a??: No such file or >> directory > > That''s not a DLL. It''s a static library.no, it''s the import library Vincent Torri
Behdad Esfahbod wrote:> On 06/13/2012 10:26 AM, Mark Brand wrote: >> There''s a minor problem when fontconfig is built with --disable-shared for >> MinGW. The install attempts to install the DLL anyway: >> >> libtool: install: i686-pc-mingw32-ranlib >> <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a >> /usr/bin/install -c .libs/libfontconfig.dll.a <snip>/mxe/usr/i686-pc-mingw32/lib >> /usr/bin/install: cannot stat ?.libs/libfontconfig.dll.a?: No such file or >> directory > That''s not a DLL. It''s a static library.That''s actually a reference to a DLL stub (import library)?> > At any rate, this can only be a libtool bug. What are the contents of your > .libs/ directory?Since we configured with "--disable-shared" neither the DLL or the DLL stub is built. Only the static library libfontconfig.a is built. Mark
On 06/13/2012 10:31 AM, Vincent Torri wrote:> > > On Wed, 13 Jun 2012, Behdad Esfahbod wrote: > >> On 06/13/2012 10:26 AM, Mark Brand wrote: >>> There''s a minor problem when fontconfig is built with --disable-shared for >>> MinGW. The install attempts to install the DLL anyway: >>> >>> libtool: install: i686-pc-mingw32-ranlib >>> <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a >>> /usr/bin/install -c .libs/libfontconfig.dll.a >>> <snip>/mxe/usr/i686-pc-mingw32/lib >>> /usr/bin/install: cannot stat ??.libs/libfontconfig.dll.a??: No such file or >>> directory >> >> That''s not a DLL. It''s a static library. > > no, it''s the import libraryAh, I see. In which case, yes, seems like a fontconfig bug, and checking src/Makefile.am makes it clear... Agree, best to just remove those stuff. behdad> Vincent Torri
Thanks. fixed. On Wed, Jun 13, 2012 at 11:26 PM, Mark Brand <mabrand at mabrand.nl> wrote:> There''s a minor problem when fontconfig is built with --disable-shared for > MinGW. The install attempts to install the DLL anyway: > > libtool: install: i686-pc-mingw32-ranlib > <snip>/mxe/usr/i686-pc-mingw32/lib/libfontconfig.a > /usr/bin/install -c .libs/libfontconfig.dll.a > <snip>/mxe/usr/i686-pc-mingw32/lib > /usr/bin/install: cannot stat ?.libs/libfontconfig.dll.a?: No such file or > directory > make[5]: *** [install-libtool-import-lib] Error 1 > > The workaround is to remove "install-data-local:.*,install-data-local:" from > Makefile.in, but maybe this would not be too hard to fix before version 3. > > By the way, this problem predates 2.9.91. > > Mark > _______________________________________________ > Fontconfig mailing list > Fontconfig at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/fontconfig-- Akira TAGOH