I am trying to build FC 2.6.0 using MinGW on a Vista machine. The "configure" and "make" commands run perfectly but when I run "make install" it crashes at this point: C:/Windows/fonts: caching, new cache contents: 1159 fonts, 0 dirs C:/Users/Qu0ll/AppData/Local/Temp/fontconfig/cache: cleaning cache directory D:\MSYS\1.0\local\bin\fc-cache.exe: failed C:/Windows/fonts: failed to write cache make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' make: *** [install-recursive] Error 1 I first thought this might have something to do with Vista UAC but disabling that hasn''t helped. It appears that it''s trying to write to a folder on the C: drive and failing. Perhaps it needs admin privileges though I thought it would inherit those of the Windows user which is an administrator. Anyway, when I run the test program it fails the basic check. When I run fc-list on its own it says it can''t find the default configuration file. How can I resolve these issues? Thanks, -JCT -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freedesktop.org/archives/fontconfig/attachments/20090425/65ace2bb/attachment.htm
May be that it doesn''t have write rights. (failed to write cache) Make sure that the process runs as with administrative rights. On Sat, Apr 25, 2009 at 01:36, John C. Turnbull <ozemale at ozemail.com.au> wrote:> I am trying to build FC 2.6.0 using MinGW on a Vista machine. > > > > The ?configure? and ?make? commands run perfectly but when I run ?make > install? it crashes at this point: > > > > C:/Windows/fonts: caching, new cache contents: 1159 fonts, 0 dirs > > C:/Users/Qu0ll/AppData/Local/Temp/fontconfig/cache: cleaning cache directory > > D:\MSYS\1.0\local\bin\fc-cache.exe: failed > > C:/Windows/fonts: failed to write cache > > make[2]: *** [install-data-local] Error 1 > > make[2]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' > > make[1]: *** [install-am] Error 2 > > make[1]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' > > make: *** [install-recursive] Error 1 > > > > I first thought this might have something to do with Vista UAC but disabling > that hasn?t helped.? It appears that it?s trying to write to a folder on the > C: drive and failing.? Perhaps it needs admin privileges though I thought it > would inherit those of the Windows user which is an administrator. > > > > Anyway, when I run the test program it fails the basic check.? When I run > fc-list on its own it says it can?t find the default configuration file. > > > > How can I resolve these issues? > > > > Thanks, > > > > -JCT > > _______________________________________________ > Fontconfig mailing list > Fontconfig at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/fontconfig > >
----- Original Message ----- From: "John C. Turnbull" <ozemale at ozemail.com.au>> The "configure" and "make" commands run perfectly but when I run "make > install" it crashesWhat configure command did you run ? I''ve just tried building 2.6.0 on Vista with: ./configure --disable-shared --enable-static CPPFLAGS=-I/usr/local//include LDFLAGS=-L/usr/local/lib For me, the ''make install'' fails with: /bin/install: cannot stat `.libs/libfontconfig.dll.a'': No such file or directory But that happens after the static lib I successfully built has been installed into /usr/local/lib (and the header files installed into /usr/local/include), so the error is not of great consequence. (Apparently, the belief is that there''s also a dynamic build to be installed.) Once I know what you''re configure command was, I''ll try to emulate it here and see what happens. (Actually, that won''t get done until tomorrow night.) There''s a problem with the test suite on Windows, too. The first test passes, but the second culminates with: *** Test failed: Basic check *** output is in ''out'', expected output in ''out.expected'' FAIL: run-test.sh ==================1 of 1 tests failed ================== I''m using the source from http://fontconfig.org/release/fontconfig-2.6.0.tar.gz , btw. Cheers, Rob
Hi Nicolae, I tried running it as Administrator but the result is the same. Any other ideas? Thanks, John> -----Original Message----- > From: Nicolae Ghimbovschi [mailto:xfreebird at gmail.com] > Sent: Saturday, 25 April 2009 19:21 > To: John C. Turnbull > Cc: fontconfig at lists.freedesktop.org > Subject: Re: [Fontconfig] Problems installing 2.6.0 on Vista > > May be that it doesn''t have write rights. (failed to write cache) > Make sure that the process runs as with administrative rights. > > On Sat, Apr 25, 2009 at 01:36, John C. Turnbull > <ozemale at ozemail.com.au> wrote: > > I am trying to build FC 2.6.0 using MinGW on a Vista machine. > > > > > > > > The ?configure? and ?make? commands run perfectly but when I run > ?make > > install? it crashes at this point: > > > > > > > > C:/Windows/fonts: caching, new cache contents: 1159 fonts, 0 dirs > > > > C:/Users/Qu0ll/AppData/Local/Temp/fontconfig/cache: cleaning cache > directory > > > > D:\MSYS\1.0\local\bin\fc-cache.exe: failed > > > > C:/Windows/fonts: failed to write cache > > > > make[2]: *** [install-data-local] Error 1 > > > > make[2]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' > > > > make[1]: *** [install-am] Error 2 > > > > make[1]: Leaving directory `/home/Qu0ll/fontconfig-2.6.0'' > > > > make: *** [install-recursive] Error 1 > > > > > > > > I first thought this might have something to do with Vista UAC but > disabling > > that hasn?t helped.? It appears that it?s trying to write to a folder > on the > > C: drive and failing.? Perhaps it needs admin privileges though I > thought it > > would inherit those of the Windows user which is an administrator. > > > > > > > > Anyway, when I run the test program it fails the basic check.? When I > run > > fc-list on its own it says it can?t find the default configuration > file. > > > > > > > > How can I resolve these issues? > > > > > > > > Thanks, > > > > > > > > -JCT > > > > _______________________________________________ > > Fontconfig mailing list > > Fontconfig at lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/fontconfig > > > >
Hi Sisyphus, I ran "./configure" - that''s all - and that part works fine. Maybe your issue has something to do with static vs. shared libraries? I am also building 2.6.0. Does your error happen after the cache directory is cleaned (i.e. the step mine is failing at)? Also, it''s the first test that is failing on my machine but the output you showed is the same as I get for that test. Cheers, John> -----Original Message----- > From: Sisyphus [mailto:sisyphus1 at optusnet.com.au] > Sent: Saturday, 25 April 2009 19:29 > To: John C. Turnbull; fontconfig at lists.freedesktop.org > Subject: Re: [Fontconfig] Problems installing 2.6.0 on Vista > > > ----- Original Message ----- > From: "John C. Turnbull" <ozemale at ozemail.com.au> > > > The "configure" and "make" commands run perfectly but when I run > "make > > install" it crashes > > What configure command did you run ? > > I''ve just tried building 2.6.0 on Vista with: > > ./configure --disable-shared --enable-static CPPFLAGS=- > I/usr/local//include > LDFLAGS=-L/usr/local/lib > > For me, the ''make install'' fails with: > /bin/install: cannot stat `.libs/libfontconfig.dll.a'': No such file or > directory > > But that happens after the static lib I successfully built has been > installed into /usr/local/lib (and the header files installed into > /usr/local/include), so the error is not of great consequence. > (Apparently, > the belief is that there''s also a dynamic build to be installed.) > > Once I know what you''re configure command was, I''ll try to emulate it > here > and see what happens. (Actually, that won''t get done until tomorrow > night.) > > There''s a problem with the test suite on Windows, too. The first test > passes, but the second culminates with: > > *** Test failed: Basic check > *** output is in ''out'', expected output in ''out.expected'' > FAIL: run-test.sh > ==================> 1 of 1 tests failed > ==================> > I''m using the source from > http://fontconfig.org/release/fontconfig-2.6.0.tar.gz , btw. > > Cheers, > Rob >
----- Original Message ----- From: "John C. Turnbull" <ozemale at ozemail.com.au>> > I ran "./configure" - that''s all - and that part works fine. Maybe your > issue has something to do with static vs. shared libraries?Yes, looks like that''s the case. As soon as I deviate from "--disable-shared --enable-static" the make process fails because it reckons that I need a shared freetype library (dll), and I can''t get freetype to build anything other than a static library. (I''ll check for a more recent version of freetype source and see if that makes a difference, when I have the time .... but I''m not all that passionate about building dll''s anyway.) Cheers, Rob