December 02, 2013 Make install failure | ||||
---|---|---|---|---|
| ||||
Making install in libdruntime make[3]: Entering directory `/home/jlquinn/d/gdc/dev/x86_64-unknown-linux-gnu/libphobos/libdruntime' make[4]: Entering directory `/home/jlquinn/d/gdc/dev/x86_64-unknown-linux-gnu/libphobos/libdruntime' /bin/bash ../../../../gcc-4.9-20131201/libphobos/../mkinstalldirs /home/jlquinn/d/lib/../lib64 /usr/bin/install -c libgdruntime.a /home/jlquinn/d/lib/../lib64 /home/jlquinn/d/x86_64-unknown-linux-gnu/bin/ranlib /home/jlquinn/d/lib/../lib64/libgdruntime.a for i in __entrypoint.di object.di; do \ /usr/bin/install -c -m 644 ../../../../gcc-4.9-20131201/libphobos/libdruntime/$i /home/jlquinn/d/include/d/4.9.0; \ done /usr/bin/install: cannot create regular file ‘/home/jlquinn/d/include/d/4.9.0’: No such file or directory /usr/bin/install: cannot create regular file ‘/home/jlquinn/d/include/d/4.9.0’: No such file or directory make[4]: *** [install-data-local] Error 1 make[4]: Leaving directory `/home/jlquinn/d/gdc/dev/x86_64-unknown-linux-gnu/libphobos/libdruntime' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/jlquinn/d/gdc/dev/x86_64-unknown-linux-gnu/libphobos/libdruntime' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/jlquinn/d/gdc/dev/x86_64-unknown-linux-gnu/libphobos' make[1]: *** [install-target-libphobos] Error 2 make[1]: Leaving directory `/home/jlquinn/d/gdc/dev' make: *** [install] Error 2 The following patch fixes it for me: diff --git a/libphobos/libdruntime/Makefile.am b/libphobos/libdruntime/Makefile.am index d5fbc9a..8ed6933 100644 --- a/libphobos/libdruntime/Makefile.am +++ b/libphobos/libdruntime/Makefile.am @@ -230,6 +230,7 @@ install-exec-local: libgdruntime.a $(RANLIB) $(DESTDIR)$(toolexeclibdir)/libgdruntime.a install-data-local: libgdruntime.a + $(mkinstalldirs) $(DESTDIR)$(gdc_include_dir) for i in __entrypoint.di object.di; do \ $(INSTALL_HEADER) $(srcdir)/$$i $(DESTDIR)$(gdc_include_dir); \ done Thanks Jerry |
Copyright © 1999-2021 by the D Language Foundation