[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] /usr/bin/install cannot stat `./builds/unix/freetype-config'
From: |
Dirkjan Ochtman |
Subject: |
[ft] /usr/bin/install cannot stat `./builds/unix/freetype-config' |
Date: |
Mon, 13 Jan 2014 13:02:12 +0100 |
Hi there,
For our product at work, we build freetype from source, through a Makefile:
cd build/freetype-* && ./configure --prefix=$(PREFIX) && $(MAKE) install
This worked with freetype-2.4.10, but fails with 2.5.2:
/usr/bin/install: cannot stat `./builds/unix/freetype-config': No such
file or directory
make[1]: *** [install] Error 1
I did find bug #38235, but according to the comments there, it should
have been fixed before the 2.5.2 release. It seems to me like the UNIX
install target should probably make sure freetype-config gets build,
since it doesn't seem to be included in PROJECT_LIBRARY or any of its
precursors. I've come up with this, does that seem sensible?
--- builds/unix/install.mk.bak 2014-01-13 12:03:24.354191492 +0100
+++ builds/unix/install.mk 2014-01-13 12:03:33.902196154 +0100
@@ -28,7 +28,7 @@
# `$(includedir)/freetype2', which was the previous location of the header
# files up to version 2.5.0.
#
-install: $(PROJECT_LIBRARY)
+install: $(PROJECT_LIBRARY) all
$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
$(DESTDIR)$(libdir)/pkgconfig \
$(DESTDIR)$(includedir)/freetype2/config \
Cheers,
Dirkjan
- [ft] /usr/bin/install cannot stat `./builds/unix/freetype-config',
Dirkjan Ochtman <=